toree-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject incubator-toree git commit: [HOTFIX] Fix AddDeps test failures
Date Fri, 01 Sep 2017 15:24:33 GMT
Repository: incubator-toree
Updated Branches:
  refs/heads/master c767967cb -> 3cedc10b6


[HOTFIX] Fix AddDeps test failures

Closes #137


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

Branch: refs/heads/master
Commit: 3cedc10b62541dbb686809e4e192d0c094569612
Parents: c767967
Author: Luciano Resende <lresende@apache.org>
Authored: Thu Aug 31 21:34:43 2017 -0700
Committer: Luciano Resende <lresende@apache.org>
Committed: Fri Sep 1 08:23:15 2017 -0700

----------------------------------------------------------------------
 .../org/apache/toree/magic/builtin/AddDepsSpec.scala    | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-toree/blob/3cedc10b/kernel/src/test/scala/org/apache/toree/magic/builtin/AddDepsSpec.scala
----------------------------------------------------------------------
diff --git a/kernel/src/test/scala/org/apache/toree/magic/builtin/AddDepsSpec.scala b/kernel/src/test/scala/org/apache/toree/magic/builtin/AddDepsSpec.scala
index 80e2d4b..d8f75a5 100644
--- a/kernel/src/test/scala/org/apache/toree/magic/builtin/AddDepsSpec.scala
+++ b/kernel/src/test/scala/org/apache/toree/magic/builtin/AddDepsSpec.scala
@@ -63,7 +63,8 @@ class AddDepsSpec extends FunSpec with Matchers with MockitoSugar
         verify(mockKernel, times(0)).addJars(any())
         verify(mockDownloader, times(0)).retrieve(
           anyString(), anyString(), anyString(), anyBoolean(), anyBoolean(),
-          anyBoolean(), any[Seq[(URL, Option[Credentials])]], anyBoolean(), anyBoolean()
+          anyBoolean(), any[Seq[(URL, Option[Credentials])]], anyBoolean(), anyBoolean(),
+          any[Option[String]], any[Option[String]], any[Option[String]]
         )
       }
 
@@ -71,7 +72,8 @@ class AddDepsSpec extends FunSpec with Matchers with MockitoSugar
         val mockDependencyDownloader = mock[DependencyDownloader]
         doReturn(Nil).when(mockDependencyDownloader).retrieve(
           anyString(), anyString(), anyString(), anyBoolean(), anyBoolean(),
-          anyBoolean(), any[Seq[(URL, Option[Credentials])]], anyBoolean(), anyBoolean()
+          anyBoolean(), any[Seq[(URL, Option[Credentials])]], anyBoolean(), anyBoolean(),
+          any[Option[String]], any[Option[String]], any[Option[String]]
         )
 
         val addDepsMagic = new AddDeps
@@ -97,7 +99,8 @@ class AddDepsSpec extends FunSpec with Matchers with MockitoSugar
         val mockDependencyDownloader = mock[DependencyDownloader]
         doReturn(Nil).when(mockDependencyDownloader).retrieve(
           anyString(), anyString(), anyString(), anyBoolean(), anyBoolean(),
-          anyBoolean(), any[Seq[(URL, Option[Credentials])]], anyBoolean(), anyBoolean()
+          anyBoolean(), any[Seq[(URL, Option[Credentials])]], anyBoolean(), anyBoolean(),
+          any[Option[String]], any[Option[String]], any[Option[String]]
         )
 
         val addDepsMagic = new AddDeps
@@ -123,7 +126,8 @@ class AddDepsSpec extends FunSpec with Matchers with MockitoSugar
         val mockDependencyDownloader = mock[DependencyDownloader]
         doReturn(Nil).when(mockDependencyDownloader).retrieve(
           anyString(), anyString(), anyString(), anyBoolean(), anyBoolean(),
-          anyBoolean(), any[Seq[(URL, Option[Credentials])]], anyBoolean(), anyBoolean()
+          anyBoolean(), any[Seq[(URL, Option[Credentials])]], anyBoolean(), anyBoolean(),
+          any[Option[String]], any[Option[String]], any[Option[String]]
         )
         val mockKernel = mock[KernelLike]
 


Mime
View raw message