[hg] main-silver: Order of tests is significant.

  • From: Jiri Skrivanek < >
  • To:
  • Subject: [hg] main-silver: Order of tests is significant.
  • Date: Fri, 18 Jan 2013 18:38:49 -0800

changeset bbcfdff073d9 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/bbcfdff073d9
description:
        Order of tests is significant.

diffstat:

 
parsing.api/test/unit/src/org/netbeans/modules/parsing/impl/indexing/PathRegistryTest.java
 |  13 ++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diffs (30 lines):

diff --git 
a/parsing.api/test/unit/src/org/netbeans/modules/parsing/impl/indexing/PathRegistryTest.java
 
b/parsing.api/test/unit/src/org/netbeans/modules/parsing/impl/indexing/PathRegistryTest.java
--- 
a/parsing.api/test/unit/src/org/netbeans/modules/parsing/impl/indexing/PathRegistryTest.java
+++ 
b/parsing.api/test/unit/src/org/netbeans/modules/parsing/impl/indexing/PathRegistryTest.java
@@ -69,6 +69,7 @@
 import org.netbeans.api.java.queries.SourceForBinaryQuery;
 import org.netbeans.junit.MockServices;
 import org.netbeans.junit.NbTestCase;
+import org.netbeans.junit.NbTestSuite;
 import org.netbeans.modules.parsing.spi.indexing.PathRecognizer;
 import org.netbeans.spi.java.classpath.ClassPathFactory;
 import org.netbeans.spi.java.classpath.ClassPathImplementation;
@@ -107,6 +108,18 @@
         super (name);
     }
 
+    public static NbTestSuite suite() {
+        NbTestSuite suite = new NbTestSuite();
+        suite.addTest(new PathRegistryTest("testPathRegistry"));
+        suite.addTest(new PathRegistryTest("testProjectMutexDeadlock"));
+        suite.addTest(new PathRegistryTest("testRaceCondition"));
+        suite.addTest(new PathRegistryTest("testRaceCondition2"));
+        suite.addTest(new PathRegistryTest("testBinaryPath"));
+        suite.addTest(new PathRegistryTest("testExcludeEvents"));
+        suite.addTest(new PathRegistryTest("testURLNoHostPart"));
+        return suite;
+    }
+    
     @Override
     protected void setUp() throws Exception {
         super.setUp();

[hg] main-silver: Order of tests is significant.

Jiri Skrivanek 01/19/2013

Project Features

About this Project

Editor was started in November 2009, is owned by Martin Ryzl, and has 147 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close