Package net.sourceforge.cruisecontrol

Examples of net.sourceforge.cruisecontrol.ClearCaseModification


        List elts = doc.getRootElement().getChildren();

        Iterator it = elts.iterator();
        while (it.hasNext()) {
           Element elt = (Element) it.next();
           ClearCaseModification mod = new ClearCaseModification();
           mod.fromElement(elt, DATE_FMT);
           mods.add(mod);
        }
    }
View Full Code Here


        List list = clearCase.parseStream(stream);
        assertEquals(mods.size(), list.size());

        for (int i = 0; i < list.size(); i++) {
            ClearCaseModification a = (ClearCaseModification) mods.get(i);
            ClearCaseModification b = (ClearCaseModification) list.get(i);
            assertEquals(a.type, b.type);
            assertEquals(a.fileName, b.fileName);
            assertEquals(a.folderName, b.folderName);
            assertEquals(a.modifiedTime, b.modifiedTime);
            assertEquals(a.userName, b.userName);
View Full Code Here

        while ((line = reader.readLine()) != null) {
            if (!lines.equals("")) {
                lines += ls;
            }
            lines += line;
            ClearCaseModification mod = null;
            if (lines.indexOf(END_OF_STRING_DELIMITER) > -1) {
                mod = parseEntry(lines.substring(0, lines.indexOf(END_OF_STRING_DELIMITER)));
                lines = "";
            }
            if (mod != null) {
View Full Code Here

        // A branch event shouldn't trigger a build
        if (operationType.equals("mkbranch")) {
            return null;
        }

        ClearCaseModification mod = new ClearCaseModification();

        mod.userName = username;

        int sep = elementName.lastIndexOf(File.separator);
        if (sep > -1) {
View Full Code Here

TOP

Related Classes of net.sourceforge.cruisecontrol.ClearCaseModification

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.