Normalized formatting.
This commit is contained in:
parent
b242e287f8
commit
eeaaefdc22
|
@ -28,7 +28,7 @@ public class Test01 {
|
|||
String entryClass = "Test01";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class Test02 {
|
|||
String entryClass = "Test02";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class Test03 {
|
|||
String entryClass = "Test03";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class Test04 {
|
|||
String entryClass = "Test04";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class Test05 {
|
|||
String entryClass = "Test05";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class Test06 {
|
|||
String entryClass = "Test06";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,12 +27,12 @@ public class Test07 {
|
|||
String entryClass = "Test07";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testBad() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void testBad() throws IllegalArgumentException, CancelException, IOException {
|
||||
int result = SuperGraphUtil.analyzeAndSaveSuperGraph(TestSuite.superGraph, entryClass, "bad");
|
||||
assertEquals(1, result);
|
||||
return;
|
||||
|
|
|
@ -26,7 +26,7 @@ public class Test08 {
|
|||
String entryClass = "Test08";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class Test09 {
|
|||
String entryClass = "Test09";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class Test10 {
|
|||
String entryClass = "Test10";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class Test11 {
|
|||
String entryClass = "Test11";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class Test12 {
|
|||
String entryClass = "Test12";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class Test13 {
|
|||
String entryClass = "Test13";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class Test14 {
|
|||
String entryClass = "Test14";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class Test15 {
|
|||
String entryClass = "Test15";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class Test16 {
|
|||
String entryClass = "Test16";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class Test17 {
|
|||
String entryClass = "Test17";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class Test18 {
|
|||
String entryClass = "Test18";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class Test19 {
|
|||
String entryClass = "Test19";
|
||||
|
||||
@Before
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException{
|
||||
public void initTest() throws IllegalArgumentException, CancelException, IOException {
|
||||
TestSuite.initTestSG(entryClass);
|
||||
}
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ import com.ibm.wala.util.CancelException;
|
|||
Test17.class,
|
||||
Test18.class,
|
||||
Test19.class
|
||||
})
|
||||
})
|
||||
|
||||
public class TestSuite {
|
||||
private static Logger log = AnalysisUtil.getLogger(TestSuite.class);
|
||||
|
@ -115,14 +115,14 @@ public class TestSuite {
|
|||
}
|
||||
|
||||
public static void initTestSG(String test, boolean force)
|
||||
throws IllegalArgumentException, CancelException, IOException{
|
||||
throws IllegalArgumentException, CancelException, IOException {
|
||||
if ((null != superGraph) && !force) return;
|
||||
|
||||
List<String> entryPoints = new ArrayList<String>();
|
||||
if (null != test) {
|
||||
log.info("Generating Global SG:");
|
||||
entryPoints.add("Leu/aniketos/dasca/dataflow/test/data/"+test);
|
||||
}else{
|
||||
} else {
|
||||
log.info("Generating Test Specific SG ("+ test +"):");
|
||||
entryPoints.addAll(Arrays.asList(customEntryPoints));
|
||||
}
|
||||
|
@ -142,11 +142,11 @@ public class TestSuite {
|
|||
}
|
||||
|
||||
public static void initTestSG(String test)
|
||||
throws IllegalArgumentException, CancelException, IOException{
|
||||
throws IllegalArgumentException, CancelException, IOException {
|
||||
initTestSG(test, false);
|
||||
}
|
||||
public static void initTestSG()
|
||||
throws IllegalArgumentException, CancelException, IOException{
|
||||
throws IllegalArgumentException, CancelException, IOException {
|
||||
initTestSG(null);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue