[hg] main-silver: fix test

  • From: Milos Kleint < >
  • To:
  • Subject: [hg] main-silver: fix test
  • Date: Thu, 21 Feb 2013 19:39:00 -0800

changeset c5d9f6e2b01e in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/c5d9f6e2b01e
description:
        fix test

diffstat:

 
apisupport.ant/test/unit/src/org/netbeans/modules/apisupport/project/AvoidModuleListInProjectConstructorTest.java
 |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (23 lines):

diff --git 
a/apisupport.ant/test/unit/src/org/netbeans/modules/apisupport/project/AvoidModuleListInProjectConstructorTest.java
 
b/apisupport.ant/test/unit/src/org/netbeans/modules/apisupport/project/AvoidModuleListInProjectConstructorTest.java
--- 
a/apisupport.ant/test/unit/src/org/netbeans/modules/apisupport/project/AvoidModuleListInProjectConstructorTest.java
+++ 
b/apisupport.ant/test/unit/src/org/netbeans/modules/apisupport/project/AvoidModuleListInProjectConstructorTest.java
@@ -64,15 +64,15 @@
 
     // XXX cannot be run in binary dist, requires sources; test against fake 
platform
     public void testNetBeansOrgModules() throws Exception {
-        assertEquals("no scans of netbeans.org initially", 0, 
ModuleList.getKnownEntries(file("nbbuild/netbeans/ide/org-apache-tools-ant-module.jar")).size());
+        assertEquals("no scans of netbeans.org initially", 0, 
ModuleList.getKnownEntries(file("nbbuild/netbeans/extide/org-apache-tools-ant-module.jar")).size());
         FileObject fo = nbRoot().getFileObject("o.apache.tools.ant.module");
         Project p = ProjectManager.getDefault().findProject(fo);
         assertNotNull(p);
-        assertEquals("still no scans", 0, 
ModuleList.getKnownEntries(file("nbbuild/netbeans/" + TestBase.CLUSTER_JAVA + 
"/modules/org-apache-tools-ant-module.jar")).size());
+        assertEquals("still no scans", 0, 
ModuleList.getKnownEntries(file("nbbuild/netbeans/" + "extide" + 
"/modules/org-apache-tools-ant-module.jar")).size());
         assertEquals("org.apache.tools.ant.module", 
ProjectUtils.getInformation(p).getName());
-        assertEquals("still no scans", 0, 
ModuleList.getKnownEntries(file("nbbuild/netbeans/" + TestBase.CLUSTER_JAVA + 
"/modules/org-apache-tools-ant-module.jar")).size());
+        assertEquals("still no scans", 0, 
ModuleList.getKnownEntries(file("nbbuild/netbeans/" + "extide" + 
"/modules/org-apache-tools-ant-module.jar")).size());
         ClassPath.getClassPath(fo.getFileObject("src"), ClassPath.COMPILE);
-        assertEquals("now have scanned something", 1, 
ModuleList.getKnownEntries(file("nbbuild/netbeans/" + TestBase.CLUSTER_JAVA + 
"/modules/org-apache-tools-ant-module.jar")).size());
+        assertEquals("now have scanned something", 1, 
ModuleList.getKnownEntries(file("nbbuild/netbeans/" + "extide" + 
"/modules/org-apache-tools-ant-module.jar")).size());
     }
     
 }

[hg] main-silver: fix test

Milos Kleint 02/22/2013

Project Features

About this Project

APIsupport was started in November 2009, is owned by Antonin Nebuzelsky, and has 43 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