Package org.apache.hadoop.fs.shell.find

Examples of org.apache.hadoop.fs.shell.find.Depth.initialise()


  public void initialise() throws IOException{
    FindOptions options = new FindOptions();
    Depth depth = new Depth();
   
    assertFalse(options.isDepth());
    depth.initialise(options);
    assertTrue(options.isDepth());
  }

  @Test
  public void apply() throws IOException{
View Full Code Here


  }

  @Test
  public void apply() throws IOException{
    Depth depth = new Depth();
    depth.initialise(new FindOptions());
    assertEquals(Result.PASS, depth.apply(new PathData("anything", new Configuration())));
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.