From 22094368c2865dcfb6daf8366425212b721a4657 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Thu, 05 Feb 2009 17:42:14 +0000
Subject: [PATCH] Merge ASN1 branch to trunk
---
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/ValueInfoTest.java | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/ValueInfoTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/ValueInfoTest.java
index a7fefe7..4861447 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/ValueInfoTest.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/ValueInfoTest.java
@@ -32,6 +32,7 @@
import org.opends.server.replication.plugin.ValueInfo;
import org.opends.server.types.AttributeType;
import org.opends.server.types.AttributeValue;
+import org.opends.server.types.AttributeValues;
import org.opends.server.util.TimeThread;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
@@ -50,9 +51,9 @@
public Object[][] createData() {
AttributeType type = DirectoryServer.getAttributeType("description");
- AttributeValue att1 = new AttributeValue(type, "string");
- AttributeValue att2 = new AttributeValue(type, "value");
- AttributeValue att3 = new AttributeValue(type, "again");
+ AttributeValue att1 = AttributeValues.create(type, "string");
+ AttributeValue att2 = AttributeValues.create(type, "value");
+ AttributeValue att3 = AttributeValues.create(type, "again");
ChangeNumber del1 = new ChangeNumber(1, (short) 0, (short) 1);
ChangeNumber del2 = new ChangeNumber(1, (short) 1, (short) 1);
@@ -84,7 +85,7 @@
AttributeType type = DirectoryServer.getAttributeType("description");
ValueInfo valInfo1 = new ValueInfo(value,CNupdate,CNdelete);
ValueInfo valInfo2 = new ValueInfo(value,CNupdate,CNupdate);
- ValueInfo valInfo3 = new ValueInfo(new AttributeValue(type,"Test"),
+ ValueInfo valInfo3 = new ValueInfo(AttributeValues.create(type,"Test"),
CNupdate,CNupdate);
// Check equals
--
Gitblit v1.10.0