Package com.example.types

Examples of com.example.types.ABStringDict


public class AddStringDictsTestCase extends TestServiceTestCase {

    @Test
    public void test_null_args() throws Exception {
        ABStringDict r = port.add_string_dicts(null, null);
        Assert.assertEquals("", r.getA());
        Assert.assertEquals("", r.getB());
    }
View Full Code Here


        Assert.assertEquals("", r.getB());
    }

    @Test
    public void test_notset() throws Exception {
        ABStringDict p = new ABStringDict();
        ABStringDict q = new ABStringDict();
        ABStringDict r = port.add_string_dicts(p, q);
        Assert.assertEquals("", r.getA());
        Assert.assertEquals("", r.getB());
    }
View Full Code Here

        Assert.assertEquals("", r.getB());
    }

    @Test
    public void test_null() throws Exception {
        ABStringDict p = new ABStringDict(null, null);
        ABStringDict q = new ABStringDict(null, null);
        ABStringDict r = port.add_string_dicts(p, q);
        Assert.assertEquals("", r.getA());
        Assert.assertEquals("", r.getB());
    }
View Full Code Here

        Assert.assertEquals("", r.getB());
    }

    @Test
    public void test_empty() throws Exception {
        ABStringDict p = new ABStringDict("", "");
        ABStringDict q = new ABStringDict("", "");
        ABStringDict r = port.add_string_dicts(p, q);
        Assert.assertEquals("", r.getA());
        Assert.assertEquals("", r.getB());
    }
View Full Code Here

        Assert.assertEquals("", r.getB());
    }

    @Test
    public void test() throws Exception {
        ABStringDict p = new ABStringDict("hello", "say");
        ABStringDict q = new ABStringDict(" world", " hello");
        ABStringDict r = port.add_string_dicts(p, q);
        Assert.assertEquals("hello world", r.getA());
        Assert.assertEquals("say hello", r.getB());
    }
View Full Code Here

TOP

Related Classes of com.example.types.ABStringDict

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.