The first great Three Rings renaming. Cocktail changed to Narya, Cher
changed to Presents and Party changed to Crowd. Whee! git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@431 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
//
|
||||
// $Id: RefTest.java,v 1.1 2001/08/08 00:28:49 mdb Exp $
|
||||
// $Id: RefTest.java,v 1.2 2001/10/11 04:07:53 mdb Exp $
|
||||
|
||||
package com.threerings.cocktail.cher.server.test;
|
||||
package com.threerings.presents.server.test;
|
||||
|
||||
import com.threerings.cocktail.cher.Log;
|
||||
import com.threerings.cocktail.cher.dobj.*;
|
||||
import com.threerings.cocktail.cher.server.CherServer;
|
||||
import com.threerings.presents.Log;
|
||||
import com.threerings.presents.dobj.*;
|
||||
import com.threerings.presents.server.PresentsServer;
|
||||
|
||||
/**
|
||||
* Tests the oid list reference tracking code.
|
||||
@@ -16,8 +16,8 @@ public class RefTest
|
||||
public void run ()
|
||||
{
|
||||
// create two test objects
|
||||
CherServer.omgr.createObject(TestObject.class, this, true);
|
||||
CherServer.omgr.createObject(TestObject.class, this, true);
|
||||
PresentsServer.omgr.createObject(TestObject.class, this, true);
|
||||
PresentsServer.omgr.createObject(TestObject.class, this, true);
|
||||
}
|
||||
|
||||
public void objectAvailable (DObject object)
|
||||
@@ -56,7 +56,7 @@ public class RefTest
|
||||
} else {
|
||||
Log.info("Other object destroyed.");
|
||||
// go bye bye
|
||||
CherServer.shutdown();
|
||||
PresentsServer.shutdown();
|
||||
}
|
||||
|
||||
} else if (event instanceof ObjectRemovedEvent) {
|
||||
|
||||
Reference in New Issue
Block a user