Beispiel #1
0
// TestSqlite3 performs the standard integration test
func TestSqlite3(t *testing.T) {
	conn, err := sol.Open("sqlite3", ":memory:")
	if err != nil {
		t.Fatalf("Failed to open connection: %s", err)
	}
	defer conn.Close()
	sol.IntegrationTest(t, conn, false)
}
Beispiel #2
0
// TestMySQL performs the standard integration test
func TestMySQL(t *testing.T) {
	conn := getConn(t)
	defer conn.Close()
	sol.IntegrationTest(t, conn, true)
}
Beispiel #3
0
// TestPostGres performs the standard integration test
func TestPostGres(t *testing.T) {
	conn := getConn(t) // TODO close
	sol.IntegrationTest(t, conn, false)
}