Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-julialib
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-julialib
Commits
8fadd682
Commit
8fadd682
authored
3 years ago
by
florian
Browse files
Options
Downloads
Patches
Plain Diff
STY: autoformat
parent
cdb670c0
No related branches found
No related tags found
1 merge request
!4
ENH: Add minimal functionality
Pipeline
#10909
failed
3 years ago
Stage: info
Stage: code-style
Stage: setup
Stage: test
Stage: deploy
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/CaosDB.jl
+2
-2
2 additions, 2 deletions
src/CaosDB.jl
src/Connection.jl
+4
-4
4 additions, 4 deletions
src/Connection.jl
test/runtests.jl
+7
-3
7 additions, 3 deletions
test/runtests.jl
with
13 additions
and
9 deletions
src/CaosDB.jl
+
2
−
2
View file @
8fadd682
...
...
@@ -63,7 +63,7 @@ function evaluate_return_code(code::Cint)
(
:
caosdb_get_status_description
,
CaosDB
.
library_name
),
Cstring
,
(
Cint
,),
code
code
,
)
throw
(
GenericCaosDBException
(
unsafe_string
(
msg
),
code
))
end
...
...
This diff is collapsed.
Click to expand it.
src/Connection.jl
+
4
−
4
View file @
8fadd682
This diff is collapsed.
Click to expand it.
test/runtests.jl
+
7
−
3
View file @
8fadd682
...
...
@@ -35,7 +35,11 @@ using CaosDB
@testset
"TestExceptions"
begin
@test
CaosDB
.
Exceptions
.
evaluate_return_code
(
Cint
(
0
))
==
nothing
@test_throws
CaosDB
.
Exceptions
.
CaosDBException
CaosDB
.
Exceptions
.
evaluate_return_code
(
Cint
(
14
))
@test_throws
CaosDB
.
Exceptions
.
GenericCaosDBException
CaosDB
.
Exceptions
.
evaluate_return_code
(
Cint
(
14
))
@test_throws
CaosDB
.
Exceptions
.
CaosDBException
CaosDB
.
Exceptions
.
evaluate_return_code
(
Cint
(
14
),
)
@test_throws
CaosDB
.
Exceptions
.
GenericCaosDBException
CaosDB
.
Exceptions
.
evaluate_return_code
(
Cint
(
14
),
)
end
end
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