1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
// 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"
// TestToOne tests cannot be run in parallel
// or deadlocks can occur.
func TestToOne(t *testing.T) {
t.Run("PostToUserUsingUser", testPostToOneUserUsingUser)
t.Run("TagToUserUsingUser", testTagToOneUserUsingUser)
}
// 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) {
t.Run("PostToTags", testPostToManyTags)
t.Run("TagToPosts", testTagToManyPosts)
t.Run("UserToPosts", testUserToManyPosts)
t.Run("UserToTags", testUserToManyTags)
}
// TestToOneSet tests cannot be run in parallel
// or deadlocks can occur.
func TestToOneSet(t *testing.T) {
t.Run("PostToUserUsingPosts", testPostToOneSetOpUserUsingUser)
t.Run("TagToUserUsingTags", testTagToOneSetOpUserUsingUser)
}
// 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) {
t.Run("PostToTags", testPostToManyAddOpTags)
t.Run("TagToPosts", testTagToManyAddOpPosts)
t.Run("UserToPosts", testUserToManyAddOpPosts)
t.Run("UserToTags", testUserToManyAddOpTags)
}
// TestToManySet tests cannot be run in parallel
// or deadlocks can occur.
func TestToManySet(t *testing.T) {
t.Run("PostToTags", testPostToManySetOpTags)
t.Run("TagToPosts", testTagToManySetOpPosts)
}
// TestToManyRemove tests cannot be run in parallel
// or deadlocks can occur.
func TestToManyRemove(t *testing.T) {
t.Run("PostToTags", testPostToManyRemoveOpTags)
t.Run("TagToPosts", testTagToManyRemoveOpPosts)
}
|