Commit afc8e07f authored by yanzg's avatar yanzg

升级新版本

parent 4a794fde
......@@ -22,9 +22,9 @@ public class TestJsonHelper {
Assert.assertNotEquals(from, to);
Assert.assertNotEquals(from.getData(), to.getData());
Assert.assertEquals(from.getData().getName(), to.getData().getName());
Assert.assertFalse(to.getVal() == null);
Assert.assertFalse(to.getList() == null);
Assert.assertTrue(to.getListNull() == null);
Assert.assertNotNull(to.getVal());
Assert.assertNotNull(to.getList());
Assert.assertNull(to.getListNull());
}
@Test
......@@ -39,8 +39,8 @@ public class TestJsonHelper {
Assert.assertNotEquals(from, to);
Assert.assertNotEquals(from.getData(), to.getData());
Assert.assertEquals(from.getData().getData().getName(), to.getData().getData().getName());
Assert.assertFalse(to.getList() == null);
Assert.assertTrue(to.getListNull() == null);
Assert.assertNotNull(to.getList());
Assert.assertNull(to.getListNull());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment