Renamed packages in the whole project to be OSGi-friendly, A LOT of breaking changes
This commit is contained in:
parent
14579aaaab
commit
bb4945b0a6
62 changed files with 570 additions and 629 deletions
|
|
@ -1,29 +0,0 @@
|
|||
package se.scalablesolutions.akka.actor
|
||||
|
||||
import org.scalatest.Suite
|
||||
import se.scalablesolutions.akka.util.Logging
|
||||
import org.junit.runner.RunWith
|
||||
import org.scalatest.junit.JUnitRunner
|
||||
import org.scalatest.matchers.MustMatchers
|
||||
import org.junit.{Test}
|
||||
|
||||
/*
|
||||
@RunWith(classOf[JUnitRunner])
|
||||
class AgentTest extends junit.framework.TestCase with Suite with MustMatchers with ActorTestUtil with Logging {
|
||||
|
||||
@Test def testAgent = verify(new TestActor {
|
||||
def test = {
|
||||
atomic {
|
||||
val t = Agent(5)
|
||||
handle(t) {
|
||||
t.update(_ + 1)
|
||||
t.update(_ * 2)
|
||||
|
||||
val r = t()
|
||||
r must be(12)
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue