6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package javafx.stage;
27
28 import java.util.ArrayList;
29 import java.util.Collection;
30 import java.util.List;
31
32 import org.junit.Ignore;
33 import org.junit.runner.RunWith;
34 import org.junit.runners.Parameterized;
35 import org.junit.runners.Parameterized.Parameters;
36
37 import com.sun.javafx.test.PropertiesTestBase;
38 import com.sun.javafx.test.objects.TestGroup;
39 import com.sun.javafx.test.objects.TestNode;
40 import com.sun.javafx.test.objects.TestScene;
41 import com.sun.javafx.test.objects.TestStage;
42
43 @Ignore ("This test is basically invalidated with the new design and needs to be rewritten")
44 @RunWith(Parameterized.class)
45 public final class Popup_parentWindow_Test extends PropertiesTestBase {
46
47 @Parameters
48 public static Collection<Object> data() {
49 final List<Object> configurations = new ArrayList<Object>();
50
51 TestObjects to;
52
53 to = new TestObjects();
54 configurations.add(
55 config(to.testPopup,
56 "owner", to.testStage1, to.testStage2));
57
58 to = new TestObjects();
59 configurations.add(
60 config(to.testPopup,
61 "owner", to.testScene1, to.testScene2));
|
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package test.javafx.stage;
27
28 import java.util.ArrayList;
29 import java.util.Collection;
30 import java.util.List;
31 import javafx.stage.Popup;
32
33 import org.junit.Ignore;
34 import org.junit.runner.RunWith;
35 import org.junit.runners.Parameterized;
36 import org.junit.runners.Parameterized.Parameters;
37
38 import test.com.sun.javafx.test.PropertiesTestBase;
39 import test.com.sun.javafx.test.objects.TestGroup;
40 import test.com.sun.javafx.test.objects.TestNode;
41 import test.com.sun.javafx.test.objects.TestScene;
42 import test.com.sun.javafx.test.objects.TestStage;
43
44 @Ignore ("This test is basically invalidated with the new design and needs to be rewritten")
45 @RunWith(Parameterized.class)
46 public final class Popup_parentWindow_Test extends PropertiesTestBase {
47
48 @Parameters
49 public static Collection<Object> data() {
50 final List<Object> configurations = new ArrayList<Object>();
51
52 TestObjects to;
53
54 to = new TestObjects();
55 configurations.add(
56 config(to.testPopup,
57 "owner", to.testStage1, to.testStage2));
58
59 to = new TestObjects();
60 configurations.add(
61 config(to.testPopup,
62 "owner", to.testScene1, to.testScene2));
|