Package net.sourceforge.cruisecontrol

Examples of net.sourceforge.cruisecontrol.Modification


        entry.add("$/WILD/Client/English");
        entry.add("Version: 15");
        entry.add("User: Ddavis          Date:  7/10/01  Time: 10:41a");
        entry.add("body3.htm renamed to step3.htm ");
       
        Modification mod = element.handleEntry(entry);
        assertEquals(mod.getFileName(), "body3.htm");
        assertEquals(mod.getFolderName(), "$/WILD/Client/English");
        assertEquals(mod.comment, "");
        assertEquals(mod.userName, "Ddavis");
        assertEquals(mod.type, "vss");
       
        Modification.ModifiedFile modfile = (Modification.ModifiedFile) mod.files.get(0);
View Full Code Here


        entry.add("Version: 7");
        entry.add("User: Etucker         Date:  7/06/01  Time: 10:28a");
        entry.add("Labeled test_label");
        entry.add("Comment: Just testing to see what all gets put in the log file");
       
        Modification mod = element.handleEntry(entry);
       
        assertEquals("Label entry added. Labels shouldn't be added.",
                     null, mod);
    }
View Full Code Here

        entry.add("Label: \"Completely new version!\"");
        entry.add("User: Arass        Date: 10/21/02   Time: 12:48p");
        entry.add("Checked in $/code/development/src/org/ets/cbtidg/common/gui");
        entry.add("Comment: This is where I add a completely new, but alot nicer version of the date chooser.");

        Modification modification = vss.handleEntry(entry);
        assertEquals("DateChooser.java", modification.fileName);

        assertEquals("/code/development/src/org/ets/cbtidg/common/gui", modification.folderName);
        assertEquals(
            "Comment: This is where I add a completely new, but alot nicer version of the date chooser.",
View Full Code Here

        entry.add("Version 10");
        entry.add("User: Etucker      Date:  7/03/01   Time:  3:24p");
        entry.add("Checked in $/Eclipse/src/main/com/itxc/eclipse/some/path/here");
        entry.add("Comment: updated country codes for Colombia and Slovokia");

        Modification mod = vss.handleEntry(entry);
        assertEquals(mod.fileName, "ttyp_direct.properties");
        assertEquals(mod.folderName, "/Eclipse/src/main/com/itxc/eclipse/some/path/here");
        assertEquals(mod.comment, "Comment: updated country codes for Colombia and Slovokia");
        assertEquals(mod.userName, "Etucker");
        assertEquals(mod.type, "checkin");
View Full Code Here

        entry.add("*****  a  *****");
        entry.add("Version 19");
        entry.add("User: Etucker      Date:  7/03/01   Time: 11:16a");
        entry.add("$/Users/jfredrick/test1/b/move.file.2 shared");

        Modification mod = vss.handleEntry(entry);
        assertEquals(mod.fileName, "$/Users/jfredrick/test1/b/move.file.2");
        assertEquals(mod.userName, "Etucker");
        assertEquals(mod.folderName, "$\\vsspath\\a");
        assertEquals(mod.type, "share");
    }
View Full Code Here

        entry.add("*****  core  *****");
        entry.add("Version 19");
        entry.add("User: Etucker      Date:  7/03/01   Time: 11:16a");
        entry.add("SessionIdGenerator.java branched");

        Modification mod = vss.handleEntry(entry);
        assertEquals(mod.fileName, "SessionIdGenerator.java");
        assertEquals(mod.userName, "Etucker");
        assertEquals(mod.folderName, "$\\vsspath\\core");
        assertEquals(mod.type, "branch");
    }
View Full Code Here

         entry.add("*****  branch.file.1  *****");
         entry.add("Version 19");
         entry.add("User: Etucker      Date:  7/03/01   Time: 11:16a");
         entry.add("Branched");

         Modification mod = vss.handleEntry(entry);
         assertNull(mod);

     }
View Full Code Here

        entry.add("*****  core  *****");
        entry.add("Version 19");
        entry.add("User: Etucker      Date:  7/03/01   Time: 11:16a");
        entry.add("SessionIdGenerator.java added");

        Modification mod = vss.handleEntry(entry);
        assertEquals(mod.fileName, "SessionIdGenerator.java");
        assertEquals(mod.userName, "Etucker");
        assertEquals(mod.folderName, "$\\vsspath\\core");
        assertEquals(mod.type, "add");
    }
View Full Code Here

           vss.setVsspath("\\vsspath");
           entry.add("*****************  Version 19  *****************");
           entry.add("User: MStave      Date:  7/03/01   Time: 11:16a");
           entry.add("SessionIdGenerator.java added");

           Modification mod = vss.handleEntry(entry);
           assertEquals(mod.fileName, "SessionIdGenerator.java");
           assertEquals(mod.userName, "MStave");
           assertEquals(mod.folderName, "$\\vsspath");
           assertEquals(mod.type, "add");
       }
View Full Code Here

            entry.add("*****  core  *****");
            entry.add("Version 19");
            entry.add("User: Etucker      Date:  7/03/01   Time: 11:16a");
            entry.add("SessionIdGenerator.java renamed to SessionId.java");

            Modification modification = vss.handleEntry(entry);
            assertEquals(
                "SessionIdGenerator.java renamed to SessionId.java",
                modification.fileName);
            assertEquals("Etucker", modification.userName);
            assertEquals("rename", modification.type);
View Full Code Here

TOP

Related Classes of net.sourceforge.cruisecontrol.Modification

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.