flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From twal...@apache.org
Subject flink git commit: [hotfix] [table] Test does not extend TableProgramsTestBase
Date Mon, 16 Jan 2017 12:26:24 GMT
Repository: flink
Updated Branches:
  refs/heads/master 1753b1d25 -> 68228ffdd


[hotfix] [table] Test does not extend TableProgramsTestBase


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

Branch: refs/heads/master
Commit: 68228ffdd852ac696c48a848ec66a4951b22f372
Parents: 1753b1d
Author: twalthr <twalthr@apache.org>
Authored: Mon Jan 16 13:19:05 2017 +0100
Committer: twalthr <twalthr@apache.org>
Committed: Mon Jan 16 13:23:47 2017 +0100

----------------------------------------------------------------------
 .../table/api/scala/batch/table/CastingITCase.scala      | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/68228ffd/flink-libraries/flink-table/src/test/scala/org/apache/flink/table/api/scala/batch/table/CastingITCase.scala
----------------------------------------------------------------------
diff --git a/flink-libraries/flink-table/src/test/scala/org/apache/flink/table/api/scala/batch/table/CastingITCase.scala
b/flink-libraries/flink-table/src/test/scala/org/apache/flink/table/api/scala/batch/table/CastingITCase.scala
index 18d3333..2f8e9d2 100644
--- a/flink-libraries/flink-table/src/test/scala/org/apache/flink/table/api/scala/batch/table/CastingITCase.scala
+++ b/flink-libraries/flink-table/src/test/scala/org/apache/flink/table/api/scala/batch/table/CastingITCase.scala
@@ -22,13 +22,22 @@ import org.apache.flink.api.scala._
 import org.apache.flink.table.api.scala._
 import org.apache.flink.table.api.TableEnvironment
 import org.apache.flink.table.api.Types._
+import org.apache.flink.table.api.scala.batch.utils.TableProgramsTestBase
+import org.apache.flink.table.api.scala.batch.utils.TableProgramsTestBase.TableConfigMode
+import org.apache.flink.test.util.MultipleProgramsTestBase.TestExecutionMode
 import org.apache.flink.test.util.TestBaseUtils.compareResultAsText
 import org.apache.flink.types.Row
 import org.junit._
+import org.junit.runner.RunWith
+import org.junit.runners.Parameterized
 
 import scala.collection.JavaConverters._
 
-class CastingITCase {
+@RunWith(classOf[Parameterized])
+class CastingITCase(
+    mode: TestExecutionMode,
+    configMode: TableConfigMode)
+  extends TableProgramsTestBase(mode, configMode) {
 
   @Test
   def testNumericAutocastInArithmetic() {


Mime
View raw message