diff options
author | Jiri Vanek <[email protected]> | 2012-05-29 15:34:46 +0200 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2012-05-29 15:34:46 +0200 |
commit | f3b4175948772696fd0b2533df063a3c702062b4 (patch) | |
tree | 11a4f856cb065dec1cdb21895f49b6de4539455f /tests | |
parent | 056ac3746d71b2cd92d4643f136ed28a20765227 (diff) |
Added ignoration of inner classes during retrieving test id
Diffstat (limited to 'tests')
-rw-r--r-- | tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java b/tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java index 106f1f6..267d230 100644 --- a/tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java +++ b/tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java @@ -782,6 +782,9 @@ public class ServerAccess { int i = 2; for (; i < stack.length; i++) { result = stack[i];//at least moving up + if(stack[i].getClassName().contains("$")){ + continue; + } if (!baseClass.equals(stack[i].getClassName())) { break; } @@ -790,6 +793,9 @@ public class ServerAccess { //method we need (the test) is highest from following class baseClass = stack[i].getClassName(); for (; i < stack.length; i++) { + if(stack[i].getClassName().contains("$")){ + continue; + } if (!baseClass.equals(stack[i].getClassName())) { break; } |