eirikbakke closed pull request #1067: [NETBEANS-731] Rename 
AutoHidingMenuBarManualTest to fix test failure
URL: https://github.com/apache/incubator-netbeans/pull/1067
 
 
   

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/platform/core.windows/src/org/netbeans/core/windows/view/ui/AutoHidingMenuBar.java
 
b/platform/core.windows/src/org/netbeans/core/windows/view/ui/AutoHidingMenuBar.java
index 0f78c5b62d..eb1f18da6e 100644
--- 
a/platform/core.windows/src/org/netbeans/core/windows/view/ui/AutoHidingMenuBar.java
+++ 
b/platform/core.windows/src/org/netbeans/core/windows/view/ui/AutoHidingMenuBar.java
@@ -44,6 +44,8 @@
 import javax.swing.event.ChangeListener;
 import org.openide.util.Utilities;
 
+/* Note to developers: To manually test the behavior of this class without 
running the entire IDE,
+run AutoHidingMenuBarManualTestApp.java in the test sources. */
 /**
  * Container for logic that allows a {@link JFrame}'s {@link JMenuBar} to be 
hidden by default in
  * full screen mode, but shown again if the user moves the mouse to the top of 
the screen or invokes
diff --git 
a/platform/core.windows/test/unit/src/org/netbeans/core/windows/view/ui/AutoHidingMenuBarManualTest.java
 
b/platform/core.windows/test/unit/src/org/netbeans/core/windows/view/ui/AutoHidingMenuBarManualTestApp.java
similarity index 96%
rename from 
platform/core.windows/test/unit/src/org/netbeans/core/windows/view/ui/AutoHidingMenuBarManualTest.java
rename to 
platform/core.windows/test/unit/src/org/netbeans/core/windows/view/ui/AutoHidingMenuBarManualTestApp.java
index bbf4d93c6c..e3a91c45e0 100644
--- 
a/platform/core.windows/test/unit/src/org/netbeans/core/windows/view/ui/AutoHidingMenuBarManualTest.java
+++ 
b/platform/core.windows/test/unit/src/org/netbeans/core/windows/view/ui/AutoHidingMenuBarManualTestApp.java
@@ -37,7 +37,7 @@
  * A standalone Swing app that can be used to manually test {@link 
AutoHidingMenuBar} without
  * launching the full IDE. Tested on Windows 10. Not applicable to MacOS.
  */
-public final class AutoHidingMenuBarManualTest {
+public final class AutoHidingMenuBarManualTestApp {
     private final JFrame frame = new JFrame();
     private final JMenuBar mainMenuBar = new JMenuBar();
 
@@ -52,12 +52,12 @@ public void run() {
                 {
                     e.printStackTrace();
                 }
-                new AutoHidingMenuBarManualTest().setVisible(true);
+                new AutoHidingMenuBarManualTestApp().setVisible(true);
             }
         });
     }
 
-    public AutoHidingMenuBarManualTest() {
+    public AutoHidingMenuBarManualTestApp() {
         initComponents();
     }
 


 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
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