/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* See LICENSE.txt included in this distribution for the specific
* language governing permissions and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at LICENSE.txt.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
/**
*
* @author austvik
*/
public class CVSHistoryParserTest {
public CVSHistoryParserTest() {
}
}
}
public void setUp() {
instance = new CVSHistoryParser();
}
public void tearDown() {
}
/**
* Test of parse method, of class CVSHistoryParser.
*/
@Test
}
/**
* Parse something that could come out from the W3C public CVS repository
*
* @throws java.lang.Exception
*/
@Test
"\n" +
"Working file: name.ext\n" +
"head: 1.23\n" +
"branch:\n" +
"locks: strict\n" +
"access list:\n" +
"symbolic names:\n" +
"keyword substitution: kv\n" +
"total revisions: 4;\tselected revisions: 3\n" +
"description:\n" +
"----------------------------\n" +
"; state: Exp; lines: +2 -2;\n" +
"a comment\n" +
"----------------------------\n" +
"; state: Exp; lines: +2 -4;\n" +
"just a short comment\n" +
"----------------------------\n" +
"; state: Exp; lines: +6 -2;\n" +
"some comment that is\n" +
"spanning two lines\n" +
"==========================================================" +
"===================\n";
assertTrue("Should contain comment of both lines: line 1",
assertTrue("Should contain comment of both lines: line 2",
}
}