org.apache.maven.plugin.eclipse
Class EclipseToMavenTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.plugin.eclipse.EclipseToMavenTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
MakeArtifactsTest

public class EclipseToMavenTest
extends junit.framework.TestCase

Version:
$Id: EclipseToMavenTest.java 595476 2007-11-15 22:21:55Z aheritier $
Author:
Fabrizio Giustina, Carlos Sanchez

Field Summary
protected  EclipseToMavenMojo mojo
          Mojo under test.
 
Constructor Summary
EclipseToMavenTest()
           
 
Method Summary
protected  void setUp()
           
 void testCreateArtifactId()
          Test the generation of a artifactId from a bundle symbolic name.
 void testCreateGroupId()
          Test the generation of a groupId from a bundle symbolic name.
 void testOsgiVersionToMavenVersion()
           
 void testParseDependencies()
          Tests the parsing of the "Require-Bundle" entry from a manifest.
 void testParseDependenciesWithQualifier()
          Tests the parsing of the "Require-Bundle" entry from a manifest.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mojo

protected EclipseToMavenMojo mojo
Mojo under test.

Constructor Detail

EclipseToMavenTest

public EclipseToMavenTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception
See Also:
TestCase.setUp()

testParseDependencies

public void testParseDependencies()
Tests the parsing of the "Require-Bundle" entry from a manifest.


testParseDependenciesWithQualifier

public void testParseDependenciesWithQualifier()
Tests the parsing of the "Require-Bundle" entry from a manifest.


testCreateGroupId

public void testCreateGroupId()
Test the generation of a groupId from a bundle symbolic name.


testCreateArtifactId

public void testCreateArtifactId()
Test the generation of a artifactId from a bundle symbolic name.


testOsgiVersionToMavenVersion

public void testOsgiVersionToMavenVersion()


Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.