@Test public void system() { String path = System.getenv("PATH"); Assume.assumeNotNull(path); BasicProject project = project() .with(EnvironmentConfigurator.system()); assertThat(project.environment("PATH"), is(path)); }
public static EnvironmentConfigurator system() { return of(System.getenv()); }
EnvironmentConfigurator implements Consumer<BaseProject<?>> { public static EnvironmentConfigurator system() { return of(System.getenv()); } }
EnvironmentConfigurator implements Consumer<BaseProject<?>> { public static EnvironmentConfigurator system() { return of(System.getenv()); } EnvironmentConfigurator(Map<String, String> edit); }
EnvironmentConfigurator implements Consumer<BaseProject<?>> { public static EnvironmentConfigurator system() { return of(System.getenv()); } EnvironmentConfigurator(Map<String, String> edit); static EnvironmentConfigurator nothing(); static EnvironmentConfigurator system(); static EnvironmentConfigurator of(String name, String value); static EnvironmentConfigurator of(String name, Path path); static EnvironmentConfigurator of(Map<String, String> variables); @Override void accept(BaseProject<?> project); }
EnvironmentConfigurator implements Consumer<BaseProject<?>> { public static EnvironmentConfigurator system() { return of(System.getenv()); } EnvironmentConfigurator(Map<String, String> edit); static EnvironmentConfigurator nothing(); static EnvironmentConfigurator system(); static EnvironmentConfigurator of(String name, String value); static EnvironmentConfigurator of(String name, Path path); static EnvironmentConfigurator of(Map<String, String> variables); @Override void accept(BaseProject<?> project);  }