Mercurial > hg > graal-compiler
annotate graal/com.oracle.jvmci.options.test/src/com/oracle/jvmci/options/test/NestedBooleanOptionValueTest.java @ 21652:5f3dda39d205
Truffle: add DynamicObject#containsKey, make flags parameter optional, minor simplifications
author | Andreas Woess <andreas.woess@oracle.com> |
---|---|
date | Mon, 01 Jun 2015 12:55:56 +0200 |
parents | b1530a6cce8c |
children |
rev | line source |
---|---|
19657
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
1 /* |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
4 * |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
5 * This code is free software; you can redistribute it and/or modify it |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
6 * under the terms of the GNU General Public License version 2 only, as |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
7 * published by the Free Software Foundation. |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
8 * |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
12 * version 2 for more details (a copy is included in the LICENSE file that |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
13 * accompanied this code). |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
14 * |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
15 * You should have received a copy of the GNU General Public License version |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
16 * 2 along with this work; if not, write to the Free Software Foundation, |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
18 * |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
21 * questions. |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
22 */ |
21554
b1530a6cce8c
renamed com.oracle.graal.[debug|options|hotspotvmconfig]* modules to com.oracle.jvmci.[debug|options|hotspotvmconfig]* modules (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents:
19657
diff
changeset
|
23 package com.oracle.jvmci.options.test; |
19657
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
24 |
21554
b1530a6cce8c
renamed com.oracle.graal.[debug|options|hotspotvmconfig]* modules to com.oracle.jvmci.[debug|options|hotspotvmconfig]* modules (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents:
19657
diff
changeset
|
25 import static com.oracle.jvmci.options.test.NestedBooleanOptionValueTest.Options.*; |
19657
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
26 import static org.junit.Assert.*; |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
27 |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
28 import org.junit.*; |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
29 |
21554
b1530a6cce8c
renamed com.oracle.graal.[debug|options|hotspotvmconfig]* modules to com.oracle.jvmci.[debug|options|hotspotvmconfig]* modules (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents:
19657
diff
changeset
|
30 import com.oracle.jvmci.options.*; |
b1530a6cce8c
renamed com.oracle.graal.[debug|options|hotspotvmconfig]* modules to com.oracle.jvmci.[debug|options|hotspotvmconfig]* modules (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents:
19657
diff
changeset
|
31 import com.oracle.jvmci.options.OptionValue.OverrideScope; |
19657
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
32 |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
33 public class NestedBooleanOptionValueTest { |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
34 |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
35 public static class Options { |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
36 public static final OptionValue<Boolean> Master0 = new OptionValue<>(true); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
37 public static final OptionValue<Boolean> NestedOption0 = new NestedBooleanOptionValue(Master0, true); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
38 public static final OptionValue<Boolean> Master1 = new OptionValue<>(true); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
39 public static final OptionValue<Boolean> NestedOption1 = new NestedBooleanOptionValue(Master1, true); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
40 public static final OptionValue<Boolean> Master2 = new OptionValue<>(true); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
41 public static final OptionValue<Boolean> NestedOption2 = new NestedBooleanOptionValue(Master2, false); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
42 } |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
43 |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
44 static final OptionDescriptor master0 = new OptionDescriptor("Master0", Boolean.class, "", Options.class, "Master0", Master0); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
45 static final OptionDescriptor nestedOption0 = new OptionDescriptor("NestedOption0", Boolean.class, "", Options.class, "NestedOption0", NestedOption0); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
46 static final OptionDescriptor master1 = new OptionDescriptor("Master1", Boolean.class, "", Options.class, "Master1", Master1); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
47 static final OptionDescriptor nestedOption1 = new OptionDescriptor("NestedOption1", Boolean.class, "", Options.class, "NestedOption1", NestedOption1); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
48 static final OptionDescriptor master2 = new OptionDescriptor("Master2", Boolean.class, "", Options.class, "Master2", Master2); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
49 static final OptionDescriptor nestedOption2 = new OptionDescriptor("NestedOption2", Boolean.class, "", Options.class, "NestedOption2", NestedOption2); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
50 |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
51 @Test |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
52 public void runOverrides() { |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
53 assertTrue(Master0.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
54 assertTrue(NestedOption0.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
55 try (OverrideScope s1 = OptionValue.override(Master0, false)) { |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
56 assertFalse(Master0.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
57 assertFalse(NestedOption0.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
58 try (OverrideScope s2 = OptionValue.override(NestedOption0, false)) { |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
59 assertFalse(NestedOption0.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
60 } |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
61 try (OverrideScope s2 = OptionValue.override(NestedOption0, true)) { |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
62 assertTrue(NestedOption0.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
63 } |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
64 } |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
65 assertTrue(Master0.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
66 try (OverrideScope s1 = OptionValue.override(NestedOption0, false)) { |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
67 assertFalse(NestedOption0.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
68 } |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
69 try (OverrideScope s1 = OptionValue.override(NestedOption0, true)) { |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
70 assertTrue(NestedOption0.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
71 } |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
72 } |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
73 |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
74 @Test |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
75 public void runDefaultTrue() { |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
76 Master1.setValue(true); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
77 assertTrue(Master1.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
78 assertTrue(NestedOption1.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
79 // nested value unset |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
80 Master1.setValue(false); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
81 assertFalse(Master1.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
82 assertFalse(NestedOption1.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
83 // set false |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
84 Master1.setValue(false); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
85 NestedOption1.setValue(false); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
86 assertFalse(Master1.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
87 assertFalse(NestedOption1.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
88 Master1.setValue(true); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
89 assertTrue(Master1.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
90 assertFalse(NestedOption1.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
91 // set true |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
92 Master1.setValue(false); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
93 NestedOption1.setValue(true); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
94 assertFalse(Master1.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
95 assertTrue(NestedOption1.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
96 Master1.setValue(true); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
97 assertTrue(Master1.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
98 assertTrue(NestedOption1.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
99 } |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
100 |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
101 @Test |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
102 public void runDefaultFalse() { |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
103 Master2.setValue(true); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
104 assertTrue(Master2.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
105 assertFalse(NestedOption2.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
106 // nested value unset |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
107 Master2.setValue(false); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
108 assertFalse(Master2.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
109 assertFalse(NestedOption2.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
110 // set false |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
111 Master2.setValue(false); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
112 NestedOption2.setValue(false); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
113 assertFalse(Master2.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
114 assertFalse(NestedOption2.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
115 Master2.setValue(true); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
116 assertTrue(Master2.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
117 assertFalse(NestedOption2.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
118 // set true |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
119 Master2.setValue(false); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
120 NestedOption2.setValue(true); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
121 assertFalse(Master2.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
122 assertTrue(NestedOption2.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
123 Master2.setValue(true); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
124 assertTrue(Master2.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
125 assertTrue(NestedOption2.getValue()); |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
126 } |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
127 |
d0600f479309
Add NestedBooleanOptionValueTest.
Josef Eisl <josef.eisl@jku.at>
parents:
diff
changeset
|
128 } |