Klasse PropertyToJavaGenerationTest

java.lang.Object
org.apache.torque.generator.BaseTest
org.apache.torque.generator.control.PropertyToJavaGenerationTest

public class PropertyToJavaGenerationTest extends BaseTest
A test case for a more complex generation. Checks that we can use different generator types in one generation, that debugging output works and that the runOnlyOnSchemaChange detection works.
Version:
$Id: PropertyToJavaGenerationTest.java 1855923 2019-03-20 16:19:39Z gk $
  • Konstruktordetails

    • PropertyToJavaGenerationTest

      public PropertyToJavaGenerationTest()
  • Methodendetails

    • testPropertyToJavaGeneration

      @Test public void testPropertyToJavaGeneration() throws Exception
      Tests that the property to java generation works.
      Löst aus:
      Exception - if the test fails.
    • testPropertyToJavaGenerationDebugOutput

      @Test public void testPropertyToJavaGenerationDebugOutput() throws Exception
      Tests that the property to java generation works with debug output switched on.
      Löst aus:
      Exception - if the test fails.
    • testPropertyToJavaRunOnlyOnSchemChangeNoChange

      @Test public void testPropertyToJavaRunOnlyOnSchemChangeNoChange() throws Exception
      Tests that runOnlyOnSchemaChange set true and an unchanged source results in not generating a second time.
      Löst aus:
      Exception - if the test fails.
    • testPropertyToJavaRunOnlyOnSchemChangeChecksumChange

      @Test public void testPropertyToJavaRunOnlyOnSchemChangeChecksumChange() throws Exception
      Tests that runOnlyOnSchemaChange set true and a different checksum results in generating a second time.
      Löst aus:
      Exception - if the test fails.
    • testPropertyToJavaRunOnlyOnSchemChangeModificationDateChange

      @Test public void testPropertyToJavaRunOnlyOnSchemChangeModificationDateChange() throws Exception
      Tests that runOnlyOnSchemaChange set true and a different modification date results in generating a second time.
      Löst aus:
      Exception - if the test fails.