Package com.alibaba.json.test.dubbo

Examples of com.alibaba.json.test.dubbo.Tiger


    }

    private HelloServiceImpl helloService = new HelloServiceImpl();

    public void f_testParamType4() {
        Tiger tiger = new Tiger();
        tiger.setTigerName("东北虎");
        tiger.setTigerSex(true);
        Tigers tigers = helloService.eatTiger(tiger);

        String text = JSON.toJSONString(tigers, SerializerFeature.WriteClassName);
        System.out.println(text);
View Full Code Here


public class Bug_for_dubbo extends TestCase {
    public void test_0 () throws Exception {
        HelloServiceImpl helloService = new HelloServiceImpl();
       
        Tiger tiger = new Tiger();
        tiger.setTigerName("东北虎");
        tiger.setTigerSex(true);
        //Tiger tigers = helloService.eatTiger(tiger).getTiger();
       
        Tigers tigers = helloService.eatTiger(tiger);
        Assert.assertNotNull(tigers.getTiger());
       
View Full Code Here

public class Bug_for_dubbo extends TestCase {
    public void test_0 () throws Exception {
        HelloServiceImpl helloService = new HelloServiceImpl();
       
        Tiger tiger = new Tiger();
        tiger.setTigerName("东北虎");
        tiger.setTigerSex(true);
        //Tiger tigers = helloService.eatTiger(tiger).getTiger();
       
        Tigers tigers = helloService.eatTiger(tiger);
        Assert.assertNotNull(tigers.getTiger());
       
View Full Code Here

    }

    private HelloServiceImpl helloService = new HelloServiceImpl();

    public void f_testParamType4() {
        Tiger tiger = new Tiger();
        tiger.setTigerName("东北虎");
        tiger.setTigerSex(true);
        Tigers tigers = helloService.eatTiger(tiger);

        String text = JSON.toJSONString(tigers, SerializerFeature.WriteClassName);
        System.out.println(text);
View Full Code Here

TOP

Related Classes of com.alibaba.json.test.dubbo.Tiger

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.