fixed SJSON bug in Mongo

This commit is contained in:
jboner 2009-10-20 10:06:50 +02:00
parent ae4a02c95e
commit 84a19bc88a
2 changed files with 2 additions and 3 deletions

View file

@ -16,8 +16,7 @@ public class RemoteInMemoryStateTest extends TestCase {
static {
new Thread(new Runnable() {
public void run() {
RemoteServer server = new RemoteServer();
server.start();
RemoteServer.start();
}
}).start();
try { Thread.currentThread().sleep(1000); } catch (Exception e) {}

View file

@ -7,6 +7,7 @@ import org.junit.Assert._
import _root_.dispatch.json._
import _root_.dispatch.json.Js._
@scala.reflect.BeanInfo case class Foo(no: Int, name: String)
class MongoStorageSpec extends TestCase {
val changeSetV = new scala.collection.mutable.ArrayBuffer[AnyRef]
@ -120,7 +121,6 @@ class MongoStorageSpec extends TestCase {
@Test
def testMapInsertForTransactionId = {
case class Foo(no: Int, name: String)
fillMap
// add some more to changeSet