org.apache.maven.doxia.macro.snippet
Class SnippetMacroTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.doxia.macro.snippet.SnippetMacroTest
All Implemented Interfaces:
junit.framework.Test

public class SnippetMacroTest
extends org.codehaus.plexus.PlexusTestCase

Test snippet macro.

Author:
ltheussl

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
container, context
 
Constructor Summary
SnippetMacroTest()
           
 
Method Summary
 void testExecute()
          Test of execute method, of class SnippetMacro.
 void testIgnoreDownloadError()
           
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SnippetMacroTest

public SnippetMacroTest()
Method Detail

testExecute

public void testExecute()
                 throws MacroExecutionException
Test of execute method, of class SnippetMacro.

Throws:
MacroExecutionException - if a macro fails during testing.

testIgnoreDownloadError

public void testIgnoreDownloadError()
                             throws Exception
Throws:
Exception


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.