Browse Source

Mocks moved to a namespace.

main
offa 7 years ago
parent
commit
7830dcdb7d
4 changed files with 4 additions and 1 deletions
  1. +1
    -1
      test/CallMocks.h
  2. +1
    -0
      test/ScopeExitTest.cpp
  3. +1
    -0
      test/ScopeFailTest.cpp
  4. +1
    -0
      test/ScopeSuccessTest.cpp

+ 1
- 1
test/CallMocks.h View File



#include <trompeloeil.hpp> #include <trompeloeil.hpp>


namespace
namespace mock
{ {
struct CallMock struct CallMock
{ {

+ 1
- 0
test/ScopeExitTest.cpp View File

#include "CallMocks.h" #include "CallMocks.h"
#include <catch.hpp> #include <catch.hpp>


using namespace mock;
using namespace trompeloeil; using namespace trompeloeil;


namespace namespace

+ 1
- 0
test/ScopeFailTest.cpp View File

#include "CallMocks.h" #include "CallMocks.h"
#include <catch.hpp> #include <catch.hpp>


using namespace mock;
using namespace trompeloeil; using namespace trompeloeil;


namespace namespace

+ 1
- 0
test/ScopeSuccessTest.cpp View File

#include "CallMocks.h" #include "CallMocks.h"
#include <catch.hpp> #include <catch.hpp>


using namespace mock;
using namespace trompeloeil; using namespace trompeloeil;


namespace namespace

Loading…
Cancel
Save