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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-cppinttest
Commits
a8ff219c
Commit
a8ff219c
authored
3 years ago
by
Henrik tom Wörden
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: rename file path to remote path
parent
6b87d2fa
No related branches found
No related tags found
No related merge requests found
Pipeline
#12675
failed
3 years ago
Stage: info
Stage: setup
Stage: build
Stage: test
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/test_ccaosdb.cpp
+2
-2
2 additions, 2 deletions
test/test_ccaosdb.cpp
test/test_transaction.cpp
+2
-2
2 additions, 2 deletions
test/test_transaction.cpp
with
4 additions
and
4 deletions
test/test_ccaosdb.cpp
+
2
−
2
View file @
a8ff219c
...
@@ -619,7 +619,7 @@ TEST_F(test_ccaosdb, test_up_n_download_file) {
...
@@ -619,7 +619,7 @@ TEST_F(test_ccaosdb, test_up_n_download_file) {
caosdb_entity_entity_set_role
(
&
original_entity
,
"FILE"
);
caosdb_entity_entity_set_role
(
&
original_entity
,
"FILE"
);
caosdb_entity_entity_set_local_path
(
&
original_entity
,
caosdb_entity_entity_set_local_path
(
&
original_entity
,
test_upload_file_1
.
c_str
());
test_upload_file_1
.
c_str
());
caosdb_entity_entity_set_
fil
e_path
(
&
original_entity
,
"/some/file"
);
caosdb_entity_entity_set_
remot
e_path
(
&
original_entity
,
"/some/file"
);
caosdb_transaction_transaction
insert_transaction
;
caosdb_transaction_transaction
insert_transaction
;
caosdb_connection_connection_create_transaction
(
&
connection
,
caosdb_connection_connection_create_transaction
(
&
connection
,
...
@@ -641,7 +641,7 @@ TEST_F(test_ccaosdb, test_up_n_download_file) {
...
@@ -641,7 +641,7 @@ TEST_F(test_ccaosdb, test_up_n_download_file) {
caosdb_entity_create_entity
(
&
download_entity
);
caosdb_entity_create_entity
(
&
download_entity
);
caosdb_entity_entity_set_role
(
&
download_entity
,
"FILE"
);
caosdb_entity_entity_set_role
(
&
download_entity
,
"FILE"
);
caosdb_entity_entity_set_local_path
(
&
download_entity
,
"lol"
);
caosdb_entity_entity_set_local_path
(
&
download_entity
,
"lol"
);
caosdb_entity_entity_set_
fil
e_path
(
&
download_entity
,
"/some/file"
);
caosdb_entity_entity_set_
remot
e_path
(
&
download_entity
,
"/some/file"
);
caosdb_transaction_transaction
retrieve_transaction_1
;
caosdb_transaction_transaction
retrieve_transaction_1
;
caosdb_connection_connection_create_transaction
(
&
connection
,
caosdb_connection_connection_create_transaction
(
&
connection
,
...
...
This diff is collapsed.
Click to expand it.
test/test_transaction.cpp
+
2
−
2
View file @
a8ff219c
...
@@ -888,7 +888,7 @@ TEST_F(test_transaction, test_file_upload) {
...
@@ -888,7 +888,7 @@ TEST_F(test_transaction, test_file_upload) {
Entity
file
;
Entity
file
;
file
.
SetRole
(
Role
::
FILE
);
file
.
SetRole
(
Role
::
FILE
);
file
.
Set
Fil
ePath
(
"test.txt"
);
file
.
Set
Remot
ePath
(
"test.txt"
);
file
.
SetLocalPath
(
test_upload_file_1
);
file
.
SetLocalPath
(
test_upload_file_1
);
auto
insert_transaction
(
connection
->
CreateTransaction
());
auto
insert_transaction
(
connection
->
CreateTransaction
());
...
@@ -925,7 +925,7 @@ TEST_F(test_transaction, test_file_up_n_download) {
...
@@ -925,7 +925,7 @@ TEST_F(test_transaction, test_file_up_n_download) {
Entity
file
;
Entity
file
;
file
.
SetRole
(
Role
::
FILE
);
file
.
SetRole
(
Role
::
FILE
);
file
.
Set
Fil
ePath
(
"test.txt"
);
file
.
Set
Remot
ePath
(
"test.txt"
);
file
.
SetLocalPath
(
test_upload_file_1
);
file
.
SetLocalPath
(
test_upload_file_1
);
auto
insert_transaction
(
connection
->
CreateTransaction
());
auto
insert_transaction
(
connection
->
CreateTransaction
());
...
...
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