iota-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tonyfaust...@apache.org
Subject [11/12] incubator-iota git commit: [IOTA-36] Unit test - forcing clean up of loaded jars before get into Utils
Date Tue, 31 Jan 2017 22:29:14 GMT
[IOTA-36] Unit test - forcing clean up of loaded jars before get into Utils


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

Branch: refs/heads/master
Commit: 7896e36fd1689d9d906877cdd8fd803b90458333
Parents: 35a83e9
Author: Barbara Gomes <barbaramaltagomes@gmail.com>
Authored: Tue Jan 31 12:37:12 2017 -0800
Committer: Barbara Gomes <barbaramaltagomes@gmail.com>
Committed: Tue Jan 31 12:37:12 2017 -0800

----------------------------------------------------------------------
 fey-core/src/test/scala/org/apache/iota/fey/UtilsSpec.scala | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-iota/blob/7896e36f/fey-core/src/test/scala/org/apache/iota/fey/UtilsSpec.scala
----------------------------------------------------------------------
diff --git a/fey-core/src/test/scala/org/apache/iota/fey/UtilsSpec.scala b/fey-core/src/test/scala/org/apache/iota/fey/UtilsSpec.scala
index 8a4b73b..865e10d 100644
--- a/fey-core/src/test/scala/org/apache/iota/fey/UtilsSpec.scala
+++ b/fey-core/src/test/scala/org/apache/iota/fey/UtilsSpec.scala
@@ -26,6 +26,7 @@ import ch.qos.logback.classic.Level
 import play.api.libs.json._
 import java.nio.file.{Files, Paths}
 
+import scala.collection.mutable
 import scala.io.Source
 import scala.concurrent.duration._
 
@@ -33,6 +34,7 @@ class UtilsSpec extends BaseAkkaSpec{
 
   "Global variable loadedJars" should{
     "be empty when starting" in {
+      Utils.loadedJars.remove("fey-test-actor.jar")
       Utils.loadedJars shouldBe empty
     }
   }


Mime
View raw message