Fixed sort order. git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2457 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/test/com/google/gwt/user/client/rpc/CollectionsTest.java b/user/test/com/google/gwt/user/client/rpc/CollectionsTest.java index 0ba0b2a..b151e17 100644 --- a/user/test/com/google/gwt/user/client/rpc/CollectionsTest.java +++ b/user/test/com/google/gwt/user/client/rpc/CollectionsTest.java
@@ -451,42 +451,6 @@ }); } - public void testStringArray() { - delayTestFinish(TEST_DELAY); - - CollectionsTestServiceAsync service = getServiceAsync(); - final String[] expected = TestSetFactory.createStringArray(); - service.echo(expected, new AsyncCallback() { - public void onFailure(Throwable caught) { - TestSetValidator.rethrowException(caught); - } - - public void onSuccess(Object result) { - assertNotNull(result); - assertTrue(TestSetValidator.equals(expected, (String[]) result)); - finishTest(); - } - }); - } - - public void testStringArrayArray() { - delayTestFinish(TEST_DELAY); - - CollectionsTestServiceAsync service = getServiceAsync(); - final String[][] expected = new String[][] { - new String[] {"hello"}, new String[] {"bye"}}; - service.echo(expected, new AsyncCallback() { - public void onFailure(Throwable caught) { - TestSetValidator.rethrowException(caught); - } - - public void onSuccess(Object result) { - assertNotNull(result); - finishTest(); - } - }); - } - public void testSqlDateArray() { delayTestFinish(TEST_DELAY); @@ -541,6 +505,42 @@ }); } + public void testStringArray() { + delayTestFinish(TEST_DELAY); + + CollectionsTestServiceAsync service = getServiceAsync(); + final String[] expected = TestSetFactory.createStringArray(); + service.echo(expected, new AsyncCallback() { + public void onFailure(Throwable caught) { + TestSetValidator.rethrowException(caught); + } + + public void onSuccess(Object result) { + assertNotNull(result); + assertTrue(TestSetValidator.equals(expected, (String[]) result)); + finishTest(); + } + }); + } + + public void testStringArrayArray() { + delayTestFinish(TEST_DELAY); + + CollectionsTestServiceAsync service = getServiceAsync(); + final String[][] expected = new String[][] { + new String[] {"hello"}, new String[] {"bye"}}; + service.echo(expected, new AsyncCallback() { + public void onFailure(Throwable caught) { + TestSetValidator.rethrowException(caught); + } + + public void onSuccess(Object result) { + assertNotNull(result); + finishTest(); + } + }); + } + public void testVector() { delayTestFinish(TEST_DELAY);