use of com.facebook.buck.testutil.TestCustomZipOutputStream in project buck by facebook.
the class JavaInMemoryFileManagerTest method setUp.
@Before
public void setUp() {
outputStream = new TestCustomZipOutputStream();
DiagnosticCollector<JavaFileObject> diagnostics = new DiagnosticCollector<>();
inMemoryFileManager = new JavaInMemoryFileManager(ToolProvider.getSystemJavaCompiler().getStandardFileManager(diagnostics, null, null), Paths.get(URI.create("file:///tmp/test.jar!/")), outputStream, /*classesToBeRemovedFromJar */
ImmutableSet.of());
}
use of com.facebook.buck.testutil.TestCustomZipOutputStream in project buck by facebook.
the class JavaInMemoryFileObjectTest method setUp.
@Before
public void setUp() {
outputStream = new TestCustomZipOutputStream();
semaphore = new Semaphore(1);
}
Aggregations