From 22d1ff7ebd498d02bece48d66773807b3e9ef039 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Tue, 16 Jan 2007 21:15:34 +0000
Subject: [PATCH] Fix for getSupportedFeatures returning null. It now returns an empty set. The testGetSupportedFeature now also asserts the method doesn't return null for any backend.
---
opends/tests/unit-tests-testng/src/server/org/opends/server/backends/GenericBackendTestCase.java | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/backends/GenericBackendTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/backends/GenericBackendTestCase.java
index e84a1bc..020cbce 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/backends/GenericBackendTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/backends/GenericBackendTestCase.java
@@ -160,8 +160,7 @@
@Test(dataProvider = "backends")
public void testGetSupportedFeatures(Backend b)
{
-// FIXME: We can't currently check for not null due to issue #1104.
-// assertNotNull(b.getSupportedFeatures());
+ assertNotNull(b.getSupportedFeatures());
b.getSupportedFeatures();
}
--
Gitblit v1.10.0