org.codehaus.mojo.sql
Class SqlExecMojoTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
org.apache.maven.plugin.testing.AbstractMojoTestCase
org.codehaus.mojo.sql.SqlExecMojoTest
- All Implemented Interfaces:
- junit.framework.Test
public class SqlExecMojoTest
- extends org.apache.maven.plugin.testing.AbstractMojoTestCase
Unit test for simple SqlExecMojo.
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
basedir, container |
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase |
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObject |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, 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 |
SqlExecMojoTest
public SqlExecMojoTest()
setUp
public void setUp()
throws Exception
- Overrides:
setUp
in class org.apache.maven.plugin.testing.AbstractMojoTestCase
- Throws:
Exception
testNoCommandMojo
public void testNoCommandMojo()
throws org.apache.maven.plugin.MojoExecutionException
- No error when there is no input
- Throws:
org.apache.maven.plugin.MojoExecutionException
testCreateCommandMojo
public void testCreateCommandMojo()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
testDropCommandMojo
public void testDropCommandMojo()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
testFileSetMojo
public void testFileSetMojo()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
testFileArrayMojo
public void testFileArrayMojo()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
testAllMojo
public void testAllMojo()
throws org.apache.maven.plugin.MojoExecutionException
- Ensure srcFiles always execute first
- Throws:
org.apache.maven.plugin.MojoExecutionException
testOrderFile
public void testOrderFile()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
testOnErrorContinueMojo
public void testOnErrorContinueMojo()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
testOnErrorAbortMojo
public void testOnErrorAbortMojo()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
testOnErrorAbortAfterMojo
public void testOnErrorAbortAfterMojo()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
testDefaultUsernamePassword
public void testDefaultUsernamePassword()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
testUsernamePasswordLookup
public void testUsernamePasswordLookup()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
testBadDriver
public void testBadDriver()
testBadUrl
public void testBadUrl()
testBadFile
public void testBadFile()
testOnError
public void testOnError()
testSkip
public void testSkip()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
testDriverProperties
public void testDriverProperties()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
testBlockMode
public void testBlockMode()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
testKeepFormat
public void testKeepFormat()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
testBadDelimiter
public void testBadDelimiter()
throws Exception
- Throws:
Exception
testGoodDelimiter
public void testGoodDelimiter()
throws Exception
- Throws:
Exception
testBadDelimiterType
public void testBadDelimiterType()
throws Exception
- Throws:
Exception
testGoodDelimiterType
public void testGoodDelimiterType()
throws Exception
- Throws:
Exception
testOutputFile
public void testOutputFile()
throws Exception
- Throws:
Exception
Copyright © 2006-2011 The Kuali Foundation. All Rights Reserved.