org.apache.maven.plugin.eclipse.writers
Class EclipseWtpComponent15WriterTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.plugin.eclipse.writers.EclipseWtpComponent15WriterTest
All Implemented Interfaces:
junit.framework.Test

public class EclipseWtpComponent15WriterTest
extends junit.framework.TestCase

Component writer test for WTP 1.5.

Author:
Steffen Grunwald

Constructor Summary
EclipseWtpComponent15WriterTest()
           
 
Method Summary
protected  void tearDown()
           
 void testWriteEjbComponentMECLIPSE455()
          Tests the creation of the ejb module references in the org.eclipse.wst.common.component file for: component file of EAR WTP 1.5 dep is referenced project The archivename is expected to be jar - independent from the packaging (ejb).
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 

Constructor Detail

EclipseWtpComponent15WriterTest

public EclipseWtpComponent15WriterTest()
Method Detail

tearDown

protected void tearDown()
                 throws java.io.IOException
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.io.IOException

testWriteEjbComponentMECLIPSE455

public void testWriteEjbComponentMECLIPSE455()
                                      throws org.apache.maven.plugin.MojoExecutionException,
                                             java.io.IOException,
                                             org.jdom.JDOMException
Tests the creation of the ejb module references in the org.eclipse.wst.common.component file for: The archivename is expected to be jar - independent from the packaging (ejb).

Throws:
org.apache.maven.plugin.MojoExecutionException - Exception
java.io.IOException - Exception
org.jdom.JDOMException - Exception


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