Package org.nxplanner.soap.domain

Examples of org.nxplanner.soap.domain.ProjectData


        XPlanner xplanner = createXPlanner();
        ProjectData[] projects = xplanner.getProjects();

        assertEquals("wrong # of project", 1, projects.length);

        ProjectData soapProject = xplanner.getProject(project.getId());
        assertNotNull("project not found", soapProject);
    }
View Full Code Here


        assertNotNull("no iteration", data);
        assertEquals("wrong iteration", iteration.getId(), data.getId());
    }

    public void testProjectCRUD() throws Exception {
        ProjectData expected = new ProjectData();
        expected.setName("Test project");
        expected.setDescription("This is the test project for CRUD");
        ProjectData actual = xplanner.addProject(expected);
        int id = actual.getId();
        try {
            assertEquals(expected, actual, new String[]{"name", "description"});

            expected = actual;
            actual = xplanner.getProject(id);
View Full Code Here

TOP

Related Classes of org.nxplanner.soap.domain.ProjectData

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.