< prev index next >

test/java/awt/FullScreen/AltTabCrashTest/AltTabCrashTest.java

Print this page
rev 14836 : 8159690: [TESTBUG] Mark headful tests with @key headful.


   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  @test

  26  @bug 6275887 6429971 6459792
  27  @summary Test that we don't crash when alt+tabbing in and out of
  28          fullscreen app
  29  @author Dmitri.Trembovetski@sun.com: area=FullScreen
  30  @run main/othervm/timeout=100  AltTabCrashTest -auto -changedm
  31  @run main/othervm/timeout=100 -Dsun.java2d.d3d=True AltTabCrashTest -auto -changedm
  32  @run main/othervm/timeout=100 -Dsun.java2d.d3d=True AltTabCrashTest -auto -usebs -changedm
  33  @run main/othervm/timeout=100 -Dsun.java2d.opengl=True AltTabCrashTest -auto
  34 */
  35 
  36 import java.awt.AWTException;
  37 import java.awt.Color;
  38 import java.awt.DisplayMode;
  39 import java.awt.Frame;
  40 import java.awt.Graphics;
  41 import java.awt.Graphics2D;
  42 import java.awt.GraphicsDevice;
  43 import java.awt.GraphicsEnvironment;
  44 import java.awt.Image;
  45 import java.awt.RenderingHints;




   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  @test
  26  @key headful
  27  @bug 6275887 6429971 6459792
  28  @summary Test that we don't crash when alt+tabbing in and out of
  29          fullscreen app
  30  @author Dmitri.Trembovetski@sun.com: area=FullScreen
  31  @run main/othervm/timeout=100  AltTabCrashTest -auto -changedm
  32  @run main/othervm/timeout=100 -Dsun.java2d.d3d=True AltTabCrashTest -auto -changedm
  33  @run main/othervm/timeout=100 -Dsun.java2d.d3d=True AltTabCrashTest -auto -usebs -changedm
  34  @run main/othervm/timeout=100 -Dsun.java2d.opengl=True AltTabCrashTest -auto
  35 */
  36 
  37 import java.awt.AWTException;
  38 import java.awt.Color;
  39 import java.awt.DisplayMode;
  40 import java.awt.Frame;
  41 import java.awt.Graphics;
  42 import java.awt.Graphics2D;
  43 import java.awt.GraphicsDevice;
  44 import java.awt.GraphicsEnvironment;
  45 import java.awt.Image;
  46 import java.awt.RenderingHints;


< prev index next >