Skip to content

Commit ef1dd33

Browse files
ktosobenjchristensen
authored andcommitted
!tck #12 Migrated TCK to plain Java
* In which we trade off less-DRY in order to be scala-version independent. * TCK does not depend on Scala at all now. * Added tests testing the TCK, if we properly delegate all tests from Processor -> {Producer, Subscriber} * Made SBT run the TestNG test * Made the "pending" tests (decided by returning null in the special create... methods) actualy visible as PENDING to testNG
1 parent 28e8772 commit ef1dd33

16 files changed

+2182
-1146
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ target/
1212
.eprj
1313
.history
1414
.idea
15+
.idea_modules

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
organization in ThisBuild := "org.reactivestreams"
22

3-
version in ThisBuild := "0.2-SNAPSHOT"
3+
version in ThisBuild := "0.3-SNAPSHOT"
44

55
licenses in ThisBuild := Seq("CC0" -> url("http://creativecommons.org/publicdomain/zero/1.0/"))
66

project/plugins.sbt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
addSbtPlugin("de.johoop" % "sbt-testng-plugin" % "3.0.0")

tck/build.sbt

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
import de.johoop.testngplugin.TestNGPlugin._
2+
13
name := "reactive-streams-tck"
24

5+
javacOptions in compile ++= Seq("-encoding", "UTF-8", "-source", "1.6", "-target", "1.6", "-Xlint:unchecked", "-Xlint:deprecation")
6+
7+
javacOptions in (Compile,doc) ++= Seq("-encoding","UTF-8","-docencoding", "UTF-8", "-charset", "UTF-8", "-notimestamp", "-linksource")
8+
9+
autoScalaLibrary := false
10+
11+
crossPaths := false
12+
13+
publishMavenStyle := true
14+
15+
Common.javadocSettings
16+
317
libraryDependencies += "org.testng" % "testng" % "5.14.10"
18+
19+
testNGSettings

0 commit comments

Comments
 (0)