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.binding;
27
28 import static org.junit.Assert.assertEquals;
29
30 import java.util.Date;
31 import java.util.IllegalFormatException;
32 import java.util.Locale;
33
34 import javafx.beans.binding.Bindings;
35 import javafx.beans.binding.StringBinding;
36 import javafx.beans.binding.StringExpression;
37 import javafx.beans.property.BooleanProperty;
38 import javafx.beans.property.DoubleProperty;
39 import javafx.beans.property.FloatProperty;
40 import javafx.beans.property.IntegerProperty;
41 import javafx.beans.property.LongProperty;
42 import javafx.beans.property.ObjectProperty;
43 import javafx.beans.property.SimpleBooleanProperty;
44 import javafx.beans.property.SimpleDoubleProperty;
45 import javafx.beans.property.SimpleFloatProperty;
46 import javafx.beans.property.SimpleIntegerProperty;
47 import javafx.beans.property.SimpleLongProperty;
48 import javafx.beans.property.SimpleObjectProperty;
49 import javafx.beans.property.SimpleStringProperty;
50 import javafx.beans.property.StringProperty;
51 import javafx.binding.DependencyUtils;
52
53 import org.junit.Before;
54 import org.junit.Test;
55
56 @SuppressWarnings("WebTest")
57 public class StringFormatterTest {
58
59 private double double0;
60 private float float0;
61 private long long0;
62 private int int0;
63 private boolean boolean0;
64 private String string0;
65 private Date date0;
66
67 private double double1;
68 private float float1;
69 private long long1;
70 private int int1;
71 private boolean boolean1;
|
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.binding;
27
28 import static org.junit.Assert.assertEquals;
29
30 import java.util.Date;
31 import java.util.IllegalFormatException;
32 import java.util.Locale;
33
34 import javafx.beans.binding.Bindings;
35 import javafx.beans.binding.StringBinding;
36 import javafx.beans.binding.StringExpression;
37 import javafx.beans.property.BooleanProperty;
38 import javafx.beans.property.DoubleProperty;
39 import javafx.beans.property.FloatProperty;
40 import javafx.beans.property.IntegerProperty;
41 import javafx.beans.property.LongProperty;
42 import javafx.beans.property.ObjectProperty;
43 import javafx.beans.property.SimpleBooleanProperty;
44 import javafx.beans.property.SimpleDoubleProperty;
45 import javafx.beans.property.SimpleFloatProperty;
46 import javafx.beans.property.SimpleIntegerProperty;
47 import javafx.beans.property.SimpleLongProperty;
48 import javafx.beans.property.SimpleObjectProperty;
49 import javafx.beans.property.SimpleStringProperty;
50 import javafx.beans.property.StringProperty;
51 import test.javafx.binding.DependencyUtils;
52
53 import org.junit.Before;
54 import org.junit.Test;
55
56 @SuppressWarnings("WebTest")
57 public class StringFormatterTest {
58
59 private double double0;
60 private float float0;
61 private long long0;
62 private int int0;
63 private boolean boolean0;
64 private String string0;
65 private Date date0;
66
67 private double double1;
68 private float float1;
69 private long long1;
70 private int int1;
71 private boolean boolean1;
|