mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
More aggressive search for data-bound beans.
This commit is contained in:
1 parent
acbf0d51f0
commit
f5209cd4de
1 file changed
+1
-1
@@ -1209,7 +1209,7 @@ public abstract class HudsonTestCase extends TestCase implements RootAction {
|
||||
}
|
||||
assertFalse("collection size mismatch between "+lhs+" and "+rhs, ltr.hasNext() ^ rtr.hasNext());
|
||||
} else
|
||||
if (findDataBoundConstructor(types[i])!=null) {
|
||||
if (findDataBoundConstructor(types[i])!=null || (lv!=null && findDataBoundConstructor(lv.getClass())!=null) || (rv!=null && findDataBoundConstructor(rv.getClass())!=null)) {
|
||||
// recurse into nested databound objects
|
||||
assertEqualDataBoundBeans(lv,rv);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user