use of org.apache.hadoop.fs.shell.PathData in project hadoop by apache.
the class TestIname method applyMixedCase.
// test a matching name (different case)
@Test
public void applyMixedCase() throws IOException {
setup("name");
PathData item = new PathData("/directory/path/NaMe", mockFs.getConf());
assertEquals(Result.PASS, name.apply(item, -1));
}
use of org.apache.hadoop.fs.shell.PathData in project hadoop by apache.
the class TestIname method applyMatch.
// test a matching name (same case)
@Test
public void applyMatch() throws IOException {
setup("name");
PathData item = new PathData("/directory/path/name", mockFs.getConf());
assertEquals(Result.PASS, name.apply(item, -1));
}
Aggregations