From e6e55855e28f061ad6662ac45373e56e6770307d Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 22 Oct 2007 10:33:09 +0000
Subject: [PATCH] Fix issue 2286: class properties would allow empty class names.

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/admin/ClassPropertyDefinitionTest.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/ClassPropertyDefinitionTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/ClassPropertyDefinitionTest.java
index 5d55782..dbcc52f 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/ClassPropertyDefinitionTest.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/ClassPropertyDefinitionTest.java
@@ -93,6 +93,9 @@
   public Object[][] createBuilderAddInstanceOfData2() {
     return new Object[][]{
             { "1" },
+            { "" },
+            { " " },
+            { "  " },
             { "abc." },
             { "abc.123" },
             { "abc.123$" },

--
Gitblit v1.10.0