Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
StoragePlugin4Rosetta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Digital Preservation
StoragePlugin4Rosetta
Commits
5c3cce7f
Commit
5c3cce7f
authored
2 years ago
by
Andreas Romeyke
Browse files
Options
Downloads
Patches
Plain Diff
- refactoring, use assertEquals instead String.equals
parent
cbc9512c
No related branches found
No related tags found
No related merge requests found
Pipeline
#3379
passed
2 years ago
Stage: build
Stage: test
Stage: packaging
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/org/slub/rosetta/dps/repository/plugin/storage/nfs/TestSLUBStoragePlugin.java
+2
-2
2 additions, 2 deletions
.../repository/plugin/storage/nfs/TestSLUBStoragePlugin.java
with
2 additions
and
2 deletions
java/org/slub/rosetta/dps/repository/plugin/storage/nfs/TestSLUBStoragePlugin.java
+
2
−
2
View file @
5c3cce7f
...
...
@@ -7,7 +7,7 @@ import org.junit.runners.JUnit4;
import
java.io.File
;
import
java.util.HashMap
;
import
static
org
.
junit
.
Assert
.
assert
True
;
import
static
org
.
junit
.
Assert
.
assert
Equals
;
/**
* Tests for {@link org.slub.rosetta.dps.repository.plugin.storage.nfs.SLUBStoragePlugin}.
...
...
@@ -27,7 +27,7 @@ public class TestSLUBStoragePlugin {
// TODO:
File
calced_path
=
mock
.
getStreamDirectory
(
"foo"
,
"bar"
);
//System.out.println("getStreamDirectory:"+ calced_path.getName()+ "\n");
assert
True
(
"getStreamDirectory test"
,
calced_path
.
getName
()
.
equals
(
"bar"
)
);
assert
Equals
(
"getStreamDirectory test"
,
"bar"
,
calced_path
.
getName
());
}
/*
...
...
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