public static void main(String[] args) {
 	try {
     	new ConstructorExecInitFails();
 	} catch (NoAspectBoundException e) {
 		
 		Tester.check(e.getCause() instanceof NoAspectBoundException,
 				"Expected NoAspectBoundException, found " + e.getCause());
 		return;
 	}
     Tester.checkFailed("shouldn't be able to run");
 }
Exemplo n.º 2
0
 public static void test(String content, String[][] values) throws Exception {
   ArrayList<String[]> result = parse(content, ',', false);
   // System.out.print(Util.cut("|"+Util.toString("|", "|\n|", result), 1));
   for (String[] row : result) System.out.println("|" + Util.toString(row, "|") + "|");
   Tester.check(result.toArray(new String[0][]), values);
 }