// Code generated by SQLBoiler 4.16.1 (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("Comments", testComments) t.Run("Posts", testPosts) t.Run("Tags", testTags) t.Run("Users", testUsers) t.Run("Votes", testVotes) } func TestDelete(t *testing.T) { t.Run("Comments", testCommentsDelete) t.Run("Posts", testPostsDelete) t.Run("Tags", testTagsDelete) t.Run("Users", testUsersDelete) t.Run("Votes", testVotesDelete) } func TestQueryDeleteAll(t *testing.T) { t.Run("Comments", testCommentsQueryDeleteAll) t.Run("Posts", testPostsQueryDeleteAll) t.Run("Tags", testTagsQueryDeleteAll) t.Run("Users", testUsersQueryDeleteAll) t.Run("Votes", testVotesQueryDeleteAll) } func TestSliceDeleteAll(t *testing.T) { t.Run("Comments", testCommentsSliceDeleteAll) t.Run("Posts", testPostsSliceDeleteAll) t.Run("Tags", testTagsSliceDeleteAll) t.Run("Users", testUsersSliceDeleteAll) t.Run("Votes", testVotesSliceDeleteAll) } func TestExists(t *testing.T) { t.Run("Comments", testCommentsExists) t.Run("Posts", testPostsExists) t.Run("Tags", testTagsExists) t.Run("Users", testUsersExists) t.Run("Votes", testVotesExists) } func TestFind(t *testing.T) { t.Run("Comments", testCommentsFind) t.Run("Posts", testPostsFind) t.Run("Tags", testTagsFind) t.Run("Users", testUsersFind) t.Run("Votes", testVotesFind) } func TestBind(t *testing.T) { t.Run("Comments", testCommentsBind) t.Run("Posts", testPostsBind) t.Run("Tags", testTagsBind) t.Run("Users", testUsersBind) t.Run("Votes", testVotesBind) } func TestOne(t *testing.T) { t.Run("Comments", testCommentsOne) t.Run("Posts", testPostsOne) t.Run("Tags", testTagsOne) t.Run("Users", testUsersOne) t.Run("Votes", testVotesOne) } func TestAll(t *testing.T) { t.Run("Comments", testCommentsAll) t.Run("Posts", testPostsAll) t.Run("Tags", testTagsAll) t.Run("Users", testUsersAll) t.Run("Votes", testVotesAll) } func TestCount(t *testing.T) { t.Run("Comments", testCommentsCount) t.Run("Posts", testPostsCount) t.Run("Tags", testTagsCount) t.Run("Users", testUsersCount) t.Run("Votes", testVotesCount) } func TestHooks(t *testing.T) { t.Run("Comments", testCommentsHooks) t.Run("Posts", testPostsHooks) t.Run("Tags", testTagsHooks) t.Run("Users", testUsersHooks) t.Run("Votes", testVotesHooks) } func TestInsert(t *testing.T) { t.Run("Comments", testCommentsInsert) t.Run("Comments", testCommentsInsertWhitelist) t.Run("Posts", testPostsInsert) t.Run("Posts", testPostsInsertWhitelist) t.Run("Tags", testTagsInsert) t.Run("Tags", testTagsInsertWhitelist) t.Run("Users", testUsersInsert) t.Run("Users", testUsersInsertWhitelist) t.Run("Votes", testVotesInsert) t.Run("Votes", testVotesInsertWhitelist) } func TestReload(t *testing.T) { t.Run("Comments", testCommentsReload) t.Run("Posts", testPostsReload) t.Run("Tags", testTagsReload) t.Run("Users", testUsersReload) t.Run("Votes", testVotesReload) } func TestReloadAll(t *testing.T) { t.Run("Comments", testCommentsReloadAll) t.Run("Posts", testPostsReloadAll) t.Run("Tags", testTagsReloadAll) t.Run("Users", testUsersReloadAll) t.Run("Votes", testVotesReloadAll) } func TestSelect(t *testing.T) { t.Run("Comments", testCommentsSelect) t.Run("Posts", testPostsSelect) t.Run("Tags", testTagsSelect) t.Run("Users", testUsersSelect) t.Run("Votes", testVotesSelect) } func TestUpdate(t *testing.T) { t.Run("Comments", testCommentsUpdate) t.Run("Posts", testPostsUpdate) t.Run("Tags", testTagsUpdate) t.Run("Users", testUsersUpdate) t.Run("Votes", testVotesUpdate) } func TestSliceUpdateAll(t *testing.T) { t.Run("Comments", testCommentsSliceUpdateAll) t.Run("Posts", testPostsSliceUpdateAll) t.Run("Tags", testTagsSliceUpdateAll) t.Run("Users", testUsersSliceUpdateAll) t.Run("Votes", testVotesSliceUpdateAll) }