org.liquibase.maven.plugins
Class LiquibaseUpdateMojoTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.plugin.testing.AbstractMojoTestCase
                  extended by org.liquibase.maven.plugins.AbstractLiquibaseMojoTest
                      extended by org.liquibase.maven.plugins.LiquibaseUpdateMojoTest
All Implemented Interfaces:
junit.framework.Test

public class LiquibaseUpdateMojoTest
extends AbstractLiquibaseMojoTest

Some basic tests that validate the setting of properties for the LiquibaseUpdate mojo.

Author:
Peter Murray

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
LiquibaseUpdateMojoTest()
           
 
Method Summary
 void testNoPropertiesFile()
           
 void testOverideAllWithPropertiesFile()
           
 void testOverrideAllButDriverWithPropertiesFile()
           
 void testPropertiesFilePresentWithNoOverrideAndMissingProperty()
           
 
Methods inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojoTest
checkValues, checkValues, createPropertiesFile, dumpValues, loadConfiguration, loadPropertiesFileIfPresent
 
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setUp, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LiquibaseUpdateMojoTest

public LiquibaseUpdateMojoTest()
Method Detail

testNoPropertiesFile

public void testNoPropertiesFile()
                          throws Exception
Throws:
Exception

testOverideAllWithPropertiesFile

public void testOverideAllWithPropertiesFile()
                                      throws Exception
Throws:
Exception

testOverrideAllButDriverWithPropertiesFile

public void testOverrideAllButDriverWithPropertiesFile()
                                                throws Exception
Throws:
Exception

testPropertiesFilePresentWithNoOverrideAndMissingProperty

public void testPropertiesFilePresentWithNoOverrideAndMissingProperty()
                                                               throws Exception
Throws:
Exception


Copyright © 2004-2011 Liquibase.org. All Rights Reserved.