Sfoglia il codice sorgente

moved transport layer tests to its own directory

Strobel, Stefan | Friedrich Lütze GmbH 1 anno fa
parent
commit
fc1353b999

+ 1 - 1
makefile

@@ -88,7 +88,7 @@ INTEGRATIONTEST_SOURCES :=  test/integrationtest/test_main.cpp
                             test/integrationtest/test_integration_help.cpp
 
 INTEGRATIONTEST_TRANSPORT_SOURCES  :=  $(INTEGRATIONTEST_SOURCES)                           \
-                                       test/integrationtest/test_integration_transport.cpp
+                                       test/integrationtest_transport/test_integration_transport.cpp
 INTEGRATIONTEST_AUTH_SOURCES := test/integrationtest_auth/test_main.cpp                 \
                                 test/integrationtest_auth/test_integration_auth.cpp
 

+ 1 - 1
test/integrationtest/test_integration_transport.cpp

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2021 Stefan Strobel <stefan.strobel@shimatta.net>
+ * Copyright (c) 2021 - 2024 Stefan Strobel <stefan.strobel@shimatta.net>
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this

+ 11 - 0
test/integrationtest_transport/test_main.cpp

@@ -0,0 +1,11 @@
+// 010-TestCase.cpp
+
+// Let Catch provide main():
+#define CATCH_CONFIG_MAIN
+
+#include "test/framework/catch.hpp"
+extern "C" {
+#include "test/framework/fff.h"
+DEFINE_FFF_GLOBALS
+}
+