Browse Source

Remove fakeit and use catch header only

master
Jørgen Lien Sellæg 9 years ago
parent
commit
9b150d0bde
  1. 25395
      toREST/lib/Catch/catch.hpp
  2. 2
      toREST/tests/http_test.cpp
  3. 2
      toREST/tests/include/ServerContext.hpp
  4. 2
      toREST/tests/session_test.cpp
  5. 1
      toREST/tests/stubs/SessionContext.cpp
  6. 2
      toREST/tests/test.cpp
  7. 2
      toREST/tests/torrents_test.cpp

25395
toREST/lib/Catch/fakeit.hpp → toREST/lib/Catch/catch.hpp

File diff suppressed because it is too large Load Diff

2
toREST/tests/http_test.cpp

@ -1,4 +1,4 @@
#include <Catch/fakeit.hpp>
#include <Catch/catch.hpp>
#include <http.hpp>
using namespace std;

2
toREST/tests/include/ServerContext.hpp

@ -1,7 +1,7 @@
#ifndef _TR_TEST_SERVER_CONTEXT_HPP_
#define _TR_TEST_SERVER_CONTEXT_HPP_
#include <Catch/fakeit.hpp>
#include <Catch/catch.hpp>
#include <json.hpp>
#include <sstream>
#include <unordered_map>

2
toREST/tests/session_test.cpp

@ -1,4 +1,4 @@
#include <Catch/fakeit.hpp>
#include <Catch/catch.hpp>
#include <ServerContext.hpp>
#include <SessionContext.hpp>
#include <session.hpp>

1
toREST/tests/stubs/SessionContext.cpp

@ -1,5 +1,6 @@
#include <ServerContext.hpp>
#include <SessionContext.hpp>
#include <Catch/catch.hpp>
#include <vector>
void TestSessionSettings::set_int(int type, int value) {

2
toREST/tests/test.cpp

@ -1,2 +1,2 @@
#define CATCH_CONFIG_MAIN
#include <Catch/fakeit.hpp>
#include <Catch/catch.hpp>

2
toREST/tests/torrents_test.cpp

@ -1,4 +1,4 @@
#include <Catch/fakeit.hpp>
#include <Catch/catch.hpp>
#include <ConfigContext.hpp>
#include <ServerContext.hpp>
#include <SessionContext.hpp>

Loading…
Cancel
Save