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
186efecf
Verified
Commit
186efecf
authored
3 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
Update ccaosdb
parent
844cdf16
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
test/test_ccaosdb.cpp
+2
-4
2 additions, 4 deletions
test/test_ccaosdb.cpp
test/test_connection.cpp
+2
-2
2 additions, 2 deletions
test/test_connection.cpp
test/test_transaction.cpp
+2
-4
2 additions, 4 deletions
test/test_transaction.cpp
with
6 additions
and
10 deletions
test/test_ccaosdb.cpp
+
2
−
4
View file @
186efecf
...
...
@@ -22,17 +22,15 @@
#include
"caosdb/message_code.h"
// for ENTITY_DOES_NOT_EXIST
#include
"caosdb/status_code.h"
// for GO_ON, StatusCode
#include
"ccaosdb.h"
// for caosdb_connection_...
#include
<boost/filesystem/operations.hpp>
// for remove
#include
<boost/filesystem/path.hpp>
// for path
#include
<boost/filesystem/path_traits.hpp>
// for filesystem
#include
<cstring>
// for strcmp
#include
<filesystem>
// for remove
#include
<gtest/gtest-message.h>
// for Message
#include
<gtest/gtest-test-part.h>
// for TestPartResult
#include
<gtest/gtest_pred_impl.h>
// for EXPECT_EQ, TestInfo
#include
<iostream>
// for operator<<, endl
#include
<string>
// for allocator, string
namespace
fs
=
boo
st
::
filesystem
;
namespace
fs
=
st
d
::
filesystem
;
class
test_ccaosdb
:
public
::
testing
::
Test
{
protected:
fs
::
path
test_upload_file_1
;
...
...
This diff is collapsed.
Click to expand it.
test/test_connection.cpp
+
2
−
2
View file @
186efecf
...
...
@@ -18,7 +18,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#include
"boost/filesystem/path.hpp"
// for path
#include
"caosdb/authentication.h"
// for PlainPasswordAuthenticator
#include
"caosdb/certificate_provider.h"
// for PemFileCertificateProvider
#include
"caosdb/configuration.h"
// for InsecureConnectionConfigura...
...
...
@@ -28,7 +27,8 @@
#include
"caosdb/info.h"
// for VersionInfo
#include
"caosdb/utility.h"
// for get_env_fallback
#include
"caosdb_test_utility.h"
// for EXPECT_THROW_MESSAGE
#include
"gtest/gtest_pred_impl.h"
// NOLINT TODO how to fix this? for Test, TestInfo, TEST, EXPEC...
#include
<filesystem>
// for path
#include
<gtest/gtest_pred_impl.h>
// NOLINT TODO how to fix this? for Test, TestInfo, TEST, EXPEC...
#include
<gtest/gtest-message.h>
// for Message
#include
<gtest/gtest-test-part.h>
// for SuiteApiResolver, TestPartR...
#include
<memory>
// for allocator, unique_ptr, __sh...
...
...
This diff is collapsed.
Click to expand it.
test/test_transaction.cpp
+
2
−
4
View file @
186efecf
...
...
@@ -29,11 +29,9 @@
#include
"caosdb/transaction.h"
// for Entity, Transaction
#include
"caosdb/transaction_status.h"
// for TransactionStatus
#include
"caosdb/value.h"
// for Value
#include
<boost/filesystem/operations.hpp>
// for remove
#include
<boost/filesystem/path.hpp>
// for path
#include
<boost/filesystem/path_traits.hpp>
// for filesystem
#include
<cstddef>
// for size_t
#include
<cstdint>
// for int64_t, int32_t
#include
<filesystem>
// for path
#include
<gtest/gtest-message.h>
// for Message
#include
<gtest/gtest-test-part.h>
// for TestPartResult
#include
<gtest/gtest_pred_impl.h>
// for AssertionResult
...
...
@@ -45,7 +43,7 @@
#include
<string>
// for string, operator+
#include
<vector>
// for vector, operator!=
namespace
fs
=
boo
st
::
filesystem
;
namespace
fs
=
st
d
::
filesystem
;
namespace
caosdb
::
transaction
{
using
caosdb
::
entity
::
AtomicDataType
;
using
caosdb
::
entity
::
Entity
;
...
...
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