Skip to content

Commit

Permalink
address brian's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
johnyangk committed May 19, 2015
1 parent b0e923a commit f7c1649
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public void testWorkingDirectory() throws IOException {
assertEquals(ITUtils.getTestDir() + "/" + file, fileStatuses[0].getPath().toUri().getPath());

// Clean up to avoid conflicts with other tests
assertTrue(surfFs.delete(file, true));
assertTrue("delete() must return true, as the file should be found", surfFs.delete(file, true));
}

private void testGetFileStatusOnDir(final String path) throws IOException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private void testListStatusOfDir(final Path dirPath) throws IOException {
tested = true;
}
}
assertTrue(tested);
assertTrue("A filestatus whose path is ABSPATH must be tested", tested);
}

private void testListStatusOfFile(final Path filePath) throws IOException {
Expand All @@ -119,7 +119,7 @@ private void testListStatusOfFile(final Path filePath) throws IOException {
tested = true;
}
}
assertTrue(tested);
assertTrue("A filestatus whose path is ABSPATH must be tested", tested);
}

private void testFileStatusOfTestFile(final FileStatus fileStatus) throws IOException {
Expand Down

0 comments on commit f7c1649

Please sign in to comment.