Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cppinttest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-cppinttest
Commits
2a9d3221
Commit
2a9d3221
authored
8 months ago
by
Joscha Schmiedt
Browse files
Options
Downloads
Patches
Plain Diff
Rename CMakeLists.txt
parent
c6c1b55e
No related branches found
No related tags found
2 merge requests
!41
Release 0.3.0
,
!36
Rename cppinttest
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CMakeLists.txt
+2
-2
2 additions, 2 deletions
CMakeLists.txt
test/CMakeLists.txt
+5
-8
5 additions, 8 deletions
test/CMakeLists.txt
test/caosdb_test_utility.h
+1
-1
1 addition, 1 deletion
test/caosdb_test_utility.h
test/test_clinkahead.cpp
+0
-0
0 additions, 0 deletions
test/test_clinkahead.cpp
with
8 additions
and
11 deletions
CMakeLists.txt
+
2
−
2
View file @
2a9d3221
#
#
# 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 Timm Fitschen <t.fitschen@indiscale.com>
# Copyright (C) 2021 IndiScale GmbH <info@indiscale.com>
# Copyright (C) 2021 IndiScale GmbH <info@indiscale.com>
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
cmake_minimum_required
(
VERSION 3.13
)
cmake_minimum_required
(
VERSION 3.13
)
project
(
lib
caosdb
_inttests
project
(
lib
linkahead
_inttests
DESCRIPTION
"Integration tests for the C++ client libraries of the CaosDB project which run against the CaosDB server."
DESCRIPTION
"Integration tests for the C++ client libraries of the CaosDB project which run against the CaosDB server."
LANGUAGES CXX
)
LANGUAGES CXX
)
...
...
This diff is collapsed.
Click to expand it.
test/CMakeLists.txt
+
5
−
8
View file @
2a9d3221
#
#
# 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 Timm Fitschen <t.fitschen@indiscale.com>
# Copyright (C) 2021 IndiScale GmbH <info@indiscale.com>
# Copyright (C) 2021 IndiScale GmbH <info@indiscale.com>
...
@@ -27,7 +27,7 @@ set(test_cases
...
@@ -27,7 +27,7 @@ set(test_cases
test_list_properties
test_list_properties
test_properties
test_properties
test_transaction
test_transaction
test_c
caosdb
test_c
linkahead
test_issues
test_issues
test_user
test_user
test_select
test_select
...
@@ -102,7 +102,7 @@ endif()
...
@@ -102,7 +102,7 @@ endif()
# add special cmake functions for gtest
# add special cmake functions for gtest
include
(
GoogleTest REQUIRED
)
include
(
GoogleTest REQUIRED
)
find_package
(
caosdb
)
find_package
(
linkahead
)
find_package
(
GTest
)
find_package
(
GTest
)
find_package
(
gRPC
)
find_package
(
gRPC
)
find_package
(
protobuf
)
find_package
(
protobuf
)
...
@@ -114,11 +114,8 @@ foreach (i RANGE "${len_test_cases}")
...
@@ -114,11 +114,8 @@ foreach (i RANGE "${len_test_cases}")
list
(
GET test_cases
${
i
}
test_case_name
)
list
(
GET test_cases
${
i
}
test_case_name
)
add_executable
(
${
test_case_name
}
${
test_case_name
}
.cpp
)
add_executable
(
${
test_case_name
}
${
test_case_name
}
.cpp
)
target_link_libraries
(
${
test_case_name
}
PRIVATE
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
}
target_include_directories
(
${
test_case_name
}
PUBLIC
${
CMAKE_CURRENT_SOURCE_DIR
}
)
PUBLIC
${
CMAKE_CURRENT_SOURCE_DIR
}
)
if
(
LINTING
)
if
(
LINTING
)
...
@@ -129,5 +126,5 @@ foreach (i RANGE "${len_test_cases}")
...
@@ -129,5 +126,5 @@ foreach (i RANGE "${len_test_cases}")
endif
()
endif
()
gtest_discover_tests
(
${
test_case_name
}
gtest_discover_tests
(
${
test_case_name
}
PROPERTIES
PROPERTIES
LABELS
"
caosdb
-cpplib-int-tests"
)
LABELS
"
linkahead
-cpplib-int-tests"
)
endforeach
()
endforeach
()
This diff is collapsed.
Click to expand it.
test/caosdb_test_utility.h
+
1
−
1
View file @
2a9d3221
/*
/*
*
*
* 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 Timm Fitschen <t.fitschen@indiscale.com>
* Copyright (C) 2021 IndiScale GmbH <info@indiscale.com>
* Copyright (C) 2021 IndiScale GmbH <info@indiscale.com>
...
...
This diff is collapsed.
Click to expand it.
test/test_c
caosdb
.cpp
→
test/test_c
linkahead
.cpp
+
0
−
0
View file @
2a9d3221
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment