public void privateTestOverrideSuite(S status) {
XmlSuite s = createXmlSuite("s");
s.getParameters().put("a", "Incorrect");
s.getParameters().put("InheritedFromSuite", "InheritedFromSuite");
XmlTest t = createXmlTest(s, "t");
t.getLocalParameters().put("InheritedFromTest", "InheritedFromTest");
if (status == S.PASS_TEST) {
t.getLocalParameters().put("a", "Correct");
}
{
XmlClass c1 = new XmlClass(Override1Sample.class.getName());
c1.getLocalParameters().put("InheritedFromClass", "InheritedFromClass");
if (status == S.PASS_CLASS) {
c1.getLocalParameters().put("a", "Correct");
}
t.getXmlClasses().add(c1);
for (String method : new String[] { "f", "g" }) {
XmlInclude include1 = new XmlInclude(method);
if (status == S.PASS_INCLUDE) {
include1.getLocalParameters().put("a", "Correct");