< prev index next >

test/jdk/javax/accessibility/AccessibilityProvider/basic.sh

Print this page

        

@@ -1,7 +1,7 @@
 #
-# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License version 2 only, as
 # published by the Free Software Foundation.

@@ -20,11 +20,11 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
 # @test
 # @key headful
-# @bug 8055160
+# @bug 8055160 8216008
 # @summary Unit test for javax.accessibility.AccessibilitySPI
 #
 # @build Load FooProvider BarProvider UnusedProvider
 # @run shell basic.sh
 

@@ -87,10 +87,17 @@
 
 # fail if no provider found
 PROVIDER1="NoProvider"
 go fail $PROVIDER1
 
+# pass if none provider found
+PROVIDER1=
+go pass $PROVIDER1
+
+PROVIDER1=" "
+go pass $PROVIDER1
+
 # setup for two providers
 COMMA=","
 
 # find two providers, both exist
 PROVIDER1="FooProvider"
< prev index next >