diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2012-11-05 16:50:09 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2012-11-05 16:50:09 +0100 |
commit | d95f8bba6642a4cd8deeddd493afd2b71ae32ec3 (patch) | |
tree | b69e89bc6fd495bf09500388472f203effa850b2 /src | |
parent | ec1c805c533929e6f78471bc265e3933e0f34c90 (diff) | |
download | scala-async-d95f8bba6642a4cd8deeddd493afd2b71ae32ec3.tar.gz scala-async-d95f8bba6642a4cd8deeddd493afd2b71ae32ec3.tar.bz2 scala-async-d95f8bba6642a4cd8deeddd493afd2b71ae32ec3.zip |
Expand build configuration.
- Enable continuations plugin
- Fill in project metadata
- Enable stricter compiler options
- satisfy -Xlint with some empty parens.
Diffstat (limited to 'src')
8 files changed, 12 insertions, 12 deletions
diff --git a/src/test/scala/scala/async/neg/SampleNegSpec.scala b/src/test/scala/scala/async/neg/SampleNegSpec.scala index 8825f11..c26caa9 100644 --- a/src/test/scala/scala/async/neg/SampleNegSpec.scala +++ b/src/test/scala/scala/async/neg/SampleNegSpec.scala @@ -12,7 +12,7 @@ class SampleNegSpec extends MinimalScalaTest { val f = new File("/Users/jason/code/scala-async/test/files/run/await0") @Test - def `missing symbol` { + def `missing symbol`() { intercept[ToolBoxError] { eval { """ diff --git a/src/test/scala/scala/async/run/await0/await0.scala b/src/test/scala/scala/async/run/await0/await0.scala index 77867aa..9fa8dd6 100644 --- a/src/test/scala/scala/async/run/await0/await0.scala +++ b/src/test/scala/scala/async/run/await0/await0.scala @@ -68,7 +68,7 @@ class Await0Class { class Await0Spec extends MinimalScalaTest { @Test - def `An async method support a simple await` { + def `An async method support a simple await`() { val o = new Await0Class val fut = o.m0(10) val res = Await.result(fut, 10 seconds) diff --git a/src/test/scala/scala/async/run/block0/AsyncSpec.scala b/src/test/scala/scala/async/run/block0/AsyncSpec.scala index de58bb1..230d73a 100644 --- a/src/test/scala/scala/async/run/block0/AsyncSpec.scala +++ b/src/test/scala/scala/async/run/block0/AsyncSpec.scala @@ -44,7 +44,7 @@ class Test1Class { class AsyncSpec extends MinimalScalaTest { @Test - def `simple await` { + def `simple await`() { val o = new Test1Class val fut = o.m2(10) val res = Await.result(fut, 2 seconds) @@ -52,7 +52,7 @@ class AsyncSpec extends MinimalScalaTest { } @Test - def `several awaits in sequence` { + def `several awaits in sequence`() { val o = new Test1Class val fut = o.m3(10) val res = Await.result(fut, 4 seconds) diff --git a/src/test/scala/scala/async/run/block1/block1.scala b/src/test/scala/scala/async/run/block1/block1.scala index 29890bb..caa0f18 100644 --- a/src/test/scala/scala/async/run/block1/block1.scala +++ b/src/test/scala/scala/async/run/block1/block1.scala @@ -37,7 +37,7 @@ class Test1Class { @RunWith(classOf[JUnit4]) class Block1Spec extends MinimalScalaTest { - @Test def `support a simple await` { + @Test def `support a simple await`() { val o = new Test1Class val fut = o.m4(10) val res = Await.result(fut, 2 seconds) diff --git a/src/test/scala/scala/async/run/ifelse0/IfElse0.scala b/src/test/scala/scala/async/run/ifelse0/IfElse0.scala index 2088609..d58f1ec 100644 --- a/src/test/scala/scala/async/run/ifelse0/IfElse0.scala +++ b/src/test/scala/scala/async/run/ifelse0/IfElse0.scala @@ -42,7 +42,7 @@ class TestIfElseClass { @RunWith(classOf[JUnit4]) class IfElseSpec extends MinimalScalaTest { - @Test def `support await in a simple if-else expression` { + @Test def `support await in a simple if-else expression`() { val o = new TestIfElseClass val fut = o.m2(10) val res = Await.result(fut, 2 seconds) diff --git a/src/test/scala/scala/async/run/ifelse1/IfElse1.scala b/src/test/scala/scala/async/run/ifelse1/IfElse1.scala index df528da..66909af 100644 --- a/src/test/scala/scala/async/run/ifelse1/IfElse1.scala +++ b/src/test/scala/scala/async/run/ifelse1/IfElse1.scala @@ -96,7 +96,7 @@ class TestIfElse1Class { class IfElse1Spec extends MinimalScalaTest { @Test - def `await in a nested if-else expression` { + def `await in a nested if-else expression`() { val o = new TestIfElse1Class val fut = o.m1(10) val res = Await.result(fut, 2 seconds) @@ -104,7 +104,7 @@ class IfElse1Spec extends MinimalScalaTest { } @Test - def `await in a nested if-else expression 2` { + def `await in a nested if-else expression 2`() { val o = new TestIfElse1Class val fut = o.m2(10) val res = Await.result(fut, 2 seconds) @@ -113,7 +113,7 @@ class IfElse1Spec extends MinimalScalaTest { @Test - def `await in a nested if-else expression 3` { + def `await in a nested if-else expression 3`() { val o = new TestIfElse1Class val fut = o.m3(10) val res = Await.result(fut, 2 seconds) @@ -122,7 +122,7 @@ class IfElse1Spec extends MinimalScalaTest { @Test - def `await in a nested if-else expression 4` { + def `await in a nested if-else expression 4`() { val o = new TestIfElse1Class val fut = o.m4(10) val res = Await.result(fut, 2 seconds) diff --git a/src/test/scala/scala/async/run/ifelse2/ifelse2.scala b/src/test/scala/scala/async/run/ifelse2/ifelse2.scala index d702d72..39a17f1 100644 --- a/src/test/scala/scala/async/run/ifelse2/ifelse2.scala +++ b/src/test/scala/scala/async/run/ifelse2/ifelse2.scala @@ -42,7 +42,7 @@ class TestIfElse2Class { class IfElse2Spec extends MinimalScalaTest { @Test - def `variables of the same name in different blocks` { + def `variables of the same name in different blocks`() { val o = new TestIfElse2Class val fut = o.m(10) val res = Await.result(fut, 2 seconds) diff --git a/src/test/scala/scala/async/run/ifelse3/IfElse3.scala b/src/test/scala/scala/async/run/ifelse3/IfElse3.scala index cac646a..4b66f4d 100644 --- a/src/test/scala/scala/async/run/ifelse3/IfElse3.scala +++ b/src/test/scala/scala/async/run/ifelse3/IfElse3.scala @@ -45,7 +45,7 @@ class TestIfElse3Class { class IfElse3Spec extends MinimalScalaTest { @Test - def `variables of the same name in different blocks` { + def `variables of the same name in different blocks`() { val o = new TestIfElse3Class val fut = o.m(10) val res = Await.result(fut, 2 seconds) |