Class PrimitiveEntityTest

java.lang.Object
org.fastnate.generator.test.AbstractEntitySqlGeneratorTest
org.fastnate.generator.test.primitive.PrimitiveEntityTest

public class PrimitiveEntityTest extends AbstractEntitySqlGeneratorTest
Tests that primitive properties are written correctly.
Author:
Tobias Liefke
  • Constructor Details

    • PrimitiveEntityTest

      public PrimitiveEntityTest()
  • Method Details

    • testConvertedProperties

      @Test public void testConvertedProperties() throws IOException
      Tests that converted properties are written.
      Throws:
      IOException - if the generator throws one
    • testEnumProperties

      @Test public void testEnumProperties() throws IOException
      Tests to write enum properties in an entity.
      Throws:
      IOException - if the generator throws one
    • testLobs

      @Test public void testLobs() throws IOException
      Tests to write BLOBs and CLOBs. Expected to fail with PostgreSQL.
      Throws:
      IOException - if the generator throws one
    • testPrimitiveProperties

      @Test public void testPrimitiveProperties() throws IOException
      Tests to write primitive properties in an entity.
      Throws:
      IOException - if the generator throws one
    • testSerializableProperties

      @Test public void testSerializableProperties() throws IOException
      Tests to write primitive properties in an entity.
      Throws:
      IOException - if the generator throws one
    • testTransientProperties

      @Test public void testTransientProperties() throws IOException
      Tests that transient properties are not written.
      Throws:
      IOException - if the generator throws one