From 0a522606c9594bad70932d1faf31234cdf890a85 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Thu, 18 Nov 2010 05:34:49 +0000 Subject: [PATCH] Since TestClient is used outside of Narya, it gets to live in with the rest of the real source code. That's where reusable classes live. Amazing! Also cleaned up some build.xml bits and nixed the Retroweaver stuff. I thought we might have still been using that, but then I saw the hardcoded path to /usr/local/jdk1.4 and knew that it couldn't be so. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6285 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- build.xml | 50 +++---------------- .../threerings/crowd/client/TestClient.java | 3 ++ 2 files changed, 10 insertions(+), 43 deletions(-) rename src/{test => main}/java/com/threerings/crowd/client/TestClient.java (98%) diff --git a/build.xml b/build.xml index 8fa17245d..4dd2fb931 100644 --- a/build.xml +++ b/build.xml @@ -84,7 +84,7 @@ - + @@ -169,25 +169,22 @@ description="Runs unit tests. Use -Dtest=Foo to run only FooTest."> + - + + - - - - - + - @@ -204,8 +201,8 @@ - - + @@ -333,39 +330,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/test/java/com/threerings/crowd/client/TestClient.java b/src/main/java/com/threerings/crowd/client/TestClient.java similarity index 98% rename from src/test/java/com/threerings/crowd/client/TestClient.java rename to src/main/java/com/threerings/crowd/client/TestClient.java index d638cc842..1eaf6f964 100644 --- a/src/test/java/com/threerings/crowd/client/TestClient.java +++ b/src/main/java/com/threerings/crowd/client/TestClient.java @@ -37,6 +37,9 @@ import com.threerings.crowd.util.CrowdContext; import static com.threerings.crowd.Log.log; +/** + * A client that is useful when doing unit testing. + */ public class TestClient implements ClientObserver {