Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4880863

Shell tests for Windows should check for Windows*

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 5.0
    • client-libs
    • Cause Known
    • x86
    • windows_nt

      We are starting to test on Windows 2003, and when MKS releases a version
      that returns a unique name for this OS, we will need to handle it in our
      shell tests. Rather than adding a new case, we should generalize our
      current case statement to use Windows*

      Use this:

      case "$OS" in
        Windows* )
            VAR="A different value for Win32"

      Rather than this:

      case "$OS" in
         Windows_95 | Windows_98 | Windows_NT | Windows_ME )
            VAR="A different value for Win32"


      Here is the current list of shell tests in /test/java/awt/

      ./Component/ExitNullPointerTest/ExitNullPointerTest.sh
      ./Dialog/ModalityListenerOrder/ModalityListenerOrder.sh
      ./EmbeddedFrame/Xm/Xm.sh
      ./EmbeddedFrame/WinPrintTest/EmbedPrintTest.sh
      ./Focus/AppletInitialFocusTest/AppletInitialFocusTest.sh
      ./Focus/AppletInitialFocusTest1/AppletInitialFocusTest1.sh
      ./Focus/SetDefaultFocusTest/SetDefaultFocusTest.sh
      ./FontClass/CreateFont/DenyFromFile.sh
      ./GraphicsConfiguration/AppletDeadlock/AppletDeadlock.sh
      ./TEMPLATE/AutomaticShellTest.sh
      ./TEMPLATE/ManualShellTest.sh
      ./TextComponent/ClipboardAccess/ClipboardAccess.sh
      ./TextField/TextCopyCrash/TextCopyCrash.sh
      ./Toolkit/AutoLoadTest/AutoLoadTest.sh
      ./Toolkit/AutoShutdown/HeadlessMultiAppContextTest/HeadlessMultiAppContextTest.sh
      ./Toolkit/AutoShutdown/HeadlessPostEventTest/HeadlessPostEventTest.sh
      ./Toolkit/AutoShutdown/HeadlessSimplestTest/HeadlessSimplestTest.sh
      ./Toolkit/AutoShutdown/InternalPostEventTest/InternalPostEventTest.sh
      ./Toolkit/AutoShutdown/MultipleAppContextTest/MultipleAppContextTest.sh
      ./Toolkit/AutoShutdown/PostEventTest/PostEventTest.sh
      ./Toolkit/AutoShutdown/ReshowTest/ReshowTest.sh
      ./Toolkit/AutoShutdown/SimplestTest/SimplestTest.sh
      ./Toolkit/AutoShutdown/SingleFrameTest/SingleFrameTest.sh
      ./Toolkit/FindToolkitTest/FindToolkitTest.sh
      ./Window/AppletWarning/AppletWarning.sh
      ./Window/WindowSecurityException/WindowSecurity.sh
      ./color/ColorSpace/SerializationTest/SerializationShellTest.sh
      ./color/ICC_Profile/DeserializationTest/DeserializationShellTest.sh
      ./color/ICC_Profile/SerializationReadWriteTest/SerializationReadWriteShellTest.sh
      ./dnd/AccessControlTest/AccessControlTest.sh
      ./dnd/DelayedClassLoadingTest/DelayedClassLoadingTest.sh
      ./dnd/SerializationTesterLeakTest/SerializationTesterLeakTest.sh
      ./event/KeyEvent/FrenchKeyboard/FrenchKeyboard.sh
      ./event/KeyEvent/UserModifierMap/ModifierMapTest.sh
      ./font/LogicalFonts/MappingTest.sh
      ./image/GifReloadingTest/GifReloadingTest.sh


      Here is /test/sun/awt/
      ./x11/XServerXShmAttachErrorTest/XServerXShmAttachErrorTest.sh


      Here is /test/sun/applet/
      ./AppletPropsShellTest/AppletPropsShellTest.sh
      ./Main/commandLineCheck.sh
      ./Main/relativeFileUrlCheck.sh
      ./ParseApplet/missingReqAttributes.sh
      ./Print2DGraphics/Print2DGraphics.sh

            Unassigned Unassigned
            ehawkessunw Eric Hawkes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: