public void TestMySqlDbTypeToMySqlStringNameResolverForDateTime() { // Setup var resolver = new MySqlDbTypeToMySqlStringNameResolver(); // Act var result = resolver.Resolve(MySqlDbType.DateTime); // Assert Assert.AreEqual("DATETIME", result); }
public void TestMySqlDbTypeToMySqlStringNameResolverForYear() { // Setup var resolver = new MySqlDbTypeToMySqlStringNameResolver(); // Act var result = resolver.Resolve(MySqlDbType.Year); // Assert Assert.AreEqual("YEAR", result); }
public void TestMySqlDbTypeToMySqlStringNameResolverForUByte() { // Setup var resolver = new MySqlDbTypeToMySqlStringNameResolver(); // Act var result = resolver.Resolve(MySqlDbType.UByte); // Assert Assert.AreEqual("TINYINT", result); }
public void TestMySqlDbTypeToMySqlStringNameResolverForTinyText() { // Setup var resolver = new MySqlDbTypeToMySqlStringNameResolver(); // Act var result = resolver.Resolve(MySqlDbType.TinyText); // Assert Assert.AreEqual("TINYTEXT", result); }
public void TestMySqlDbTypeToMySqlStringNameResolverForVarString() { // Setup var resolver = new MySqlDbTypeToMySqlStringNameResolver(); // Act var result = resolver.Resolve(MySqlDbType.VarString); // Assert Assert.AreEqual("VARCHAR", result); }
public void TestMySqlDbTypeToMySqlStringNameResolverForBlob() { // Setup var resolver = new MySqlDbTypeToMySqlStringNameResolver(); // Act var result = resolver.Resolve(MySqlDbType.Blob); // Assert Assert.AreEqual("BLOB", result); }
public void TestMySqlDbTypeToMySqlStringNameResolverForTimestamp() { // Setup var resolver = new MySqlDbTypeToMySqlStringNameResolver(); // Act var result = resolver.Resolve(MySqlDbType.Timestamp); // Assert Assert.AreEqual("TIMESTAMP", result); }
public void TestMySqlDbTypeToMySqlStringNameResolverForMediumText() { // Setup var resolver = new MySqlDbTypeToMySqlStringNameResolver(); // Act var result = resolver.Resolve(MySqlDbType.MediumText); // Assert Assert.AreEqual("MEDIUMTEXT", result); }
public void TestMySqlDbTypeToMySqlStringNameResolverForNewDecimal() { // Setup var resolver = new MySqlDbTypeToMySqlStringNameResolver(); // Act var result = resolver.Resolve(MySqlDbType.NewDecimal); // Assert Assert.AreEqual("DECIMAL", result); }
public void TestMySqlDbTypeToMySqlStringNameResolverForUInt64() { // Setup var resolver = new MySqlDbTypeToMySqlStringNameResolver(); // Act var result = resolver.Resolve(MySqlDbType.UInt64); // Assert Assert.AreEqual("BIGINT", result); }
public void TestMySqlDbTypeToMySqlStringNameResolverForJson() { // Setup var resolver = new MySqlDbTypeToMySqlStringNameResolver(); // Act var result = resolver.Resolve(MySqlDbType.JSON); // Assert Assert.AreEqual("JSON", result); }
public void TestMySqlDbTypeToMySqlStringNameResolverForInt16() { // Setup var resolver = new MySqlDbTypeToMySqlStringNameResolver(); // Act var result = resolver.Resolve(MySqlDbType.Int16); // Assert Assert.AreEqual("SMALLINT", result); }
public void TestMySqlDbTypeToMySqlStringNameResolverForGeometry() { // Setup var resolver = new MySqlDbTypeToMySqlStringNameResolver(); // Act var result = resolver.Resolve(MySqlDbType.Geometry); // Assert Assert.AreEqual("GEOMETRY", result); }
public void TestMySqlDbTypeToMySqlStringNameResolverForFloat() { // Setup var resolver = new MySqlDbTypeToMySqlStringNameResolver(); // Act var result = resolver.Resolve(MySqlDbType.Float); // Assert Assert.AreEqual("FLOAT", result); }
public void TestMySqlDbTypeToMySqlStringNameResolverForBinary() { // Setup var resolver = new MySqlDbTypeToMySqlStringNameResolver(); // Act var result = resolver.Resolve(MySqlDbType.Binary); // Assert Assert.AreEqual("BINARY", result); }
public void TestMySqlDbTypeToMySqlStringNameResolverForDouble() { // Setup var resolver = new MySqlDbTypeToMySqlStringNameResolver(); // Act var result = resolver.Resolve(MySqlDbType.Double); // Assert Assert.AreEqual("DOUBLE", result); }