Package org.zanata.webtrans.shared.model

Examples of org.zanata.webtrans.shared.model.PersonId


    @Test
    public void canUpdateUserSelection() {
        EditorClientId editorClientId = new EditorClientId("sessionId", 1);
        translationWorkspace.addEditorClient("sessionId", editorClientId,
                new PersonId("personId"));
        TransUnit selectedTransUnit = TestFixture.makeTransUnit(1);

        translationWorkspace.updateUserSelection(editorClientId,
                selectedTransUnit.getId());
View Full Code Here


    @Test
    public void onTimeoutRemove() {
        ConcurrentMap<EditorClientId, PersonId> sessions =
                new MapMaker().makeMap();
        sessions.put(new EditorClientId("a", 1), new PersonId("person a"));
        sessions.put(new EditorClientId("b", 1), new PersonId("person b"));

        sessions.remove(new EditorClientId("a", 1));
    }
View Full Code Here

TOP

Related Classes of org.zanata.webtrans.shared.model.PersonId

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.