performTest(pf.getCFG("Various", "tryCatchFinally06"));
}
@Test
public void testSwitch() throws CoreException {
ProjectFile pf = project.openFile("domain.commons", "BooleanSwitch.java");
performTest(pf.getCFG("BooleanSwitch", "switchVariableDef01"));
performTest(pf.getCFG("BooleanSwitch", "switchEnumExprExecuteOnce01"));
performTest(pf.getCFG("BooleanSwitch", "switchEnumExprExecuteOnce02"));
performTest(pf.getCFG("BooleanSwitch", "switchEnumExprExecuteOnce03"));
performTest(pf.getCFG("BooleanSwitch", "switchEnumExprExecuteOnce04"));
performTest(pf.getCFG("BooleanSwitch", "switchIntExprExecuteOnce01"));
performTest(pf.getCFG("BooleanSwitch", "switchIntExprExecuteOnce02"));
performTest(pf.getCFG("BooleanSwitch", "switchIntExprExecuteOnce03"));
performTest(pf.getCFG("BooleanSwitch", "switchIntExprExecuteOnce04"));
pf = project.openFile("domain.commons", "IntegerSwitch.java");
performTest(pf.getCFG("IntegerSwitch", "switchEnumExprExecuteOnce01"));
performTest(pf.getCFG("IntegerSwitch", "switchEnumExprExecuteOnce02"));
performTest(pf.getCFG("IntegerSwitch", "switchEnumExprExecuteOnce03"));
performTest(pf.getCFG("IntegerSwitch", "switchEnumExprExecuteOnce04"));
performTest(pf.getCFG("IntegerSwitch", "switchIntExprExecuteOnce01"));
performTest(pf.getCFG("IntegerSwitch", "switchIntExprExecuteOnce02"));
performTest(pf.getCFG("IntegerSwitch", "switchIntExprExecuteOnce03"));
performTest(pf.getCFG("IntegerSwitch", "switchIntExprExecuteOnce04"));
performTest(pf.getCFG("IntegerSwitch", "simpleSwitch01"));
performTest(pf.getCFG("IntegerSwitch", "simpleSwitch02"));
performTest(pf.getCFG("IntegerSwitch", "simpleSwitch03"));
performTest(pf.getCFG("IntegerSwitch", "switchWithChar01"));
}