Package org.apache.tuscany.sca.host.corba.testing.general

Examples of org.apache.tuscany.sca.host.corba.testing.general.TestInterface


     */
    @Test
    public void test_invalidPort() {
        try {
            String url = CorbaHostUtils.createCorbanameURI(LOCALHOST, DEFAULT_PORT + 1, "Name");
            TestInterface servant = new TestInterfaceServant();
            host.registerServant(url, servant);
            fail();
        } catch (CorbaHostException e) {
            // Expected
        } catch (Exception e) {
View Full Code Here


     */
    @Test
    @Ignore("SUN JDK 6 is happy with all kind of names")
    public void test_invalidBindingName() {
        try {
            TestInterface servant = new TestInterfaceServant();
            host.registerServant("---", servant);
            fail();
        } catch (CorbaHostException e) {
            assertTrue(e.getMessage().equals(CorbaHostException.WRONG_NAME));
        } catch (Exception e) {
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.host.corba.testing.general.TestInterface

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.