Package eu.stratosphere.api.java.typeutils.runtime.GenericTypeSerializerTest

Examples of eu.stratosphere.api.java.typeutils.runtime.GenericTypeSerializerTest.ComplexNestedObject1


    SimpleTypes f = new SimpleTypes(rnd.nextInt(), rnd.nextLong(), (byte) rnd.nextInt(),
        StringUtils.getRandomString(rnd, 10, 100), (short) rnd.nextInt(), rnd.nextDouble());
    SimpleTypes g = new SimpleTypes(rnd.nextInt(), rnd.nextLong(), (byte) rnd.nextInt(),
        StringUtils.getRandomString(rnd, 10, 100), (short) rnd.nextInt(), rnd.nextDouble());
   
    ComplexNestedObject1 o1 = new ComplexNestedObject1(5626435);
    ComplexNestedObject1 o2 = new ComplexNestedObject1(76923);
    ComplexNestedObject1 o3 = new ComplexNestedObject1(-1100);
    ComplexNestedObject1 o4 = new ComplexNestedObject1(0);
    ComplexNestedObject1 o5 = new ComplexNestedObject1(44);
   
    ComplexNestedObject2 co1 = new ComplexNestedObject2(rnd);
    ComplexNestedObject2 co2 = new ComplexNestedObject2();
    ComplexNestedObject2 co3 = new ComplexNestedObject2(rnd);
    ComplexNestedObject2 co4 = new ComplexNestedObject2(rnd);
View Full Code Here


    runTests(new SimpleTypes[] {a, b, c}, new SimpleTypes[] {d, e, f, g});
  }
 
  @Test
  public void testCompositeObject() {
    ComplexNestedObject1 o1 = new ComplexNestedObject1(5626435);
    ComplexNestedObject1 o2 = new ComplexNestedObject1(76923);
    ComplexNestedObject1 o3 = new ComplexNestedObject1(-1100);
    ComplexNestedObject1 o4 = new ComplexNestedObject1(0);
    ComplexNestedObject1 o5 = new ComplexNestedObject1(44);
   
    runTests(new ComplexNestedObject1[] {o1, o2}, new ComplexNestedObject1[] {o3}, new ComplexNestedObject1[] {o4, o5});
  }
View Full Code Here

TOP

Related Classes of eu.stratosphere.api.java.typeutils.runtime.GenericTypeSerializerTest.ComplexNestedObject1

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.