01: package org.objectweb.celtix.version;
02:
03: import junit.framework.TestCase;
04:
05: public class VersionTest extends TestCase {
06:
07: public void testLoadProperties() {
08: String version = Version.getCurrentVersion();
09: String token = "${product.version}";
10: assertFalse(token.equals(version));
11: }
12:
13: public void testGetVersion() {
14: String completeVersion = Version.getCompleteVersionString();
15: String currentVersion = Version.getCurrentVersion();
16: assertEquals(completeVersion, currentVersion);
17: }
18: }
|