Skip to content

Commit 8ffa055

Browse files
committed
Adding data file dropbox and s3 tests
1 parent eff2d69 commit 8ffa055

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
public class DataFileDropboxTest extends DataFileGenericTest {
2+
private static final String pathPrefix = "dropbox://test/";
3+
4+
@Override
5+
public String getFullPath(String thing) {
6+
return pathPrefix + thing;
7+
}
8+
}

src/test/java/DataFileS3Test.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
public class DataFileS3Test extends DataFileGenericTest {
2+
private static final String pathPrefix = "s3://james-what/"; // This could be an environment variable or something
3+
4+
@Override
5+
public String getFullPath(String thing) {
6+
return pathPrefix + thing;
7+
}
8+
}

0 commit comments

Comments
 (0)