Package org.xwiki.xmlrpc.model

Examples of org.xwiki.xmlrpc.model.XWikiClass


    }

    public void testGetXWikiClass() throws Exception
    {
        List<XWikiClassSummary> xwikiClasses = rpc.getClasses();
        XWikiClass xwikiClass = rpc.getClass(xwikiClasses.get(0).getId());

        TestUtils.banner("TEST: getXWikiClass()");
        System.out.format("%s\n", xwikiClass);

        assertEquals(xwikiClasses.get(0).getId(), xwikiClass.getId());
    }
View Full Code Here


    }

    public void testGetNonExistentXWikiClass() throws Exception
    {
        try {
            XWikiClass xwikiClass = rpc.getClass("thisClassShouldNotExist");
            fail();
        } catch (Exception e) {
        }
    }
View Full Code Here

    }

    public void testGetXWikiClass() throws Exception
    {
        List<XWikiClassSummary> xwikiClasses = rpc.getClasses();
        XWikiClass xwikiClass = rpc.getClass(xwikiClasses.get(0).getId());

        TestUtils.banner("TEST: getXWikiClass()");
        System.out.format("%s\n", xwikiClass);

        assertEquals(xwikiClasses.get(0).getId(), xwikiClass.getId());
    }
View Full Code Here

    }

    public void testGetNonExistentXWikiClass() throws Exception
    {
        try {
            XWikiClass xwikiClass = rpc.getClass("thisClassShouldNotExist");
            fail();
        } catch (Exception e) {
        }
    }
View Full Code Here

TOP

Related Classes of org.xwiki.xmlrpc.model.XWikiClass

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.