From a5ce1b53bf9304c08bb51639b48bb77085cd62b3 Mon Sep 17 00:00:00 2001
From: davidely <davidely@localhost>
Date: Sun, 02 Sep 2007 04:00:42 +0000
Subject: [PATCH] There are several improvements to the unit test framework in this commit.
---
opends/tests/unit-tests-testng/src/server/org/opends/server/api/AlertHandlerTestCase.java | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/api/AlertHandlerTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/api/AlertHandlerTestCase.java
index 85d5e66..1307220 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/api/AlertHandlerTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/api/AlertHandlerTestCase.java
@@ -270,6 +270,7 @@
* @return The DN of the configuration entry with which this alert
* generator is associated.
*/
+ @Test // TestNG treats this as a test, so we annotate it to eliminate warnings
public DN getComponentEntryDN()
{
try
@@ -291,6 +292,7 @@
* @return The fully-qualified name of the Java class for this
* alert generator implementation.
*/
+ @Test // TestNG treats this as a test, so we annotate it to eliminate warnings
public String getClassName()
{
return getClass().getName();
@@ -309,6 +311,7 @@
* @return Information about the set of alerts that this generator
* may produce.
*/
+ @Test // TestNG treats this as a test, so we annotate it to eliminate warnings
public LinkedHashMap<String,String> getAlerts()
{
LinkedHashMap<String,String> alerts = new LinkedHashMap<String,String>();
--
Gitblit v1.10.0