[gwt-rpc-plus] r149 committed - The tests that should be obvious enough to pass without running locall...

1 view
Skip to first unread message

gwt-rp...@googlecode.com

unread,
Jan 28, 2010, 5:46:47 PM1/28/10
to dotspots-o...@googlegroups.com
Revision: 149
Author: mmastrac
Date: Thu Jan 28 14:46:34 2010
Log: The tests that should be obvious enough to pass without running
locally never are...
http://code.google.com/p/gwt-rpc-plus/source/detail?r=149

Modified:

/trunk/gwt-rpc-plus/test/gwt-test/com/dotspots/rpcplus/test/client/TestThriftCollections.java

=======================================
---
/trunk/gwt-rpc-plus/test/gwt-test/com/dotspots/rpcplus/test/client/TestThriftCollections.java
Thu Jan 28 14:23:22 2010
+++
/trunk/gwt-rpc-plus/test/gwt-test/com/dotspots/rpcplus/test/client/TestThriftCollections.java
Thu Jan 28 14:46:34 2010
@@ -69,9 +69,9 @@
list.add("b");
list.add(null);

- assertEquals(1, JsRpcListUtils.linearSearch(list, "a"));
- assertEquals(2, JsRpcListUtils.linearSearch(list, "b"));
- assertEquals(3, JsRpcListUtils.linearSearch(list, null));
+ assertEquals(0, JsRpcListUtils.linearSearch(list, "a"));
+ assertEquals(1, JsRpcListUtils.linearSearch(list, "b"));
+ assertEquals(2, JsRpcListUtils.linearSearch(list, null));
assertEquals(-1, JsRpcListUtils.linearSearch(list, "c"));
}

Reply all
Reply to author
Forward
0 new messages