Class CodecTestBase<A>

java.lang.Object
io.codemine.java.postgresql.CodecTestBase<A>
Direct Known Subclasses:
BitCodecTest, BitWithSizeCodecTest, BoolCodecTest, BoxCodecTest, BpcharCodecTest, BpcharWithSizeCodecTest, ByteaCodecTest, CharCodecTest, CidrCodecTest, CircleCodecTest, CitextCodecTest, DateCodecTest, DateMultirangeCodecTest, DateRangeCodecTest, EnumCodecTest, Float4CodecTest, Float8CodecTest, HstoreCodecTest, InetCodecTest, Int2CodecTest, Int4CodecTest, Int4MultirangeCodecTest, Int4RangeCodecTest, Int8CodecTest, Int8MultirangeCodecTest, Int8RangeCodecTest, IntervalCodecTest, JsonbCodecTest, JsonCodecTest, LineCodecTest, LsegCodecTest, LtreeCodecTest, Macaddr8CodecTest, MacaddrCodecTest, MoneyCodecTest, NumericCodecTest, NumMultirangeCodecTest, NumRangeCodecTest, OidCodecTest, PathCodecTest, PointCodecTest, PolygonCodecTest, TextCodecTest, TimeCodecTest, TimestampCodecTest, TimestamptzCodecTest, TimetzCodecTest, TsMultirangeCodecTest, TsRangeCodecTest, TstzMultirangeCodecTest, TstzRangeCodecTest, TsvectorCodecTest, UuidCodecTest, VarbitCodecTest, VarbitWithSizeCodecTest, VarcharCodecTest, VarcharWithSizeCodecTest

public abstract class CodecTestBase<A> extends Object
  • Constructor Details

    • CodecTestBase

      protected CodecTestBase(Codec<A> codec)
  • Method Details

    • decodesEncodedInBinary

      @Property(tries=100) protected void decodesEncodedInBinary(@ForAll("values") A value) throws Exception
      Throws:
      Exception
    • decodesEncodedInText

      @Property(tries=100) protected void decodesEncodedInText(@ForAll("values") A value) throws Exception
      Throws:
      Exception
    • decodesArrayEncodedInBinary

      @Property(tries=100) protected void decodesArrayEncodedInBinary(@ForAll("arrayValues") List<A> value) throws Exception
      Throws:
      Exception
    • decodesArrayEncodedInText

      @Property(tries=100) protected void decodesArrayEncodedInText(@ForAll("arrayValues") List<A> value) throws Exception
      Throws:
      Exception
    • decodesArrayArrayEncodedInBinary

      @Property(tries=100) protected void decodesArrayArrayEncodedInBinary(@ForAll("arrayArrayValues") List<List<A>> value) throws Exception
      Throws:
      Exception
    • decodesArrayArrayEncodedInText

      @Property(tries=100) protected void decodesArrayArrayEncodedInText(@ForAll("arrayArrayValues") List<List<A>> value) throws Exception
      Throws:
      Exception