@Test public void testManifestBasedCtorArgumentValidation() throws Exception { try { Runfiles.createManifestBasedForTesting(null); fail(); } catch (IllegalArgumentException e) { } try { Runfiles.createManifestBasedForTesting(""); fail(); } catch (IllegalArgumentException e) { } try (MockFile mf = new MockFile(ImmutableList.of("a b"))) { Runfiles.createManifestBasedForTesting(mf.path.toString()); } }
static Runfiles createManifestBasedForTesting(String manifestPath) throws IOException { return new ManifestBased(manifestPath); }
Runfiles { static Runfiles createManifestBasedForTesting(String manifestPath) throws IOException { return new ManifestBased(manifestPath); } }
Runfiles { static Runfiles createManifestBasedForTesting(String manifestPath) throws IOException { return new ManifestBased(manifestPath); } private  Runfiles(); }
Runfiles { static Runfiles createManifestBasedForTesting(String manifestPath) throws IOException { return new ManifestBased(manifestPath); } private  Runfiles(); static Runfiles create(); static Runfiles create(Map<String, String> env); final String rlocation(String path); abstract Map<String, String> getEnvVars(); }
Runfiles { static Runfiles createManifestBasedForTesting(String manifestPath) throws IOException { return new ManifestBased(manifestPath); } private  Runfiles(); static Runfiles create(); static Runfiles create(Map<String, String> env); final String rlocation(String path); abstract Map<String, String> getEnvVars();  }