Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-octaveinttest
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-octaveinttest
Commits
36955972
Commit
36955972
authored
3 years ago
by
Daniel Hornung
Browse files
Options
Downloads
Patches
Plain Diff
STY: Style changes.
parent
c640558e
No related branches found
No related tags found
1 merge request
!3
ENH: Full functionality
Pipeline
#12969
failed
3 years ago
Stage: info
Stage: setup
Stage: build
Stage: test
Changes
4
Pipelines
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
test/cleanup.m
+2
-2
2 additions, 2 deletions
test/cleanup.m
test/test_files.m
+0
-6
0 additions, 6 deletions
test/test_files.m
test/test_query_retrieve.m
+2
-3
2 additions, 3 deletions
test/test_query_retrieve.m
test/test_transaction.m
+1
-1
1 addition, 1 deletion
test/test_transaction.m
with
5 additions
and
12 deletions
test/cleanup.m
+
2
−
2
View file @
36955972
This diff is collapsed.
Click to expand it.
test/test_files.m
+
0
−
6
View file @
36955972
...
@@ -76,11 +76,6 @@ function test_insert_file()
...
@@ -76,11 +76,6 @@ function test_insert_file()
end
end
download_result
=
c
.
download_file_by_single_id
(
F1_id
,
outfilename_1
);
download_result
=
c
.
download_file_by_single_id
(
F1_id
,
outfilename_1
);
disp
(
outfilename_1
);
disp
(
download_result
);
download_result
.
get_errors
()
download_result
.
get_warnings
()
fid_orig
=
fopen
(
filenames
{
1
},
"r"
);
fid_orig
=
fopen
(
filenames
{
1
},
"r"
);
fid_retr
=
fopen
(
outfilename_1
,
"r"
);
fid_retr
=
fopen
(
outfilename_1
,
"r"
);
[
data_orig
,
count_orig
]
=
fread
(
fid_orig
,
Inf
,
"*uint8"
);
[
data_orig
,
count_orig
]
=
fread
(
fid_orig
,
Inf
,
"*uint8"
);
...
@@ -94,7 +89,6 @@ function test_insert_file()
...
@@ -94,7 +89,6 @@ function test_insert_file()
% cleanup();
% cleanup();
end
end
% Utility functions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Utility functions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% print the messages into a cell
%% print the messages into a cell
...
...
This diff is collapsed.
Click to expand it.
test/test_query_retrieve.m
+
2
−
3
View file @
36955972
...
@@ -171,7 +171,6 @@ function test_execute_query_failure()
...
@@ -171,7 +171,6 @@ function test_execute_query_failure()
assertTrue
(
isempty
(
results
));
assertTrue
(
isempty
(
results
));
end
end
%% Utility functions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Utility functions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Return a struct with the IDs
%% Return a struct with the IDs
...
@@ -206,7 +205,7 @@ function ids = insert_data()
...
@@ -206,7 +205,7 @@ function ids = insert_data()
par
=
Parent
();
par
=
Parent
();
par
.
id
=
ids
.
RT1
;
par
.
id
=
ids
.
RT1
;
RT1
.
set_parents
({
par
})
% self-inheritance RT1 <|- RT1
RT1
.
set_parents
({
par
})
;
% self-inheritance RT1 <|- RT1
RT1
.
id
=
ids
.
RT1
;
RT1
.
id
=
ids
.
RT1
;
c
.
update
({
RT1
});
c
.
update
({
RT1
});
...
...
This diff is collapsed.
Click to expand it.
test/test_transaction.m
+
1
−
1
View file @
36955972
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