[jboss-jira] [JBoss JIRA] (WFLY-1737) org.jboss.as.model.test.ModelTestUtils String[] is incompatible with expected argument type String
Cheng Fang (JIRA)
jira-events at lists.jboss.org
Mon Jul 22 16:15:26 EDT 2013
Cheng Fang created WFLY-1737:
--------------------------------
Summary: org.jboss.as.model.test.ModelTestUtils String[] is incompatible with expected argument type String
Key: WFLY-1737
URL: https://issues.jboss.org/browse/WFLY-1737
Project: WildFly
Issue Type: Bug
Components: Test Suite
Affects Versions: 8.0.0.Beta1
Reporter: Cheng Fang
Assignee: Kabir Khan
children is a Set<String>, but pe.getKeyValuePair() is String[], so it will always return false.
{code}
} else {
if (children.contains(pe.getKeyValuePair())) {
String name = pe.getValue();
ModelNode value = model.get(pe.getKeyValuePair());
ManagementResourceRegistration sub = rr.getSubModel(PathAddress.pathAddress(pe));
Assert.assertNotNull(getComparePathAsString(stack) + " Child with name '" + name + "' not found", sub);
if (value.isDefined()) {
stack.push(pe);
checkModelAgainstDefinition(value, sub, stack);
stack.pop();
}
}
}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list