Package test.rpc

Examples of test.rpc.IF2SOAP


        }
    }

    public void testGetAllBeansFiltered() {
        try {
            IF2SOAP soap = m_soap;
            String[] filter = new String[1];
            filter[0] = "11011011011";
            IF1[] beans = soap.getAllBeans(filter);
            assertNotNull("beans is null", beans);
            System.out.println("allBeansFiltered:");
            for (int i = 0; i < beans.length; i++)
                System.out.println("id[" + i + "]: " + beans[i].getId());
        } catch (Exception e) {
View Full Code Here


   
    protected void tearDown() {
    } // tearDown
   
    public void testGetBeanById() throws Exception {
        IF2SOAP soap = m_soap;
        IF1 bean = soap.getBeanById("42042042042");
        assertNotNull("bean is null", bean);
        System.out.println("beanById:");
        System.out.println("id: " + bean.getId());
    }
View Full Code Here

        System.out.println("beanById:");
        System.out.println("id: " + bean.getId());
    }
   
    public void testGetAllBeans() throws Exception {
        IF2SOAP soap = m_soap;
        IF1[] beans = soap.getAllBeans();
        assertNotNull("beans is null", beans);
        System.out.println("allBeans:");
        for (int i = 0; i < beans.length; i++)
            System.out.println("id[" + i + "]: " + beans[i].getId());
    }
View Full Code Here

        for (int i = 0; i < beans.length; i++)
            System.out.println("id[" + i + "]: " + beans[i].getId());
    }
   
    public void testGetAllBeansFiltered() throws Exception {
        IF2SOAP soap = m_soap;
        String[] filter = new String[1];
        filter[0] = "11011011011";
        IF1[] beans = soap.getAllBeans(filter);
        assertNotNull("beans is null", beans);
        System.out.println("allBeansFiltered:");
        for (int i = 0; i < beans.length; i++)
            System.out.println("id[" + i + "]: " + beans[i].getId());
    }
View Full Code Here

        for (int i = 0; i < beans.length; i++)
            System.out.println("id[" + i + "]: " + beans[i].getId());
    }
   
    public void testGetAllCategories() throws Exception {
        IF2SOAP soap = m_soap;
        String[] categories = soap.getAllCategories();
        assertNotNull("categories is null", categories);
        System.out.println("allCategories:");
        for (int i = 0; i < categories.length; i++)
            System.out.println("cat[" + i + "]: " + categories[i]);
    }
View Full Code Here

        for (int i = 0; i < categories.length; i++)
            System.out.println("cat[" + i + "]: " + categories[i]);
    }
   
    public void testGetBeansByCategory() throws Exception {
        IF2SOAP soap = m_soap;
        IF1[] beans = soap.getBeansByCategory("Test");
        assertNotNull("beans is null", beans);
        System.out.println("beansByCategory:");
        for (int i = 0; i < beans.length; i++)
            System.out.println("id[" + i + "]: " + beans[i].getId());
    }
View Full Code Here

        for (int i = 0; i < beans.length; i++)
            System.out.println("id[" + i + "]: " + beans[i].getId());
    }
   
    public void testGetBeansByCategoryFiltered() throws Exception {
        IF2SOAP soap = m_soap;
        String[] filter = new String[1];
        filter[0] = "11011011011";
        IF1[] beans = soap.getBeansByCategory("Test", filter);
        assertNotNull("beans is null", beans);
        System.out.println("beansByCategoryFiltered:");
        for (int i = 0; i < beans.length; i++)
            System.out.println("id[" + i + "]: " + beans[i].getId());
    }
View Full Code Here

        for (int i = 0; i < beans.length; i++)
            System.out.println("id[" + i + "]: " + beans[i].getId());
    }
   
    public void testGetBeansByDate() throws Exception {
        IF2SOAP soap = m_soap;
        Calendar[] dates = new Calendar[1];
        dates[0] = new GregorianCalendar();
        IF1[] beans = soap.getBeansByDate(dates);
        assertNotNull("beans is null", beans);
        System.out.println("beansByDate:");
        for (int i = 0; i < beans.length; i++)
            System.out.println("id[" + i + "]: " + beans[i].getId());
    }
View Full Code Here

        for (int i = 0; i < beans.length; i++)
            System.out.println("id[" + i + "]: " + beans[i].getId());
    }
   
    public void testGetBeansByDateFiltered() throws Exception {
        IF2SOAP soap = m_soap;
        String[] filter = new String[1];
        filter[0] = "11011011011";
        Calendar[] dates = new Calendar[1];
        dates[0] = new GregorianCalendar();
        IF1[] beans = soap.getBeansByDate(dates, filter);
        assertNotNull("beans is null", beans);
        System.out.println("beansByDateFiltered:");
        for (int i = 0; i < beans.length; i++)
            System.out.println("id[" + i + "]: " + beans[i].getId());
    }
View Full Code Here

        for (int i = 0; i < beans.length; i++)
            System.out.println("id[" + i + "]: " + beans[i].getId());
    }
   
    public void testGetBeansByExpression() throws Exception {
        IF2SOAP soap = m_soap;
        IF1[] beans = soap.getBeansByExpression(IF2SOAP.KEYWORD_EXP, "keyword");
        assertNotNull("beans is null", beans);
        System.out.println("beansByExpression:");
        for (int i = 0; i < beans.length; i++)
            System.out.println("id[" + i + "]: " + beans[i].getId());
    }
View Full Code Here

TOP

Related Classes of test.rpc.IF2SOAP

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.