Package com.peusoft.ptcollect.core.persistance.domain

Examples of com.peusoft.ptcollect.core.persistance.domain.User


    /**
     * Test method for {@link IConfigurationClientService#login(String, String, boolean)}.
     */
    @Test
    public void testLogin() {
        User user = configSrv.login("test", "testpwd", true);
        assertNotNull("User is null.", user);
    }
View Full Code Here


    public static final String SURNAME = "Bloch";
    public static final String TITLE = "Hr.";
    public static final String UID = "fritz";

    public static User getUser() {
        User user = new User();
        user.setAddress(ADDRESS);
        user.setUserType(UserType.ADMIN);
        user.setEmail(EMAIL);
        user.setFax(FAX);
        user.setMobile(MOBILE);
        user.setName(NAME);
        user.setPassword(PASSWORD);
        user.setPhone(PHONE);
        user.setSurName(SURNAME);
        user.setTitle(TITLE);
        user.setUid(UID);
        return user;
    }
View Full Code Here

        ArrayList<AbstractDomainObject> new_objs = new ArrayList<AbstractDomainObject>();
        Stack<AbstractDomainObject> del_objs = new Stack<AbstractDomainObject>();

        // create test static data
        User user = UserServiceExampleData.getUser1();
        new_objs.add(user);
        del_objs.push(user);

        Project p = new Project();
        p.setProjectState(ProjectState.OPENED);
View Full Code Here

TOP

Related Classes of com.peusoft.ptcollect.core.persistance.domain.User

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.