package io.trane.ndbc.mysql.netty4;

import java.time.Duration;
import java.util.Arrays;
import java.util.List;

import io.trane.ndbc.Config;
import io.trane.ndbc.test.ScalarEncodingTest;

public class MysqlScalarEncodingTest extends ScalarEncodingTest {

  private static final Config config = Config
      .apply("io.trane.ndbc.mysql.netty4.DataSourceSupplier", "localhost", 3306, "root")
      .password("root")
      .database("mysql")
      .poolValidationInterval(Duration.ofSeconds(1))
      .poolMaxSize(1)
      .poolMaxWaiters(0);

  public MysqlScalarEncodingTest() {
    super(config);
  }

  protected List<String> bigDecimalColumnTypes() {
    return Arrays.asList("NUMERIC");
  }

  protected List<String> booleanColumnTypes() {
    return Arrays.asList("TINYINT");
  }

  protected List<String> byteArrayColumnTypes() {
    return Arrays.asList("BINARY");
  }

  protected List<String> doubleColumnTypes() {
    return Arrays.asList("DOUBLE");
  }

  protected List<String> floatColumnTypes() {
    return Arrays.asList("REAL");
  }

  protected List<String> integerColumnTypes() {
    return Arrays.asList("INT");
  }

  protected List<String> localDateColumnTypes() {
    return Arrays.asList("DATE");
  }

  protected List<String> localDateTimeColumnTypes() {
    return Arrays.asList("TIMESTAMP");
  }

  protected List<String> localTimeColumnTypes() {
    return Arrays.asList("TIME");
  }

  protected List<String> longColumnTypes() {
    return Arrays.asList("BIGINT");
  }

  protected List<String> offsetTimeColumnTypes() {
    return Arrays.asList("TIMETZ");
  }

  protected List<String> shortColumnTypes() {
    return Arrays.asList("SMALLINT");
  }

  protected List<String> byteColumnTypes() {
    return Arrays.asList("TINYINT");
  }

  protected List<String> stringColumnTypes() {
    return Arrays.asList("VARCHAR(9999)", "TEXT");
  }
}

@@ -106,16 +106,42 @@
 .List;%0A%0A
+import org.junit.Ignore;%0A%0A
 import i
@@ -208,16 +208,24 @@
 gTest;%0A%0A
+@Ignore%0A
 public c

fix build