Package br.com.objectos.way.base.io

Examples of br.com.objectos.way.base.io.Directory.find()


  @Test(dependsOnMethods = "extract")
  public void plugins() {
    execute("kdo", "eclipse", "prepare", "--plugins");

    Directory eclipse = eclipseVar.dirAt("eclipse");
    List<File> res = eclipse.find()
        .typed()
        .name("org.testng.*")
        .list();
    assertThat(res.size(), greaterThan(0));
  }
View Full Code Here


  public void install() {
    execute("install", "--prepare", "--local", "--target", target.getAbsolutePath());

    Directory bin = target.dirAt("usr/bin");
    List<File> files = bin.find()
        .typef()
        .list();
    List<String> res = FakeFiles.toFilenames(files);

    assertThat(res.size(), equalTo(5));
View Full Code Here

  public void install() {
    execute("install", "--prepare", "--local", "--target", target.getAbsolutePath());

    Directory bin = target.dirAt("usr/bin");
    List<File> files = bin.find()
        .typef()
        .list();
    List<String> res = FakeFiles.toFilenames(files);

    assertThat(res.size(), equalTo(1));
View Full Code Here

  @Test(dependsOnMethods = "extract")
  public void plugins() {
    execute("eclipse", "prepare", "--plugins");

    Directory eclipse = eclipseVar.dirAt("eclipse");
    List<File> res = eclipse.find()
        .typed()
        .name("org.testng.*")
        .list();
    assertThat(res.size(), greaterThan(0));
  }
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.