beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [1/2] incubator-beam git commit: Fixup CountingInputTest.java by adding JUnit version number
Date Tue, 08 Mar 2016 00:56:29 GMT
Repository: incubator-beam
Updated Branches:
  refs/heads/master bfcf3c5bd -> 567e1f513


Fixup CountingInputTest.java by adding JUnit version number


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

Branch: refs/heads/master
Commit: a1ab951f2ff86882446e0cfcbc6624e0a78e7ff8
Parents: bf15d2f
Author: Davor Bonaci <davor@google.com>
Authored: Fri Mar 4 17:32:04 2016 -0800
Committer: Davor Bonaci <davor@google.com>
Committed: Fri Mar 4 17:32:04 2016 -0800

----------------------------------------------------------------------
 .../java/com/google/cloud/dataflow/sdk/io/CountingInputTest.java  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/a1ab951f/sdk/src/test/java/com/google/cloud/dataflow/sdk/io/CountingInputTest.java
----------------------------------------------------------------------
diff --git a/sdk/src/test/java/com/google/cloud/dataflow/sdk/io/CountingInputTest.java b/sdk/src/test/java/com/google/cloud/dataflow/sdk/io/CountingInputTest.java
index 948a892..1daadc7 100644
--- a/sdk/src/test/java/com/google/cloud/dataflow/sdk/io/CountingInputTest.java
+++ b/sdk/src/test/java/com/google/cloud/dataflow/sdk/io/CountingInputTest.java
@@ -33,10 +33,13 @@ import com.google.cloud.dataflow.sdk.values.PCollection;
 import org.joda.time.Instant;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
 
 /**
  * Tests for {@link CountingInput}.
  */
+@RunWith(JUnit4.class)
 public class CountingInputTest {
   public static void addCountingAsserts(PCollection<Long> input, long numElements)
{
     // Count == numElements


Mime
View raw message