@Test public void system() { String version = System.getProperty("java.version"); Assume.assumeNotNull(version); BasicProject project = project() .with(PropertyConfigurator.system()); assertThat(project.property("java.version"), is(version)); }
public static PropertyConfigurator system() { return of(System.getProperties()); }
PropertyConfigurator implements Consumer<BaseProject<?>> { public static PropertyConfigurator system() { return of(System.getProperties()); } }
PropertyConfigurator implements Consumer<BaseProject<?>> { public static PropertyConfigurator system() { return of(System.getProperties()); } PropertyConfigurator(Map<String, String> edit); }
PropertyConfigurator implements Consumer<BaseProject<?>> { public static PropertyConfigurator system() { return of(System.getProperties()); } PropertyConfigurator(Map<String, String> edit); static PropertyConfigurator nothing(); static PropertyConfigurator system(); static PropertyConfigurator of(String key, String value); static PropertyConfigurator of(String key, Path path); static PropertyConfigurator of(Map<String, String> properties); static PropertyConfigurator of(Properties properties); static PropertyConfigurator of(URL resource); static PropertyConfigurator of(Optional<? extends URL> resource); static PropertyConfigurator of(Enumeration<? extends URL> resources); @Override void accept(BaseProject<?> project); }
PropertyConfigurator implements Consumer<BaseProject<?>> { public static PropertyConfigurator system() { return of(System.getProperties()); } PropertyConfigurator(Map<String, String> edit); static PropertyConfigurator nothing(); static PropertyConfigurator system(); static PropertyConfigurator of(String key, String value); static PropertyConfigurator of(String key, Path path); static PropertyConfigurator of(Map<String, String> properties); static PropertyConfigurator of(Properties properties); static PropertyConfigurator of(URL resource); static PropertyConfigurator of(Optional<? extends URL> resource); static PropertyConfigurator of(Enumeration<? extends URL> resources); @Override void accept(BaseProject<?> project);  }