This is an automated email from the ASF dual-hosted git repository.

matthiasblaesing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new edf5117  [TRAVIS] Run tests for ide/notifications module
     new b356fc9  Merge pull request #1782 from 
blackleg/test_notification_module
edf5117 is described below

commit edf51171e8432402510c486d96e67aabeacbee39
Author: Hector Espert <[email protected]>
AuthorDate: Sat Dec 14 12:29:56 2019 +0100

    [TRAVIS] Run tests for ide/notifications module
---
 .travis.yml                                                           | 1 +
 ide/notifications/nbproject/project.properties                        | 2 +-
 .../modules/notifications/center/NotificationCenterManagerTest.java   | 4 +---
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 4592e38..2f1ee23 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -250,6 +250,7 @@ matrix:
             #- ant $OPTS -f ide/libs.git test
             - ant $OPTS -f ide/libs.graalsdk test
             #- ant $OPTS -f ide/localhistory test
+            - ant $OPTS -f ide/notifications test
             - ant $OPTS -f ide/o.openidex.util test
             #- ant $OPTS -f ide/parsing.api test
             #- ant $OPTS -f ide/parsing.indexing test
diff --git a/ide/notifications/nbproject/project.properties 
b/ide/notifications/nbproject/project.properties
index c0af75f..0f4ec98 100644
--- a/ide/notifications/nbproject/project.properties
+++ b/ide/notifications/nbproject/project.properties
@@ -14,5 +14,5 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-javac.source=1.6
+javac.source=1.8
 javac.compilerargs=-Xlint -Xlint:-serial
diff --git 
a/ide/notifications/test/unit/src/org/netbeans/modules/notifications/center/NotificationCenterManagerTest.java
 
b/ide/notifications/test/unit/src/org/netbeans/modules/notifications/center/NotificationCenterManagerTest.java
index 608ef2e..43cbe16 100644
--- 
a/ide/notifications/test/unit/src/org/netbeans/modules/notifications/center/NotificationCenterManagerTest.java
+++ 
b/ide/notifications/test/unit/src/org/netbeans/modules/notifications/center/NotificationCenterManagerTest.java
@@ -21,8 +21,6 @@ package org.netbeans.modules.notifications.center;
 import java.util.logging.Level;
 import javax.swing.ImageIcon;
 import javax.swing.JLabel;
-import static junit.framework.Assert.assertEquals;
-import static junit.framework.Assert.assertNotNull;
 import org.netbeans.junit.NbTestCase;
 import org.netbeans.modules.notifications.NotificationDisplayerImpl;
 import org.netbeans.modules.notifications.NotificationImpl;
@@ -38,7 +36,7 @@ import org.openide.util.ImageUtilities;
  */
 public class NotificationCenterManagerTest extends NbTestCase {
 
-    NotificationCenterManager manager;
+    private NotificationCenterManager manager;
 
     public NotificationCenterManagerTest(String arg0) {
         super(arg0);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to