From 2a9d3221b7e489dfcade821d9c30d8a49576057c Mon Sep 17 00:00:00 2001 From: Joscha Schmiedt <joscha@schmiedt.dev> Date: Tue, 3 Sep 2024 11:10:41 +0200 Subject: [PATCH] Rename CMakeLists.txt --- CMakeLists.txt | 4 ++-- test/CMakeLists.txt | 13 +++++-------- test/caosdb_test_utility.h | 2 +- test/{test_ccaosdb.cpp => test_clinkahead.cpp} | 0 4 files changed, 8 insertions(+), 11 deletions(-) rename test/{test_ccaosdb.cpp => test_clinkahead.cpp} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f9f58f..0ae868e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ # -# This file is a part of the CaosDB Project. +# This file is a part of the LinkAhead Project. # # Copyright (C) 2021 Timm Fitschen <t.fitschen@indiscale.com> # Copyright (C) 2021 IndiScale GmbH <info@indiscale.com> @@ -20,7 +20,7 @@ cmake_minimum_required(VERSION 3.13) -project(libcaosdb_inttests +project(liblinkahead_inttests DESCRIPTION "Integration tests for the C++ client libraries of the CaosDB project which run against the CaosDB server." LANGUAGES CXX) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 1b89cfd..4c10d0d 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,5 +1,5 @@ # -# This file is a part of the CaosDB Project. +# This file is a part of the LinkAhead Project. # # Copyright (C) 2021 Timm Fitschen <t.fitschen@indiscale.com> # Copyright (C) 2021 IndiScale GmbH <info@indiscale.com> @@ -27,7 +27,7 @@ set(test_cases test_list_properties test_properties test_transaction - test_ccaosdb + test_clinkahead test_issues test_user test_select @@ -102,7 +102,7 @@ endif() # add special cmake functions for gtest include(GoogleTest REQUIRED) -find_package(caosdb) +find_package(linkahead) find_package(GTest) find_package(gRPC) find_package(protobuf) @@ -114,11 +114,8 @@ foreach (i RANGE "${len_test_cases}") list(GET test_cases ${i} test_case_name) add_executable(${test_case_name} ${test_case_name}.cpp) target_link_libraries(${test_case_name} PRIVATE - caosdb::caosdb gtest::gtest grpc::grpc protobuf::protobuf + linkahead::linkahead gtest::gtest grpc::grpc protobuf::protobuf ) - if("${CMAKE_BUILD_TYPE}" MATCHES "Debug") - target_link_libraries(${test_case_name} PRIVATE caosdb_grpc) - endif() target_include_directories(${test_case_name} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) if(LINTING) @@ -129,5 +126,5 @@ foreach (i RANGE "${len_test_cases}") endif() gtest_discover_tests(${test_case_name} PROPERTIES - LABELS "caosdb-cpplib-int-tests") + LABELS "linkahead-cpplib-int-tests") endforeach () diff --git a/test/caosdb_test_utility.h b/test/caosdb_test_utility.h index 7c29f90..d7779dc 100644 --- a/test/caosdb_test_utility.h +++ b/test/caosdb_test_utility.h @@ -1,6 +1,6 @@ /* * - * This file is a part of the CaosDB Project. + * This file is a part of the LinkAhead Project. * * Copyright (C) 2021 Timm Fitschen <t.fitschen@indiscale.com> * Copyright (C) 2021 IndiScale GmbH <info@indiscale.com> diff --git a/test/test_ccaosdb.cpp b/test/test_clinkahead.cpp similarity index 100% rename from test/test_ccaosdb.cpp rename to test/test_clinkahead.cpp -- GitLab