You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by GitBox <gi...@apache.org> on 2017/10/20 13:31:36 UTC

[GitHub] geertjanw closed pull request #167: Renamed AutoupdateInfoParserTest class to exclude it from Test Suite run as it depends on deleted resource

geertjanw closed pull request #167:  Renamed AutoupdateInfoParserTest class to exclude it from Test Suite run as it depends on deleted resource
URL: https://github.com/apache/incubator-netbeans/pull/167
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/autoupdate.services/test/unit/src/org/netbeans/modules/autoupdate/updateprovider/AutoupdateInfoParserTest.java b/autoupdate.services/test/unit/src/org/netbeans/modules/autoupdate/updateprovider/AutoupdateInfoParserTestDisabled.java
similarity index 91%
rename from autoupdate.services/test/unit/src/org/netbeans/modules/autoupdate/updateprovider/AutoupdateInfoParserTest.java
rename to autoupdate.services/test/unit/src/org/netbeans/modules/autoupdate/updateprovider/AutoupdateInfoParserTestDisabled.java
index 2ae69d1b9..068f682df 100644
--- a/autoupdate.services/test/unit/src/org/netbeans/modules/autoupdate/updateprovider/AutoupdateInfoParserTest.java
+++ b/autoupdate.services/test/unit/src/org/netbeans/modules/autoupdate/updateprovider/AutoupdateInfoParserTestDisabled.java
@@ -33,9 +33,9 @@
  *
  * @author Jiri Rechtacek
  */
-public class AutoupdateInfoParserTest extends DefaultTestCase {
+public class AutoupdateInfoParserTestDisabled extends DefaultTestCase {
     
-    public AutoupdateInfoParserTest (String testName) {
+    public AutoupdateInfoParserTestDisabled (String testName) {
         super (testName);
     }
     
@@ -45,7 +45,7 @@ public AutoupdateInfoParserTest (String testName) {
     @Override
     protected void setUp() throws Exception {
         super.setUp();
-        URL urlToFile = AutoupdateInfoParserTest.class.getResource ("data/org-yourorghere-depending.nbm");
+        URL urlToFile = AutoupdateInfoParserTestDisabled.class.getResource ("data/org-yourorghere-depending.nbm");
         NBM_FILE = Utilities.toFile(urlToFile.toURI ());
         assertNotNull ("data/org-yourorghere-depending.nbm file must found.", NBM_FILE);
     }


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services