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 com.sun.javafx.util;
27
28 import static org.junit.Assert.assertEquals;
29
30 import java.util.Arrays;
31
32 import javafx.geometry.HPos;
33 import javafx.geometry.Point2D;
34 import javafx.geometry.VPos;
35 import javafx.scene.Group;
36 import javafx.scene.Scene;
37 import javafx.scene.SubScene;
38 import javafx.scene.layout.VBox;
39 import javafx.scene.shape.Rectangle;
40 import javafx.stage.Stage;
41 import org.junit.Test;
42
43 public class UtilsTest {
44 @Test
45 public void testSplit() {
46 // normal use case
47 String s = "VK_ENTER";
|
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.com.sun.javafx.util;
27
28 import com.sun.javafx.util.Utils;
29 import static org.junit.Assert.assertEquals;
30
31 import java.util.Arrays;
32
33 import javafx.geometry.HPos;
34 import javafx.geometry.Point2D;
35 import javafx.geometry.VPos;
36 import javafx.scene.Group;
37 import javafx.scene.Scene;
38 import javafx.scene.SubScene;
39 import javafx.scene.layout.VBox;
40 import javafx.scene.shape.Rectangle;
41 import javafx.stage.Stage;
42 import org.junit.Test;
43
44 public class UtilsTest {
45 @Test
46 public void testSplit() {
47 // normal use case
48 String s = "VK_ENTER";
|