From e0e6d30a905e47931a89b7e9063d752a6f28106d Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Wed, 05 Feb 2014 22:45:49 +0000
Subject: [PATCH] OPENDJ-1235: Migrate configuration framework
---
opendj-config/src/test/java/org/forgerock/opendj/config/BooleanPropertyDefinitionTest.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opendj-config/src/test/java/org/forgerock/opendj/config/BooleanPropertyDefinitionTest.java b/opendj-config/src/test/java/org/forgerock/opendj/config/BooleanPropertyDefinitionTest.java
index ba84176..a196670 100644
--- a/opendj-config/src/test/java/org/forgerock/opendj/config/BooleanPropertyDefinitionTest.java
+++ b/opendj-config/src/test/java/org/forgerock/opendj/config/BooleanPropertyDefinitionTest.java
@@ -45,13 +45,13 @@
@Test
public void testValidateValue() {
BooleanPropertyDefinition def = createPropertyDefinition();
- def.validateValue(Boolean.TRUE, PropertyDefinitionsOptions.NO_VALIDATION_OPTIONS);
+ def.validateValue(Boolean.TRUE);
}
@Test(expectedExceptions = NullPointerException.class)
public void testValidateValueIllegal() {
BooleanPropertyDefinition def = createPropertyDefinition();
- def.validateValue(null, PropertyDefinitionsOptions.NO_VALIDATION_OPTIONS);
+ def.validateValue(null);
}
@DataProvider(name = "decodeValueData")
@@ -62,7 +62,7 @@
@Test(dataProvider = "decodeValueData")
public void testDecodeValue(String value, Boolean expected) {
BooleanPropertyDefinition def = createPropertyDefinition();
- assertEquals(def.decodeValue(value, PropertyDefinitionsOptions.NO_VALIDATION_OPTIONS), expected);
+ assertEquals(def.decodeValue(value), expected);
}
@DataProvider(name = "decodeValueDataIllegal")
@@ -74,7 +74,7 @@
PropertyException.class })
public void testDecodeValueIllegal(String value) {
BooleanPropertyDefinition def = createPropertyDefinition();
- def.decodeValue(value, PropertyDefinitionsOptions.NO_VALIDATION_OPTIONS);
+ def.decodeValue(value);
}
private BooleanPropertyDefinition createPropertyDefinition() {
--
Gitblit v1.10.0