Skip to content
Snippets Groups Projects
Commit 47ebc8ac authored by cramakri's avatar cramakri
Browse files

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
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment