use of ch.qos.logback.classic.Logger in project webofneeds by researchstudio-sat.
the class ProposesCancelledAgreementTest method setLogLevel.
@BeforeClass
public static void setLogLevel() {
Logger root = (Logger) LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME);
root.setLevel(Level.INFO);
}
use of ch.qos.logback.classic.Logger in project webofneeds by researchstudio-sat.
the class GetProposalsTests method main.
public static void main(String... args) throws Exception {
Logger root = (Logger) LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME);
root.setLevel(Level.INFO);
// condense test cases
// read datasets (input and expected output)
// modify input, removing graphs and triples until the test breaks
String outputPath = "src/test/resources/won/utils/agreement/condensed/";
String inputPath = "src/test/resources/won/utils/agreement/input/";
Stream<Path> resources = Files.list(Paths.get(inputPath));
resources.forEach(resource -> {
try {
System.out.println("trying to condense: " + resource.toAbsolutePath().toString());
condenseTestCaseByQuery(resource, outputPath);
} catch (Exception e) {
e.printStackTrace();
}
});
}
use of ch.qos.logback.classic.Logger in project webofneeds by researchstudio-sat.
the class AcceptedRetractsTest method setLogLevel.
@BeforeClass
public static void setLogLevel() {
Logger root = (Logger) LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME);
root.setLevel(Level.INFO);
}
use of ch.qos.logback.classic.Logger in project webofneeds by researchstudio-sat.
the class AcknowledgementProtocolTest method setLogLevel.
@BeforeClass
public static void setLogLevel() {
Logger root = (Logger) LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME);
root.setLevel(Level.INFO);
}
use of ch.qos.logback.classic.Logger in project webofneeds by researchstudio-sat.
the class AgreementProtocolTest method main.
public static void main(String... args) throws Exception {
Logger root = (Logger) LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME);
root.setLevel(Level.INFO);
// condense test cases
// read datasets (input and expected output)
// modify input, removing graphs and triples until the test breaks
String outputPath = "src/test/resources/won/utils/agreement/condensed/";
String inputPath = "src/test/resources/won/utils/agreement/input/";
Stream<Path> resources = Files.list(Paths.get(inputPath));
resources.forEach(resource -> {
try {
System.out.println("trying to condense: " + resource.toAbsolutePath().toString());
condenseTestCaseByQuery(resource, outputPath);
} catch (Exception e) {
e.printStackTrace();
}
});
}
Aggregations