diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-12-12 16:56:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-12 16:56:02 -0800 |
commit | 9ba4cb69331386dfde9bac69dc2d5b22401face3 (patch) | |
tree | 120349e8015ae5717d36bd44209cde6ff9543518 /integration/test/src/CaffeineTests.scala | |
parent | ea7fceb6e56f53bde3517586dfc57e10a605a524 (diff) | |
download | mill-9ba4cb69331386dfde9bac69dc2d5b22401face3.tar.gz mill-9ba4cb69331386dfde9bac69dc2d5b22401face3.tar.bz2 mill-9ba4cb69331386dfde9bac69dc2d5b22401face3.zip |
collapse boilerplate folder structure within src/ folders (#505)
* collapse boilerplate folder structure within src/ folders
* .
Diffstat (limited to 'integration/test/src/CaffeineTests.scala')
-rw-r--r-- | integration/test/src/CaffeineTests.scala | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/integration/test/src/CaffeineTests.scala b/integration/test/src/CaffeineTests.scala new file mode 100644 index 00000000..56c66b21 --- /dev/null +++ b/integration/test/src/CaffeineTests.scala @@ -0,0 +1,34 @@ +package mill.integration + +import utest._ + +class CaffeineTests(fork: Boolean) extends IntegrationTestSuite("MILL_CAFFEINE_REPO", "caffeine", fork) { + val tests = Tests{ + initWorkspace() + 'test - { + // Caffeine only can build using Java 9 or up. Java 8 results in weird + // type inference issues during the compile + if (mill.main.client.Util.isJava9OrAbove){ + assert(eval("caffeine.test.compile")) + + val suites = Seq( + "com.github.benmanes.caffeine.SingleConsumerQueueTest", + "com.github.benmanes.caffeine.cache.AsyncTest", + "com.github.benmanes.caffeine.cache.CaffeineTest", + "com.github.benmanes.caffeine.cache.TimerWheelTest" + ) + assert(eval( + "caffeine.test", + "-testclass", suites.mkString(",") + )) + assert(eval("guava.test.compile")) + assert(eval("guava.test")) + + assert(eval("jcache.test.compile")) + assert(eval("simulator.test.compile")) + + } + } + + } +} |