You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ke...@apache.org on 2014/09/29 10:54:36 UTC

git commit: Updated to no longer use deprecated junit.framework.Assert

Repository: activemq
Updated Branches:
  refs/heads/trunk 8163b0b95 -> 8f138473d


Updated to no longer use deprecated junit.framework.Assert


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/8f138473
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/8f138473
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/8f138473

Branch: refs/heads/trunk
Commit: 8f138473de8ced1a8a8522b0bd2c92a397419a6c
Parents: 8163b0b
Author: Kevin Earls <ke...@kevinearls.com>
Authored: Mon Sep 29 10:54:18 2014 +0200
Committer: Kevin Earls <ke...@kevinearls.com>
Committed: Mon Sep 29 10:54:18 2014 +0200

----------------------------------------------------------------------
 .../org/apache/activemq/broker/util/DestinationsPluginTest.java    | 2 +-
 .../java/org/apache/activemq/bugs/TrapMessageInJDBCStoreTest.java  | 1 -
 .../activemq/usecases/TwoBrokerVirtualTopicForwardingTest.java     | 2 --
 3 files changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/8f138473/activemq-unit-tests/src/test/java/org/apache/activemq/broker/util/DestinationsPluginTest.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/util/DestinationsPluginTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/util/DestinationsPluginTest.java
index 42a0e61..d08fc5e 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/util/DestinationsPluginTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/util/DestinationsPluginTest.java
@@ -25,7 +25,7 @@ import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
 
-import static junit.framework.Assert.assertEquals;
+import static org.junit.Assert.*;
 
 
 public class DestinationsPluginTest {

http://git-wip-us.apache.org/repos/asf/activemq/blob/8f138473/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/TrapMessageInJDBCStoreTest.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/TrapMessageInJDBCStoreTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/TrapMessageInJDBCStoreTest.java
index 29822f1..2fedbeb 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/TrapMessageInJDBCStoreTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/TrapMessageInJDBCStoreTest.java
@@ -16,7 +16,6 @@
  */
 package org.apache.activemq.bugs;
 
-import junit.framework.Assert;
 import junit.framework.TestCase;
 import org.apache.activemq.ActiveMQConnectionFactory;
 import org.apache.activemq.broker.BrokerService;

http://git-wip-us.apache.org/repos/asf/activemq/blob/8f138473/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/TwoBrokerVirtualTopicForwardingTest.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/TwoBrokerVirtualTopicForwardingTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/TwoBrokerVirtualTopicForwardingTest.java
index ff738a4..0dc9e61 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/TwoBrokerVirtualTopicForwardingTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/TwoBrokerVirtualTopicForwardingTest.java
@@ -32,8 +32,6 @@ import java.io.IOException;
 import java.net.URI;
 import java.util.LinkedList;
 
-import static junit.framework.Assert.assertNotNull;
-import static junit.framework.Assert.assertNull;
 import static org.apache.activemq.TestSupport.*;
 
 /**