First pass at moving all of Narya test stuff into the tests directory.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@598 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-11-08 02:07:36 +00:00
parent f6c08bfbbd
commit 99a0730696
26 changed files with 210 additions and 66 deletions
@@ -1,7 +1,7 @@
//
// $Id: TestApp.java,v 1.2 2001/11/01 01:40:42 shaper Exp $
// $Id: TestApp.java,v 1.3 2001/11/08 02:07:36 mdb Exp $
package com.threerings.cast.builder.test;
package com.threerings.cast.builder;
import java.io.IOException;
import javax.swing.JFrame;
@@ -9,11 +9,11 @@ import javax.swing.JFrame;
import com.samskivert.util.Config;
import com.samskivert.swing.util.SwingUtil;
import com.threerings.media.ImageManager;
import com.threerings.cast.Log;
import com.threerings.cast.CharacterManager;
import com.threerings.media.ImageManager;
import com.threerings.miso.util.MisoUtil;
public class TestApp
@@ -1,12 +1,11 @@
//
// $Id: TestFrame.java,v 1.1 2001/10/30 16:16:01 shaper Exp $
// $Id: TestFrame.java,v 1.2 2001/11/08 02:07:36 mdb Exp $
package com.threerings.cast.builder.test;
package com.threerings.cast.builder;
import javax.swing.JFrame;
import com.threerings.cast.CharacterManager;
import com.threerings.cast.builder.BuilderPanel;
public class TestFrame extends JFrame
{
@@ -1,7 +1,7 @@
//
// $Id: TestClient.java,v 1.6 2001/10/11 04:07:51 mdb Exp $
// $Id: TestClient.java,v 1.7 2001/11/08 02:07:36 mdb Exp $
package com.threerings.crowd.client.test;
package com.threerings.crowd.client;
import com.samskivert.util.Config;
import com.samskivert.util.Queue;
@@ -11,7 +11,6 @@ import com.threerings.presents.dobj.DObjectManager;
import com.threerings.presents.net.*;
import com.threerings.crowd.Log;
import com.threerings.crowd.client.*;
import com.threerings.crowd.util.CrowdContext;
public class TestClient
@@ -1,10 +1,9 @@
//
// $Id: FrameTest.java,v 1.3 2001/10/11 04:07:53 mdb Exp $
// $Id: FrameTest.java,v 1.4 2001/11/08 02:07:36 mdb Exp $
package com.threerings.presents.io.test;
package com.threerings.presents.io;
import java.io.*;
import com.threerings.presents.io.*;
public class FrameTest
{
@@ -1,7 +1,7 @@
//
// $Id: TestClient.java,v 1.4 2001/10/11 21:08:22 mdb Exp $
// $Id: TestClient.java,v 1.5 2001/11/08 02:07:36 mdb Exp $
package com.threerings.parlor.test;
package com.threerings.parlor;
import com.samskivert.util.Config;
import com.samskivert.util.Queue;
@@ -1,7 +1,7 @@
//
// $Id: TestConfig.java,v 1.2 2001/10/11 21:08:22 mdb Exp $
// $Id: TestConfig.java,v 1.3 2001/11/08 02:07:36 mdb Exp $
package com.threerings.parlor.test;
package com.threerings.parlor;
import java.io.IOException;
import java.io.DataInputStream;
@@ -1,7 +1,7 @@
//
// $Id: TestController.java,v 1.4 2001/10/11 21:08:22 mdb Exp $
// $Id: TestController.java,v 1.5 2001/11/08 02:07:36 mdb Exp $
package com.threerings.parlor.test;
package com.threerings.parlor;
import com.threerings.crowd.client.PlaceView;
import com.threerings.parlor.game.GameController;
@@ -1,7 +1,7 @@
//
// $Id: TestManager.java,v 1.2 2001/10/11 21:12:29 mdb Exp $
// $Id: TestManager.java,v 1.3 2001/11/08 02:07:36 mdb Exp $
package com.threerings.parlor.test;
package com.threerings.parlor;
import com.threerings.parlor.game.GameManager;
@@ -1,7 +1,7 @@
//
// $Id: TestServer.java,v 1.2 2001/10/11 04:07:51 mdb Exp $
// $Id: TestServer.java,v 1.3 2001/11/08 02:07:36 mdb Exp $
package com.threerings.parlor.test;
package com.threerings.parlor;
import com.threerings.crowd.server.CrowdServer;
@@ -1,16 +1,14 @@
//
// $Id: TestClient.java,v 1.11 2001/10/12 00:03:03 mdb Exp $
// $Id: TestClient.java,v 1.12 2001/11/08 02:07:36 mdb Exp $
package com.threerings.presents.client.test;
package com.threerings.presents.client;
import com.samskivert.util.Queue;
import com.threerings.presents.Log;
import com.threerings.presents.net.*;
import com.threerings.presents.client.*;
import com.threerings.presents.dobj.*;
import com.threerings.presents.server.test.TestObject;
import com.threerings.presents.net.*;
import com.threerings.presents.server.TestObject;
/**
* A standalone test client.
@@ -1,10 +1,9 @@
//
// $Id: TestReceiver.java,v 1.4 2001/10/11 04:07:52 mdb Exp $
// $Id: TestReceiver.java,v 1.5 2001/11/08 02:07:36 mdb Exp $
package com.threerings.presents.client.test;
package com.threerings.presents.client;
import com.threerings.presents.Log;
import com.threerings.presents.client.InvocationReceiver;
public class TestReceiver implements InvocationReceiver
{
@@ -1,11 +1,9 @@
//
// $Id: TestService.java,v 1.4 2001/10/11 04:07:52 mdb Exp $
// $Id: TestService.java,v 1.5 2001/11/08 02:07:36 mdb Exp $
package com.threerings.presents.client.test;
package com.threerings.presents.client;
import com.threerings.presents.Log;
import com.threerings.presents.client.Client;
import com.threerings.presents.client.InvocationDirector;
/**
* A test of the invocation services.
@@ -1,11 +1,10 @@
//
// $Id: DOMTest.java,v 1.4 2001/10/24 00:36:40 mdb Exp $
// $Id: DOMTest.java,v 1.5 2001/11/08 02:07:36 mdb Exp $
package com.threerings.presents.server.test;
package com.threerings.presents.server;
import com.threerings.presents.Log;
import com.threerings.presents.dobj.*;
import com.threerings.presents.server.*;
/**
* A simple test case for the dobjmgr.
@@ -1,11 +1,10 @@
//
// $Id: DestroyedRefTest.java,v 1.4 2001/10/24 00:36:40 mdb Exp $
// $Id: DestroyedRefTest.java,v 1.5 2001/11/08 02:07:36 mdb Exp $
package com.threerings.presents.server.test;
package com.threerings.presents.server;
import com.threerings.presents.Log;
import com.threerings.presents.dobj.*;
import com.threerings.presents.server.PresentsServer;
/**
* Tests that the dobjmgr will not allow a destroyed object to be added to
@@ -1,11 +1,10 @@
//
// $Id: RefTest.java,v 1.4 2001/10/24 00:36:40 mdb Exp $
// $Id: RefTest.java,v 1.5 2001/11/08 02:07:36 mdb Exp $
package com.threerings.presents.server.test;
package com.threerings.presents.server;
import com.threerings.presents.Log;
import com.threerings.presents.dobj.*;
import com.threerings.presents.server.PresentsServer;
/**
* Tests the oid list reference tracking code.
@@ -1,7 +1,7 @@
//
// $Id: TestObject.dobj,v 1.4 2001/10/11 04:07:53 mdb Exp $
// $Id: TestObject.dobj,v 1.5 2001/11/08 02:07:36 mdb Exp $
package com.threerings.presents.server.test;
package com.threerings.presents.server;
import com.threerings.presents.dobj.*;
@@ -1,13 +1,11 @@
//
// $Id: TestProvider.java,v 1.8 2001/10/11 04:07:53 mdb Exp $
// $Id: TestProvider.java,v 1.9 2001/11/08 02:07:36 mdb Exp $
package com.threerings.presents.server.test;
package com.threerings.presents.server;
import com.threerings.presents.Log;
import com.threerings.presents.client.test.TestService;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.server.PresentsServer;
import com.threerings.presents.server.InvocationProvider;
/**
* A test of the invocation services.
@@ -1,11 +1,10 @@
//
// $Id: TestServer.java,v 1.6 2001/10/24 00:36:40 mdb Exp $
// $Id: TestServer.java,v 1.7 2001/11/08 02:07:36 mdb Exp $
package com.threerings.presents.server.test;
package com.threerings.presents.server;
import com.threerings.presents.Log;
import com.threerings.presents.dobj.*;
import com.threerings.presents.server.*;
public class TestServer extends PresentsServer
{
@@ -1,7 +1,7 @@
//
// $Id: DummyClientSceneRepository.java,v 1.2 2001/10/05 23:59:37 mdb Exp $
// $Id: DummyClientSceneRepository.java,v 1.3 2001/11/08 02:07:36 mdb Exp $
package com.threerings.whirled.test;
package com.threerings.whirled;
import java.io.IOException;
@@ -1,7 +1,7 @@
//
// $Id: TestClient.java,v 1.6 2001/10/11 04:07:54 mdb Exp $
// $Id: TestClient.java,v 1.7 2001/11/08 02:07:36 mdb Exp $
package com.threerings.whirled.test;
package com.threerings.whirled;
import com.samskivert.util.Config;
import com.samskivert.util.Queue;
@@ -1,7 +1,7 @@
//
// $Id: TestConfig.java,v 1.2 2001/10/11 04:07:54 mdb Exp $
// $Id: TestConfig.java,v 1.3 2001/11/08 02:07:36 mdb Exp $
package com.threerings.whirled.test;
package com.threerings.whirled;
import com.threerings.crowd.data.PlaceConfig;
import com.threerings.whirled.server.SceneManager;
@@ -1,7 +1,7 @@
//
// $Id: TestController.java,v 1.2 2001/10/11 04:07:54 mdb Exp $
// $Id: TestController.java,v 1.3 2001/11/08 02:07:36 mdb Exp $
package com.threerings.whirled.test;
package com.threerings.whirled;
import com.threerings.crowd.client.*;