Skip to content

Commit

Permalink
Add pending test for si-5698.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandar Prokopec committed May 2, 2012
1 parent d0fd3b3 commit 69564d4
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/pending/run/t5698/client.scala
@@ -0,0 +1,9 @@
package client



object Client extends App {
val peer = actors.remote.Node("localhost", 23456)
val a = actors.remote.RemoteActor.select(peer, 'test)
a ! server.TestMsg
}
22 changes: 22 additions & 0 deletions test/pending/run/t5698/server.scala
@@ -0,0 +1,22 @@
package server



object Server extends App {

class ServerActor extends actors.Actor {
def act() {
actors.remote.RemoteActor.alive(23456)
actors.remote.RemoteActor.register('test, actors.Actor.self)
loop {
react {
case TestMsg => println("Yay!")
}
}
}
}

val a = new ServerActor
a.start()

}
5 changes: 5 additions & 0 deletions test/pending/run/t5698/testmsg.scala
@@ -0,0 +1,5 @@
package server



case object TestMsg

0 comments on commit 69564d4

Please sign in to comment.