diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2017-11-18 03:49:11 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2017-11-18 03:49:11 -0800 |
commit | 8e64e290c1969a78cd972f63ab58d32ca57d9fff (patch) | |
tree | ec1c6ac11370347386ca5a38a96f4d190784d086 /core/src/test | |
parent | e6ee4fe513c19547ecbfd232f908a828d788fc99 (diff) | |
download | mill-8e64e290c1969a78cd972f63ab58d32ca57d9fff.tar.gz mill-8e64e290c1969a78cd972f63ab58d32ca57d9fff.tar.bz2 mill-8e64e290c1969a78cd972f63ab58d32ca57d9fff.zip |
Cleanup
Diffstat (limited to 'core/src/test')
-rw-r--r-- | core/src/test/scala/mill/DiscoveredTests.scala | 1 | ||||
-rw-r--r-- | core/src/test/scala/mill/EvaluationTests.scala | 1 | ||||
-rw-r--r-- | core/src/test/scala/mill/GraphTests.scala | 4 | ||||
-rw-r--r-- | core/src/test/scala/mill/JavaCompileJarTests.scala | 5 | ||||
-rw-r--r-- | core/src/test/scala/mill/TestGraphs.scala | 1 |
5 files changed, 3 insertions, 9 deletions
diff --git a/core/src/test/scala/mill/DiscoveredTests.scala b/core/src/test/scala/mill/DiscoveredTests.scala index 1a0893df..96c84d1b 100644 --- a/core/src/test/scala/mill/DiscoveredTests.scala +++ b/core/src/test/scala/mill/DiscoveredTests.scala @@ -2,7 +2,6 @@ package mill import utest._ import TestUtil.test -import mill.define.Task.Module import mill.discover.{Discovered, Mirror} object DiscoveredTests extends TestSuite{ diff --git a/core/src/test/scala/mill/EvaluationTests.scala b/core/src/test/scala/mill/EvaluationTests.scala index a5fd72a8..053fdd09 100644 --- a/core/src/test/scala/mill/EvaluationTests.scala +++ b/core/src/test/scala/mill/EvaluationTests.scala @@ -3,7 +3,6 @@ package mill import mill.TestUtil.{Test, test} import mill.define.{Target, Task} -import mill.define.Task.Module import mill.discover.Discovered import mill.eval.Evaluator import mill.util.OSet diff --git a/core/src/test/scala/mill/GraphTests.scala b/core/src/test/scala/mill/GraphTests.scala index d19b747d..a9a31971 100644 --- a/core/src/test/scala/mill/GraphTests.scala +++ b/core/src/test/scala/mill/GraphTests.scala @@ -1,10 +1,8 @@ package mill import utest._ -import TestUtil.test import mill.define.Task -import mill.define.Task.Module -import mill.discover.{Discovered, Mirror} +import mill.discover.Discovered import mill.eval.Evaluator import mill.util.OSet diff --git a/core/src/test/scala/mill/JavaCompileJarTests.scala b/core/src/test/scala/mill/JavaCompileJarTests.scala index e19073a4..3e470b9d 100644 --- a/core/src/test/scala/mill/JavaCompileJarTests.scala +++ b/core/src/test/scala/mill/JavaCompileJarTests.scala @@ -30,7 +30,7 @@ object JavaCompileJarTests extends TestSuite{ mkdir(pwd / 'target / 'workspace / 'javac) cp(javacSrcPath, javacDestPath) - object Build extends Task.Module{ + object Build extends Module{ def sourceRootPath = javacDestPath / 'src def resourceRootPath = javacDestPath / 'resources @@ -41,7 +41,7 @@ object JavaCompileJarTests extends TestSuite{ def sourceRoot = T.source{ sourceRootPath } def resourceRoot = T.source{ resourceRootPath } def allSources = T{ ls.rec(sourceRoot().path).map(PathRef(_)) } - def classFiles = T{ compileAll(Task.ctx().dest, allSources()) } + def classFiles = T{ compileAll(T.ctx().dest, allSources()) } def jar = T{ jarUp(resourceRoot, classFiles) } def run(mainClsName: String) = T.command{ @@ -164,7 +164,6 @@ object JavaCompileJarTests extends TestSuite{ evalCount3 == 1 ) - } } } diff --git a/core/src/test/scala/mill/TestGraphs.scala b/core/src/test/scala/mill/TestGraphs.scala index 1e69fc0b..094496c1 100644 --- a/core/src/test/scala/mill/TestGraphs.scala +++ b/core/src/test/scala/mill/TestGraphs.scala @@ -1,6 +1,5 @@ package mill -import mill.define.Task.Module import mill.TestUtil.test class TestGraphs(){ |