From c9efa2f6cf9fcfff00a29aeae5b400aaf5518e32 Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Tue, 30 Oct 2012 15:17:05 -0400 Subject: Removing actors-migration from main repository so it can live on elsewhere. * Removes actors-migration hooks from partest * Removes actors-migration code * removes actors-migration tests * removes actors-migration distribution packaging. --- test/files/jvm/actmig-remote-actor-self.check | 1 - test/files/jvm/actmig-remote-actor-self.scala | 34 --------------------------- 2 files changed, 35 deletions(-) delete mode 100644 test/files/jvm/actmig-remote-actor-self.check delete mode 100644 test/files/jvm/actmig-remote-actor-self.scala (limited to 'test/files') diff --git a/test/files/jvm/actmig-remote-actor-self.check b/test/files/jvm/actmig-remote-actor-self.check deleted file mode 100644 index 79d23cb337..0000000000 --- a/test/files/jvm/actmig-remote-actor-self.check +++ /dev/null @@ -1 +0,0 @@ -registered diff --git a/test/files/jvm/actmig-remote-actor-self.scala b/test/files/jvm/actmig-remote-actor-self.scala deleted file mode 100644 index 2b994f6081..0000000000 --- a/test/files/jvm/actmig-remote-actor-self.scala +++ /dev/null @@ -1,34 +0,0 @@ -/** - * NOTE: Code snippets from this test are included in the Actor Migration Guide. In case you change - * code in these tests prior to the 2.10.0 release please send the notification to @vjovanov. - */ -import scala.actors._ -import scala.actors.migration._ -import scala.actors.remote._ -import scala.actors.remote.RemoteActor._ -import scala.concurrent._ -import scala.concurrent.duration._ - -object Test { - val finished = Promise[Boolean] - - def main(args: Array[String]): Unit = { - - // can fail with class cast exception in alive - val myAkkaActor = ActorDSL.actor(new StashingActor { - override def preStart() = { - alive(42013) - println("registered") - finished success true - context.stop(self) - } - - def receive = { - case x: Int => - } - }) - - Await.result(finished.future, Duration.Inf).toString - } - -} -- cgit v1.2.3