Skip to content

Commit

Permalink
remove mockito version
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxr committed Nov 11, 2014
1 parent 1397ab5 commit c9daab4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mllib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,9 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.9.0</version>
<scope>test</scope>
</dependency>
<dependency>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-streaming_${scala.binary.version}</artifactId>
<version>${project.version}</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class PipelineSuite extends FunSuite {
.setStages(Array(estimator0, transformer1, estimator2, transformer3))
val pipelineModel = pipeline.fit(dataset0)

assert(pipelineModel.transformers.size === 4)
assert(pipelineModel.transformers(0).eq(model0))
assert(pipelineModel.transformers(1).eq(transformer1))
assert(pipelineModel.transformers(2).eq(model2))
Expand Down

0 comments on commit c9daab4

Please sign in to comment.