Package org.rhq.enterprise.server.plugins.drift.mongodb.dao

Examples of org.rhq.enterprise.server.plugins.drift.mongodb.dao.FileDAO.findById()


        changeSetDAO.save(changeSet);
       
        driftServer.purgeOrphanedContent();

        FileDAO fileDAO = new FileDAO(ds.getDB());
        assertNull(fileDAO.findById(file2.getName()), "Expected unreferenced file to be deleted");
        assertNotNull(fileDAO.findById(file1.getName()), "Referenced file should not be deleted");
    }
   
    @Test
    public void findChangeSetsByCriteriaAndDoNotFetchDrifts() throws Exception {
View Full Code Here


       
        driftServer.purgeOrphanedContent();

        FileDAO fileDAO = new FileDAO(ds.getDB());
        assertNull(fileDAO.findById(file2.getName()), "Expected unreferenced file to be deleted");
        assertNotNull(fileDAO.findById(file1.getName()), "Referenced file should not be deleted");
    }
   
    @Test
    public void findChangeSetsByCriteriaAndDoNotFetchDrifts() throws Exception {
        String driftDefName = "testdef";
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.