Esempio n. 1
0
 @Test
 public void testXstream() {
   GenericSerializeTester serializeTester = new GenericSerializeTester();
   serializeTester.testXstream(gameData, GameData.class);
 }
Esempio n. 2
0
 @Test
 public void testGoogleGson() {
   GenericSerializeTester serializeTester = new GenericSerializeTester();
   serializeTester.testGoogleGson(gameData, GameData.class);
 }
Esempio n. 3
0
 @Test
 public void testJackson() throws IOException {
   GenericSerializeTester serializeTester = new GenericSerializeTester();
   serializeTester.testJackson(gameData, GameData.class);
 }
Esempio n. 4
0
 @Test
 public void testJavaSerialize() throws IOException, ClassNotFoundException {
   GenericSerializeTester serializeTester = new GenericSerializeTester();
   serializeTester.testJavaSerialize(gameData, GameData.class);
 }