summaryrefslogtreecommitdiff
path: root/tst/com/p4square/grow/config/ConfigTest.java
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2013-11-18 22:28:10 -0800
committerJesse Morgan <jesse@jesterpm.net>2013-11-18 22:28:10 -0800
commit0cb9b37b723386d1e902f556e9dbbbe093d2789f (patch)
treed1a172148327247618c7d30572e9fa486a925f42 /tst/com/p4square/grow/config/ConfigTest.java
parent3521cc4003f738cc1433cfe484470dd9f7577360 (diff)
Making strict viewing order configurable.
Diffstat (limited to 'tst/com/p4square/grow/config/ConfigTest.java')
-rw-r--r--tst/com/p4square/grow/config/ConfigTest.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/tst/com/p4square/grow/config/ConfigTest.java b/tst/com/p4square/grow/config/ConfigTest.java
index 17185de..ccb39da 100644
--- a/tst/com/p4square/grow/config/ConfigTest.java
+++ b/tst/com/p4square/grow/config/ConfigTest.java
@@ -51,5 +51,12 @@ public class ConfigTest {
// Non number test
assertEquals(Integer.MIN_VALUE, domain1.getInt("notANumber"));
+
+ // Test Boolean values
+ assertTrue(domain1.getBoolean("boolean1"));
+ assertTrue(domain1.getBoolean("boolean2"));
+ assertFalse(domain1.getBoolean("boolean3"));
+ assertFalse(domain1.getBoolean("notABool"));
+ assertTrue(domain1.getBoolean("notABool", true));
}
}