@Test public void testFailsToCreateManifestBasedBecauseManifestDoesNotExist() throws Exception { try { Runfiles.create( ImmutableMap.of( "RUNFILES_MANIFEST_ONLY", "1", "RUNFILES_MANIFEST_FILE", "non-existing path")); fail(); } catch (IOException e) { assertThat(e).hasMessageThat().contains("non-existing path"); } }
public static Runfiles create() throws IOException { return create(System.getenv()); }
Runfiles { public static Runfiles create() throws IOException { return create(System.getenv()); } }
Runfiles { public static Runfiles create() throws IOException { return create(System.getenv()); } private  Runfiles(); }
Runfiles { public static Runfiles create() throws IOException { return create(System.getenv()); } private  Runfiles(); static Runfiles create(); static Runfiles create(Map<String, String> env); final String rlocation(String path); abstract Map<String, String> getEnvVars(); }
Runfiles { public static Runfiles create() throws IOException { return create(System.getenv()); } private  Runfiles(); static Runfiles create(); static Runfiles create(Map<String, String> env); final String rlocation(String path); abstract Map<String, String> getEnvVars();  }