tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeag...@apache.org
Subject git commit: TEZ-1455. Replace deprecated junit.framework.Assert with org.junit.Assert (Alexander Pivovarov via jeagles)
Date Tue, 19 Aug 2014 20:28:32 GMT
Repository: tez
Updated Branches:
  refs/heads/master 46995b858 -> d1d94c2f4


TEZ-1455. Replace deprecated junit.framework.Assert with org.junit.Assert (Alexander Pivovarov
via jeagles)


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

Branch: refs/heads/master
Commit: d1d94c2f4b64f817e6fa2f9b79972db035992d35
Parents: 46995b8
Author: Jonathan Eagles <jeagles@gmail.com>
Authored: Tue Aug 19 15:28:18 2014 -0500
Committer: Jonathan Eagles <jeagles@gmail.com>
Committed: Tue Aug 19 15:28:18 2014 -0500

----------------------------------------------------------------------
 CHANGES.txt                                                      | 1 +
 .../apache/tez/runtime/library/common/TestValuesIterator.java    | 4 ++--
 .../tez/runtime/library/output/TestOnFileSortedOutput.java       | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/d1d94c2f/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index a19682a..d07089c 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -76,6 +76,7 @@ INCOMPATIBLE CHANGES
   TEZ-1450. Documentation of TezConfiguration
   TEZ-1231. Clean up TezRuntimeConfiguration
   TEZ-1246. Replace constructors with create() methods for DAG, Vertex, Edge etc in the API
+  TEZ-1455. Replace deprecated junit.framework.Assert with org.junit.Assert
 
 Release 0.4.0-incubating: 2014-04-05
 

http://git-wip-us.apache.org/repos/asf/tez/blob/d1d94c2f/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/common/TestValuesIterator.java
----------------------------------------------------------------------
diff --git a/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/common/TestValuesIterator.java
b/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/common/TestValuesIterator.java
index faa728f..ad34235 100644
--- a/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/common/TestValuesIterator.java
+++ b/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/common/TestValuesIterator.java
@@ -57,8 +57,8 @@ import java.util.Map;
 import java.util.Random;
 import java.util.TreeMap;
 
-import static junit.framework.TestCase.assertFalse;
-import static junit.framework.TestCase.assertTrue;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
 import static org.mockito.Mockito.doReturn;
 import static org.mockito.Mockito.mock;
 

http://git-wip-us.apache.org/repos/asf/tez/blob/d1d94c2f/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/output/TestOnFileSortedOutput.java
----------------------------------------------------------------------
diff --git a/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/output/TestOnFileSortedOutput.java
b/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/output/TestOnFileSortedOutput.java
index e49e336..f3b3503 100644
--- a/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/output/TestOnFileSortedOutput.java
+++ b/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/output/TestOnFileSortedOutput.java
@@ -56,8 +56,8 @@ import java.util.LinkedList;
 import java.util.List;
 import java.util.Random;
 
-import static junit.framework.Assert.assertEquals;
-import static junit.framework.TestCase.assertTrue;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
 import static org.mockito.Matchers.any;
 import static org.mockito.Matchers.anyLong;
 import static org.mockito.Mockito.doAnswer;


Mime
View raw message