netbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] arusinha closed pull request #156: Renamed AutoupdateInfoParserTest class to exclude it from Test Suite run as it depends on deleted resource
Date Thu, 01 Jan 1970 00:00:00 GMT
arusinha closed pull request #156: Renamed AutoupdateInfoParserTest class to exclude it from
Test Suite run as it depends on deleted resource
URL: https://github.com/apache/incubator-netbeans/pull/156
 
 
   

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

Mime
View raw message