~verterok/bzr-java-lib/bzr-java-lib

« back to all changes in this revision

Viewing changes to src/test/java/org/vcs/bazaar/client/commandline/parser/XMLVersionParserTest.java

  • Committer: Guillermo Gonzalez
  • Date: 2010-12-28 19:14:46 UTC
  • mfrom: (215.1.1 fix-null-info)
  • Revision ID: guillo.gonzo@gmail.com-20101228191446-31ftridaac0tk2vf
merge fix for null info result.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 */
17
17
public class XMLVersionParserTest extends ParserTest {
18
18
 
19
 
        @Test public void testSimpleAnnotation() throws BazaarClientException, IOException {
 
19
        @Test 
 
20
        public void testParseVersion() throws BazaarClientException, IOException {
20
21
                BazaarVersion version = XMLVersionParser.parse(getContentsFrom(versionFile));
21
22
                Assert.assertNotNull(version);
22
23
                Assert.assertEquals(version.getVersion(), "2.0rc2");