diff options
author | Robert Gemmell <robbie@apache.org> | 2012-07-01 20:02:30 +0000 |
---|---|---|
committer | Robert Gemmell <robbie@apache.org> | 2012-07-01 20:02:30 +0000 |
commit | 9dae5ddc233d8871f00cf65b80ec14edb9c6d105 (patch) | |
tree | a2a25f95bf9982f24c2f740ed219d243e75fee08 /qpid/java/bdbstore | |
parent | 56bf10cb7a1ac41f84c26e938d8b9f8fb019fc2a (diff) | |
download | qpid-python-9dae5ddc233d8871f00cf65b80ec14edb9c6d105.tar.gz |
QPID-3923: remove deprecated test-only AMQQueueFactory method and update tests accordingly, rename method for generating random IDs.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355995 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/bdbstore')
2 files changed, 4 insertions, 4 deletions
diff --git a/qpid/java/bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBMessageStoreTest.java b/qpid/java/bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBMessageStoreTest.java index e97323c5f2..eef9f7eab4 100644 --- a/qpid/java/bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBMessageStoreTest.java +++ b/qpid/java/bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBMessageStoreTest.java @@ -407,7 +407,7 @@ public class BDBMessageStoreTest extends org.apache.qpid.server.store.MessageSto AbstractBDBMessageStore bdbStore = assertBDBStore(log); - final UUID mockQueueId = UUIDGenerator.generateUUID(); + final UUID mockQueueId = UUIDGenerator.generateRandomUUID(); TransactionLogResource mockQueue = new TransactionLogResource() { @Override @@ -445,7 +445,7 @@ public class BDBMessageStoreTest extends org.apache.qpid.server.store.MessageSto AbstractBDBMessageStore bdbStore = assertBDBStore(log); - final UUID mockQueueId = UUIDGenerator.generateUUID(); + final UUID mockQueueId = UUIDGenerator.generateRandomUUID(); TransactionLogResource mockQueue = new TransactionLogResource() { @Override @@ -486,7 +486,7 @@ public class BDBMessageStoreTest extends org.apache.qpid.server.store.MessageSto AbstractBDBMessageStore bdbStore = assertBDBStore(log); - final UUID mockQueueId = UUIDGenerator.generateUUID(); + final UUID mockQueueId = UUIDGenerator.generateRandomUUID(); TransactionLogResource mockQueue = new TransactionLogResource() { @Override diff --git a/qpid/java/bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/tuple/ConfiguredObjectBindingTest.java b/qpid/java/bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/tuple/ConfiguredObjectBindingTest.java index f8aeb7f7b0..7f93f5691e 100644 --- a/qpid/java/bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/tuple/ConfiguredObjectBindingTest.java +++ b/qpid/java/bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/tuple/ConfiguredObjectBindingTest.java @@ -42,7 +42,7 @@ public class ConfiguredObjectBindingTest extends TestCase { super.setUp(); _configuredObjectBinding = ConfiguredObjectBinding.getInstance(); - _object = new ConfiguredObjectRecord(UUIDGenerator.generateUUID(), DUMMY_TYPE_STRING, DUMMY_ATTRIBUTES_STRING); + _object = new ConfiguredObjectRecord(UUIDGenerator.generateRandomUUID(), DUMMY_TYPE_STRING, DUMMY_ATTRIBUTES_STRING); } public void testObjectToEntryAndEntryToObject() |