aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-02-14 00:21:01 -0500
committerChristopher Vogt <oss.nsp@cvogt.org>2017-02-14 00:34:48 -0500
commit6b7ccbe48f858e8c5d075672db85caa9dd44bd19 (patch)
treea78e67d2856a410a0fe9a71b5802034260a72703 /plugins
parente0c12a39e634bc88d0128992eabb16fa3b38b3b4 (diff)
downloadcbt-6b7ccbe48f858e8c5d075672db85caa9dd44bd19.tar.gz
cbt-6b7ccbe48f858e8c5d075672db85caa9dd44bd19.tar.bz2
cbt-6b7ccbe48f858e8c5d075672db85caa9dd44bd19.zip
minor whitespace and name changes
Diffstat (limited to 'plugins')
-rw-r--r--plugins/scalatest/ScalaTest.scala12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/scalatest/ScalaTest.scala b/plugins/scalatest/ScalaTest.scala
index 21f656b..7f805fd 100644
--- a/plugins/scalatest/ScalaTest.scala
+++ b/plugins/scalatest/ScalaTest.scala
@@ -27,16 +27,16 @@ object ScalaTestLib{
}
}
- def discoverSuites(discoveryPath: File, _classLoader: ClassLoader): Seq[String] = {
- _classLoader
+ def discoverSuites(discoveryPath: File, classLoader: ClassLoader): Seq[String] = {
+ classLoader
.loadClass("org.scalatest.tools.SuiteDiscoveryHelper")
.getMethod("discoverSuiteNames", classOf[List[_]], classOf[ClassLoader], classOf[Option[_]])
- .invoke(null, List(discoveryPath.string ++ "/"), _classLoader, None)
+ .invoke(null, List(discoveryPath.string ++ "/"), classLoader, None)
.asInstanceOf[Set[String]]
.to
}
- def loadSuite(name: String, _classLoader: ClassLoader) = {
- _classLoader.loadClass(name).getConstructor().newInstance().asInstanceOf[Suite]
- }
+ def loadSuite(name: String, classLoader: ClassLoader) = {
+ classLoader.loadClass(name).getConstructor().newInstance().asInstanceOf[Suite]
+ }
}