File: test_trees_intersection_missing_both

package info (click to toggle)
swordfish 0.12-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 736 kB
  • ctags: 204
  • sloc: sh: 1,470; ansic: 1,404; python: 510; makefile: 25
file content (28 lines) | stat: -rw-r--r-- 566 bytes parent folder | download
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
#!/bin/sh

. ./_testcase

GET /databases/${DB}/trees/one
Assert '{"items": []}'

GET /databases/${DB}/trees/two
Assert '{"items": []}'

# Intersection

GET /databases/${DB}/trees/one/intersection/two
Assert '{"items": []}'

GET /databases/${DB}/trees/one/intersection/two\?values=all
Assert '{"items": []}'

GET /databases/${DB}/trees/one/intersection/two\?values=keys
Assert '{"items": []}'

GET /databases/${DB}/trees/one/intersection/two\?values=values
Assert '{"items": []}'

# Counts

GET /databases/${DB}/trees/one/intersection/two/count
Assert '{"count": 0}'