Commit afc8e07f authored by yanzg's avatar yanzg

升级新版本

parent 4a794fde
...@@ -22,9 +22,9 @@ public class TestJsonHelper { ...@@ -22,9 +22,9 @@ public class TestJsonHelper {
Assert.assertNotEquals(from, to); Assert.assertNotEquals(from, to);
Assert.assertNotEquals(from.getData(), to.getData()); Assert.assertNotEquals(from.getData(), to.getData());
Assert.assertEquals(from.getData().getName(), to.getData().getName()); Assert.assertEquals(from.getData().getName(), to.getData().getName());
Assert.assertFalse(to.getVal() == null); Assert.assertNotNull(to.getVal());
Assert.assertFalse(to.getList() == null); Assert.assertNotNull(to.getList());
Assert.assertTrue(to.getListNull() == null); Assert.assertNull(to.getListNull());
} }
@Test @Test
...@@ -39,8 +39,8 @@ public class TestJsonHelper { ...@@ -39,8 +39,8 @@ public class TestJsonHelper {
Assert.assertNotEquals(from, to); Assert.assertNotEquals(from, to);
Assert.assertNotEquals(from.getData(), to.getData()); Assert.assertNotEquals(from.getData(), to.getData());
Assert.assertEquals(from.getData().getData().getName(), to.getData().getData().getName()); Assert.assertEquals(from.getData().getData().getName(), to.getData().getData().getName());
Assert.assertFalse(to.getList() == null); Assert.assertNotNull(to.getList());
Assert.assertTrue(to.getListNull() == null); 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