fixed SJSON bug in Mongo
This commit is contained in:
parent
ae4a02c95e
commit
84a19bc88a
2 changed files with 2 additions and 3 deletions
|
|
@ -16,8 +16,7 @@ public class RemoteInMemoryStateTest extends TestCase {
|
||||||
static {
|
static {
|
||||||
new Thread(new Runnable() {
|
new Thread(new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
RemoteServer server = new RemoteServer();
|
RemoteServer.start();
|
||||||
server.start();
|
|
||||||
}
|
}
|
||||||
}).start();
|
}).start();
|
||||||
try { Thread.currentThread().sleep(1000); } catch (Exception e) {}
|
try { Thread.currentThread().sleep(1000); } catch (Exception e) {}
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import org.junit.Assert._
|
||||||
import _root_.dispatch.json._
|
import _root_.dispatch.json._
|
||||||
import _root_.dispatch.json.Js._
|
import _root_.dispatch.json.Js._
|
||||||
|
|
||||||
|
@scala.reflect.BeanInfo case class Foo(no: Int, name: String)
|
||||||
class MongoStorageSpec extends TestCase {
|
class MongoStorageSpec extends TestCase {
|
||||||
|
|
||||||
val changeSetV = new scala.collection.mutable.ArrayBuffer[AnyRef]
|
val changeSetV = new scala.collection.mutable.ArrayBuffer[AnyRef]
|
||||||
|
|
@ -120,7 +121,6 @@ class MongoStorageSpec extends TestCase {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
def testMapInsertForTransactionId = {
|
def testMapInsertForTransactionId = {
|
||||||
case class Foo(no: Int, name: String)
|
|
||||||
fillMap
|
fillMap
|
||||||
|
|
||||||
// add some more to changeSet
|
// add some more to changeSet
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue