use of spoon.OutputType in project spoon by INRIA.
the class OutputTypeTest method testOutputTypeLoading.
@Test
public void testOutputTypeLoading() {
OutputType outputType = OutputType.fromString("nulltest");
Assert.assertNull(outputType);
outputType = OutputType.fromString("nooutput");
Assert.assertEquals(OutputType.NO_OUTPUT, outputType);
outputType = OutputType.fromString("classes");
Assert.assertEquals(OutputType.CLASSES, outputType);
outputType = OutputType.fromString("compilationunits");
Assert.assertEquals(OutputType.COMPILATION_UNITS, outputType);
}
Aggregations