Lines Matching refs:t
27 func TestAdd(t *testing.T) {
31 t.Error(err)
36 t.Error(err)
45 t.Errorf("Expected config %v different than output config %v",
51 t.Error(err)
55 t.Error(err)
65 t.Errorf("Expected config %v different than output config %v",
70 func TestAddDuplicate(t *testing.T) {
74 t.Error(err)
79 t.Error(err)
83 t.Error("Allowed duplicate codebase")
87 func TestAddInvalidCodebase(t *testing.T) {
91 t.Error(err)
97 t.Error("Adding a codebase with an invalid directory should not be allowed")
101 func TestList(t *testing.T) {
105 t.Error(err)
110 t.Error(err)
114 t.Error(err)
118 t.Error(err)
126 t.Errorf("Codebase list %v is different than expected list %v",
131 func TestSetGetDefault(t *testing.T) {
135 t.Error(err)
140 t.Error(err)
144 t.Error(err)
149 t.Error(err)
152 t.Error(err)
156 t.Error("Setting default codebase failed")
160 func TestBadDefault(t *testing.T) {
164 t.Error(err)
169 t.Error(err)
172 t.Error("Allowed invalid default codebase")
176 func TestRemove(t *testing.T) {
180 t.Error(err)
185 t.Error(err)
190 t.Error(err)
194 t.Error("Removed codebase is still in the configuration")
197 t.Error("Removing the default codebase did not reset the default")
201 func TestBadRemove(t *testing.T) {
205 t.Error(err)
210 t.Error(err)
214 t.Error("Attempt to remove an unexistant codebase",