Moved API tests to tests/api.

This commit is contained in:
tastytea 2019-04-29 17:59:34 +02:00
parent 761246c03b
commit e8eab3b947
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
39 changed files with 39 additions and 39 deletions

View File

@ -1,5 +1,5 @@
include(CTest)
file(GLOB sources_tests tests/test_*.cpp)
file(GLOB sources_tests tests/test_*.cpp tests/*/test_*.cpp)
find_package(Catch2)
if(Catch2_FOUND) # Catch 2.x

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/token.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/account.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -19,7 +19,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/relationship.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/relationship.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/account.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/account.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -19,7 +19,7 @@
#include <catch.hpp>
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/relationship.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/status.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -19,7 +19,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/relationship.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/relationship.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/relationship.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/relationship.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/account.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/account.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/account.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/application.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/application.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/account.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/emoji.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -19,7 +19,7 @@
#include <catch.hpp>
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/account.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/status.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/filter.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/filter.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -19,7 +19,7 @@
#include <catch.hpp>
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -19,7 +19,7 @@
#include <catch.hpp>
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -19,7 +19,7 @@
#include <catch.hpp>
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/instance.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/list.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/list.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/account.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/attachment.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/attachment.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/status.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/status.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -20,7 +20,7 @@
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "easy/entities/account.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;

View File

@ -19,7 +19,7 @@
#include <catch.hpp>
#include "mastodon-cpp.hpp"
#include "easy/easy.hpp"
#include "environment_variables.hpp"
#include "../environment_variables.hpp"
using namespace Mastodon;