Package com.google.appengine.tools.mapreduce.testModels

Examples of com.google.appengine.tools.mapreduce.testModels.SimpleJsonWithWrapperTypes


  public void testGeneratedJsonForClassWithWrapperType() {
    BigQueryDataMarshallerTester<SimpleJsonWithWrapperTypes> tester =
        new BigQueryDataMarshallerTester<SimpleJsonWithWrapperTypes>(new BigQueryMarshallerByType<
            SimpleJsonWithWrapperTypes>(SimpleJsonWithWrapperTypes.class));
    tester.testGeneratedJson("{\"name\":\"test\",\"id\":1, \"value\":1.5}",
        new SimpleJsonWithWrapperTypes(Integer.valueOf(1), "test", Float.valueOf("1.5")));
  }
View Full Code Here

TOP

Related Classes of com.google.appengine.tools.mapreduce.testModels.SimpleJsonWithWrapperTypes

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.