Package org.crsh.vfs.spi.ram

Examples of org.crsh.vfs.spi.ram.RAMMountFactory


    assertFalse(in.hasNext());
    assertEquals("bar", file);
  }

  public void testMount() throws Exception {
    RAMMountFactory resolver = new RAMMountFactory();
    FS fs = new FS.Builder().register("ram", resolver).mount("ram:/;ram:/b").build();
    assertEquals(2, fs.drivers.size());
    assertInstance(RAMDriver.class, fs.drivers.get(0));
    assertInstance(RAMDriver.class, fs.drivers.get(1));
  }
View Full Code Here

TOP

Related Classes of org.crsh.vfs.spi.ram.RAMMountFactory

Copyright © 2018 www.massapicom. 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.