Skip to content

Commit ece4c6e

Browse files
authored
test signature (#333)
* test signature * test scaffold for repositories
1 parent b19ebb8 commit ece4c6e

File tree

2 files changed

+71
-0
lines changed

2 files changed

+71
-0
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
package repositories
2+
3+
import (
4+
"cms.csesoc.unsw.edu.au/database/repositories"
5+
6+
"testing"
7+
)
8+
9+
10+
var (
11+
unpublishedRepo = repositories.NewUnpublishedRepo()
12+
publishedRepo = repositories.NewPublishedRepo()
13+
)
14+
15+
16+
func TestAddToUnpublishedVolume(t *testing.T) {
17+
// ==== Test setup ====
18+
// ==== Assertions ====
19+
// ==== Test teardown ====
20+
}
21+
22+
func TestAddToPublishedVolume(t *testing.T) {
23+
// ==== Test setup ====
24+
// ==== Assertions ====
25+
// ==== Test teardown ====
26+
}
27+
28+
func TestRemoveFromUnpublishedVolume(t *testing.T) {
29+
// ==== Test setup ====
30+
// ==== Assertions ====
31+
// ==== Test teardown ====
32+
}
33+
34+
func TestRemoveFromPublishedVolume(t *testing.T) {
35+
// ==== Test setup ====
36+
// ==== Assertions ====
37+
// ==== Test teardown ====
38+
}
39+
40+
func TestGetFromUnpublishedVolume(t *testing.T) {
41+
// ==== Test setup ====
42+
// ==== Assertions ====
43+
// ==== Test teardown ====
44+
}
45+
46+
func TestGetFromPublishedVolume(t *testing.T) {
47+
// ==== Test setup ====
48+
// ==== Assertions ====
49+
// ==== Test teardown ====
50+
}
51+
52+
func TestDeleteFromUnpublishedVolume(t *testing.T) {
53+
// ==== Test setup ====
54+
// ==== Assertions ====
55+
// ==== Test teardown ====
56+
}
57+
58+
func TestDeleteFromPublishedVolume(t *testing.T) {
59+
// ==== Test setup ====
60+
// ==== Assertions ====
61+
// ==== Test teardown ====
62+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package tests
2+
3+
import (
4+
"testing"
5+
)
6+
7+
func TestEditHandler(t *testing.T) {
8+
}
9+

0 commit comments

Comments
 (0)