use of org.fagu.fmv.soft.gs.GSSoftProvider in project fmv by f-agu.
the class SoftTestCase method testGS.
@Test
@Ignore
public void testGS() throws Exception {
GSSoftProvider gsSoftProvider = new GSSoftProvider();
Soft soft = gsSoftProvider.searchConfigurable(ss -> {
ss.withPolicy(new VersionSoftPolicy().onAllPlatforms(maxVersion(new Version(8))));
});
soft.getFounds().forEach(sf -> {
System.out.println(sf.getFoundReason() + " " + sf.getFile() + " " + sf.getReason());
});
SoftLogger softLogger = new SoftLogger(Collections.singletonList(soft));
softLogger.log(System.out::println);
// System.out.println(soft);
}
Aggregations