Package com.sun.star.test

Examples of com.sun.star.test.XSomethingB


        {
            System.out.println( "test component not availble" );
        }
       
        // query for the service interface
        XSomethingB xs= (XSomethingB) UnoRuntime.queryInterface(
            XSomethingB.class, objTest);

        // and call the test method.
        String s= xs.methodTwo("Hello World");
        System.out.println(s);

        // wait until return is pressed
        System.out.println( "Press return to terminate" );
        while( System.in.read() != 10 );
View Full Code Here


                // insert the factory into the local servicemanager
                // From now on, the service can be instantiated !
                insertIntoServiceManager( xUsedServiceManager, factory );
            }           
           
            XSomethingB xSomethingB = SomethingB.create(xUsedComponentContext);
           
            // and call the test method.
            String s= xSomethingB.methodTwo("Hello World!");
            System.out.println(s);
           
            if ( bLocal )
            {
                // remove it again from the servicemanager,
View Full Code Here

                // insert the factory into the local servicemanager
                // From now on, the service can be instantiated !
                insertIntoServiceManager( xUsedServiceManager, factory );
            }           
           
            XSomethingB xSomethingB = SomethingB.create(xUsedComponentContext);
           
            // and call the test method.
            String s= xSomethingB.methodTwo("Hello World!");
            System.out.println(s);
           
            if ( bLocal )
            {
                // remove it again from the servicemanager,
View Full Code Here

        {
            System.out.println( "test component not availble" );
        }
       
        // query for the service interface
        XSomethingB xs= (XSomethingB) UnoRuntime.queryInterface(
            XSomethingB.class, objTest);

        // and call the test method.
        String s= xs.methodTwo("Hello World");
        System.out.println(s);

        // wait until return is pressed
        System.out.println( "Press return to terminate" );
        while( System.in.read() != 10 );
View Full Code Here

                // insert the factory into the local servicemanager
                // From now on, the service can be instantiated !
                insertIntoServiceManager( xUsedServiceManager, factory );
            }           
           
            XSomethingB xSomethingB = SomethingB.create(xUsedComponentContext);
           
            // and call the test method.
            String s= xSomethingB.methodTwo("Hello World!");
            System.out.println(s);
           
            if ( bLocal )
            {
                // remove it again from the servicemanager,
View Full Code Here

                // insert the factory into the local servicemanager
                // From now on, the service can be instantiated !
                insertIntoServiceManager( xUsedServiceManager, factory );
            }           
           
            XSomethingB xSomethingB = SomethingB.create(xUsedComponentContext);
           
            // and call the test method.
            String s= xSomethingB.methodTwo("Hello World!");
            System.out.println(s);
           
            if ( bLocal )
            {
                // remove it again from the servicemanager,
View Full Code Here

        {
            System.out.println( "test component not availble" );
        }
       
        // query for the service interface
        XSomethingB xs= (XSomethingB) UnoRuntime.queryInterface(
            XSomethingB.class, objTest);

        // and call the test method.
        String s= xs.methodTwo("Hello World");
        System.out.println(s);

        // wait until return is pressed
        System.out.println( "Press return to terminate" );
        while( System.in.read() != 10 );
View Full Code Here

TOP

Related Classes of com.sun.star.test.XSomethingB

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.