Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
47ebc8ac
Commit
47ebc8ac
authored
14 years ago
by
cramakri
Browse files
Options
Downloads
Patches
Plain Diff
MINOR: Made path for test work even if the test is run from the screening project.
SVN: 16655
parent
2dc96517
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
datastore_server/sourceTest/java/ch/systemsx/cisd/openbis/dss/generic/shared/api/v1/FileInfoDssBuilderTest.java
+4
-2
4 additions, 2 deletions
...bis/dss/generic/shared/api/v1/FileInfoDssBuilderTest.java
with
4 additions
and
2 deletions
datastore_server/sourceTest/java/ch/systemsx/cisd/openbis/dss/generic/shared/api/v1/FileInfoDssBuilderTest.java
+
4
−
2
View file @
47ebc8ac
...
...
@@ -31,7 +31,8 @@ public class FileInfoDssBuilderTest extends AssertJUnit
@Test
public
void
testFileInfoBuilderOnDir
()
throws
IOException
{
String
root
=
"sourceTest/java/ch/systemsx/cisd/openbis/dss/generic/shared/api/v1"
;
String
root
=
"../datastore_server/sourceTest/java/ch/systemsx/cisd/openbis/dss/generic/shared/api/v1"
;
FileInfoDssBuilder
builder
=
new
FileInfoDssBuilder
(
root
,
root
);
ArrayList
<
FileInfoDssDTO
>
list
=
new
ArrayList
<
FileInfoDssDTO
>();
File
requestedFile
=
new
File
(
root
);
...
...
@@ -43,7 +44,8 @@ public class FileInfoDssBuilderTest extends AssertJUnit
@Test
public
void
testFileInfoBuilderOnDirWithTrailingSlash
()
throws
IOException
{
String
root
=
"sourceTest/java/ch/systemsx/cisd/openbis/dss/generic/shared/api/v1/"
;
String
root
=
"../datastore_server/sourceTest/java/ch/systemsx/cisd/openbis/dss/generic/shared/api/v1/"
;
FileInfoDssBuilder
builder
=
new
FileInfoDssBuilder
(
root
,
root
);
ArrayList
<
FileInfoDssDTO
>
list
=
new
ArrayList
<
FileInfoDssDTO
>();
File
requestedFile
=
new
File
(
root
);
...
...
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