mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
adding a test case.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21768 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
8e048b8607
commit
ea9748e152
2 files changed
+26
-4
No files matched your search
@@ -687,10 +687,9 @@ public abstract class HudsonTestCase extends TestCase {
|
||||
if(pd==null) {
|
||||
// field?
|
||||
try {
|
||||
Field f1 = lhs.getClass().getField(p);
|
||||
Field f2 = rhs.getClass().getField(p);
|
||||
lp = f1.get(lhs);
|
||||
rp = f2.get(rhs);
|
||||
Field f = lhs.getClass().getField(p);
|
||||
lp = f.get(lhs);
|
||||
rp = f.get(rhs);
|
||||
} catch (NoSuchFieldException e) {
|
||||
assertNotNull("No such property "+p+" on "+lhs.getClass(),pd);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user