summaryrefslogtreecommitdiff
path: root/plugins/testng/testData/inspection/dependsOn/Dependencies.java
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2014-09-04 13:24:04 -0700
committerTor Norbye <tnorbye@google.com>2014-09-04 13:24:04 -0700
commitc3d3a90f6b4ead083d63e28e6b9fcea93d675678 (patch)
treefc0dcd722b6d445468dbe7dad13b4c11781b1cbe /plugins/testng/testData/inspection/dependsOn/Dependencies.java
parent1aa2e09bdbd413eacb677e9fa4b50630530d0656 (diff)
downloadidea-c3d3a90f6b4ead083d63e28e6b9fcea93d675678.tar.gz
Snapshot idea/138.1980 from git://git.jetbrains.org/idea/community.git
Change-Id: Ib567c9c152d770212a7a3db20fbf591c210920bd
Diffstat (limited to 'plugins/testng/testData/inspection/dependsOn/Dependencies.java')
-rw-r--r--plugins/testng/testData/inspection/dependsOn/Dependencies.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/testng/testData/inspection/dependsOn/Dependencies.java b/plugins/testng/testData/inspection/dependsOn/Dependencies.java
index 9111c74affd0..fc095a3ecd3d 100644
--- a/plugins/testng/testData/inspection/dependsOn/Dependencies.java
+++ b/plugins/testng/testData/inspection/dependsOn/Dependencies.java
@@ -14,6 +14,12 @@ import org.testng.annotations.*;
@BeforeMethod(dependsOnMethods = <warning descr="Method 'afterSuiteMethod' is not annotated with @org.testng.annotations.BeforeMethod">"afterSuiteMethod"</warning>)
public final void beforeMethod() throws Throwable {
}
-}
+
+ @Test(dependsOnMethods = <warning descr="Method 'foo*' unknown.">"foo*"</warning>)
+ public void testBar2() {}
+
+ @Test(dependsOnMethods = "testBa*")
+ public void testBar1() {}
+ }