} catch (IOException e) {
e.printStackTrace(System.err);
}
+ }
+ try {
+ return (AjcTest.Suite.Spec) result.clone();
+ } catch (CloneNotSupportedException e) {
+ e.printStackTrace(System.err);
+ assertTrue("clone failed: " + e, false);
+ return null; // keep compiler happy
}
- return result;
}
private boolean verbose;
}
String[] options = new String[]
{ "-ajctestRequireKeywords=requireKeyword",
- "-ajctestSkipKeywords=skipKeyword",
+ "-ajctestSkipKeywords=skipKeyword,skipUnenforcedAjcLimit",
"!verbose",
"-eclipse",
};
public void testEclipseConflict() {
String[] options = new String[]
- { "^eclipse"
- };
+ { "^eclipse",
+ "-ajctestSkipKeywords=skipUnenforcedAjcLimit"
+ };
Exp exp = new Exp(17, 3, 14, 3, 0, 0, 6);
checkSelection(SELECT, options, "conflict between arg=!eclipse and global=^eclipse", exp);
}