Files
go-ssb-room/admindb/sqlite/models/boil_suites_test.go
2021-02-08 17:47:42 +01:00

140 lines
3.8 KiB
Go

// Code generated by SQLBoiler 4.4.0 (https://github.com/volatiletech/sqlboiler). DO NOT EDIT.
// This file is meant to be re-generated in place and/or deleted at any time.
package models
import "testing"
// This test suite runs each operation test in parallel.
// Example, if your database has 3 tables, the suite will run:
// table1, table2 and table3 Delete in parallel
// table1, table2 and table3 Insert in parallel, and so forth.
// It does NOT run each operation group in parallel.
// Separating the tests thusly grants avoidance of Postgres deadlocks.
func TestParent(t *testing.T) {
t.Run("Aliases", testAliases)
t.Run("AuthFallbacks", testAuthFallbacks)
}
func TestDelete(t *testing.T) {
t.Run("Aliases", testAliasesDelete)
t.Run("AuthFallbacks", testAuthFallbacksDelete)
}
func TestQueryDeleteAll(t *testing.T) {
t.Run("Aliases", testAliasesQueryDeleteAll)
t.Run("AuthFallbacks", testAuthFallbacksQueryDeleteAll)
}
func TestSliceDeleteAll(t *testing.T) {
t.Run("Aliases", testAliasesSliceDeleteAll)
t.Run("AuthFallbacks", testAuthFallbacksSliceDeleteAll)
}
func TestExists(t *testing.T) {
t.Run("Aliases", testAliasesExists)
t.Run("AuthFallbacks", testAuthFallbacksExists)
}
func TestFind(t *testing.T) {
t.Run("Aliases", testAliasesFind)
t.Run("AuthFallbacks", testAuthFallbacksFind)
}
func TestBind(t *testing.T) {
t.Run("Aliases", testAliasesBind)
t.Run("AuthFallbacks", testAuthFallbacksBind)
}
func TestOne(t *testing.T) {
t.Run("Aliases", testAliasesOne)
t.Run("AuthFallbacks", testAuthFallbacksOne)
}
func TestAll(t *testing.T) {
t.Run("Aliases", testAliasesAll)
t.Run("AuthFallbacks", testAuthFallbacksAll)
}
func TestCount(t *testing.T) {
t.Run("Aliases", testAliasesCount)
t.Run("AuthFallbacks", testAuthFallbacksCount)
}
func TestHooks(t *testing.T) {
t.Run("Aliases", testAliasesHooks)
t.Run("AuthFallbacks", testAuthFallbacksHooks)
}
func TestInsert(t *testing.T) {
t.Run("Aliases", testAliasesInsert)
t.Run("Aliases", testAliasesInsertWhitelist)
t.Run("AuthFallbacks", testAuthFallbacksInsert)
t.Run("AuthFallbacks", testAuthFallbacksInsertWhitelist)
}
// TestToOne tests cannot be run in parallel
// or deadlocks can occur.
func TestToOne(t *testing.T) {}
// TestOneToOne tests cannot be run in parallel
// or deadlocks can occur.
func TestOneToOne(t *testing.T) {}
// TestToMany tests cannot be run in parallel
// or deadlocks can occur.
func TestToMany(t *testing.T) {}
// TestToOneSet tests cannot be run in parallel
// or deadlocks can occur.
func TestToOneSet(t *testing.T) {}
// TestToOneRemove tests cannot be run in parallel
// or deadlocks can occur.
func TestToOneRemove(t *testing.T) {}
// TestOneToOneSet tests cannot be run in parallel
// or deadlocks can occur.
func TestOneToOneSet(t *testing.T) {}
// TestOneToOneRemove tests cannot be run in parallel
// or deadlocks can occur.
func TestOneToOneRemove(t *testing.T) {}
// TestToManyAdd tests cannot be run in parallel
// or deadlocks can occur.
func TestToManyAdd(t *testing.T) {}
// TestToManySet tests cannot be run in parallel
// or deadlocks can occur.
func TestToManySet(t *testing.T) {}
// TestToManyRemove tests cannot be run in parallel
// or deadlocks can occur.
func TestToManyRemove(t *testing.T) {}
func TestReload(t *testing.T) {
t.Run("Aliases", testAliasesReload)
t.Run("AuthFallbacks", testAuthFallbacksReload)
}
func TestReloadAll(t *testing.T) {
t.Run("Aliases", testAliasesReloadAll)
t.Run("AuthFallbacks", testAuthFallbacksReloadAll)
}
func TestSelect(t *testing.T) {
t.Run("Aliases", testAliasesSelect)
t.Run("AuthFallbacks", testAuthFallbacksSelect)
}
func TestUpdate(t *testing.T) {
t.Run("Aliases", testAliasesUpdate)
t.Run("AuthFallbacks", testAuthFallbacksUpdate)
}
func TestSliceUpdateAll(t *testing.T) {
t.Run("Aliases", testAliasesSliceUpdateAll)
t.Run("AuthFallbacks", testAuthFallbacksSliceUpdateAll)
}