01: package org.antmod.scm.impl;
02:
03: import junit.framework.TestCase;
04:
05: /**
06: *
07: * @author Klaas Waslander
08: */
09: public class CvsSystemImplTest extends TestCase {
10:
11: public void testCountVersionChars() {
12: assertEquals(1, CvsSystemImpl.countVersionChars('-',
13: "modulename_1-2"));
14: assertEquals(2, CvsSystemImpl.countVersionChars('-',
15: "modulename_1-2-3"));
16: }
17:
18: }
|