Examples of ProjectIterationDAO


Examples of org.zanata.dao.ProjectIterationDAO

                versionGroupServiceImpl.getGroupActiveLocales(GROUP1_SLUG)
                        .size();
        assertThat(map.size(), equalTo(activateLocaleSize));

        // See ProjectsData.dbunit.xml, HProjectIteration id="900" in group1
        ProjectIterationDAO projectIterationDAO =
                new ProjectIterationDAO(getSession());
        HProjectIteration version = projectIterationDAO.findById(new Long(900));

        for (List<HProjectIteration> versions : map.values()) {
            assertThat("", versions, Matchers.contains(version));
        }
    }
View Full Code Here

Examples of org.zanata.dao.ProjectIterationDAO

    @BeforeMethod(firstTimeOnly = true)
    public void beforeMethod() {
        localeDAO = new LocaleDAO((Session) em.getDelegate());
        projectIterationDAO =
                new ProjectIterationDAO((Session) em.getDelegate());
        en_US = localeDAO.findByLocaleId(LocaleId.EN_US);
    }
View Full Code Here

Examples of org.zanata.dao.ProjectIterationDAO

                .autowire(TransUnitTransformer.class);

            seam.use("localeServiceImpl", localeService)
                        .use("documentDAO", new DocumentDAO(getSession()))
                        .use("projectIterationDAO",
                                new ProjectIterationDAO(getSession()))
                        .use("entityManager",
                                new FullTextEntityManagerImpl(getEm()))
                        .use("session", new FullTextSessionImpl(getSession()))
                        .use("identity", identity)
                        .use("textFlowDAO", new TextFlowDAO(getSession()))
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.