From d4b8c4a45412fef75de97c9b3bafbc2b50d43f2a Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 09 Nov 2006 20:35:37 +0000
Subject: [PATCH] Add new unit tests that perform validation for message IDs. One test verifies that there are no duplicate message ID assignments, and the other makes sure that all message IDs defined are registered with the server and have a valid default message. This testing is conducted using reflection to examine all declared fields in the message classes.
---
opends/src/server/org/opends/server/messages/CoreMessages.java | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/opends/src/server/org/opends/server/messages/CoreMessages.java b/opends/src/server/org/opends/server/messages/CoreMessages.java
index a7357e7..98e59fe 100644
--- a/opends/src/server/org/opends/server/messages/CoreMessages.java
+++ b/opends/src/server/org/opends/server/messages/CoreMessages.java
@@ -5887,16 +5887,6 @@
/**
* The message ID for the message that will be used if an attempt is made to
- * increment an attribute that does not exist. This takes a single argument,
- * which is the name of the attribute.
- */
- public static final int MSGID_ENTRY_INCREMENT_NO_SUCH_ATTRIBUTE =
- CATEGORY_MASK_CORE | SEVERITY_MASK_MILD_ERROR | 562;
-
-
-
- /**
- * The message ID for the message that will be used if an attempt is made to
* increment an attribute that has multiple values. This takes a single
* argument, which is the name of the attribute.
*/
@@ -5947,6 +5937,16 @@
/**
+ * The message ID for the message that will be used if an attempt is made to
+ * increment an attribute that does not exist. This takes a single argument,
+ * which is the name of the attribute.
+ */
+ public static final int MSGID_ENTRY_INCREMENT_NO_SUCH_ATTRIBUTE =
+ CATEGORY_MASK_CORE | SEVERITY_MASK_MILD_ERROR | 568;
+
+
+
+ /**
* Associates a set of generic messages with the message IDs defined
* in this class.
*/
--
Gitblit v1.10.0