Package org.bladerunnerjs.utility.filemodification

Examples of org.bladerunnerjs.utility.filemodification.TestTimeAccessor


  public void setUp() throws Exception {
    tmpDir = FileUtility.createTemporaryDirectory(this.getClass());
    File sdkDir = new File(tmpDir, "sdk");
    sdkDir.mkdir();
    fileModificationService = new PessimisticFileModificationService();
    fileModificationService.initialise(sdkDir, new TestTimeAccessor(), null);
  }
View Full Code Here


    pluginLocator = (pluginLocator != null) ? pluginLocator : new MockPluginLocator();
    fileModificationService = (fileModificationService != null) ? fileModificationService : new ReadWriteCompatiblePessimisticFileModificationService();
    loggerFactory = (loggerFactory != null) ? loggerFactory : new StubLoggerFactory();
    appVersionGenerator = (appVersionGenerator != null) ? appVersionGenerator : new MockAppVersionGenerator();   
   
    BRJS brjs = new BRJS(brjsDir, pluginLocator, loggerFactory, new TestTimeAccessor(), appVersionGenerator);
    brjs.setFileModificationService(fileModificationService);
   
    return brjs;
  }
View Full Code Here

TOP

Related Classes of org.bladerunnerjs.utility.filemodification.TestTimeAccessor

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.