(t *testing.T)
| 180 | } |
| 181 | |
| 182 | func TestQuery(t *testing.T) { |
| 183 | testQuery(t, func(qt *queryTest) { |
| 184 | fileRef, wholeRef := qt.id.UploadFile("file.txt", "the content", time.Unix(1382073153, 0)) |
| 185 | |
| 186 | sq := &SearchQuery{ |
| 187 | Constraint: &Constraint{ |
| 188 | Anything: true, |
| 189 | }, |
| 190 | Limit: 0, |
| 191 | Sort: UnspecifiedSort, |
| 192 | } |
| 193 | qt.wantRes(sq, fileRef, wholeRef) |
| 194 | }) |
| 195 | } |
| 196 | |
| 197 | func TestQueryCamliType(t *testing.T) { |
| 198 | testQuery(t, func(qt *queryTest) { |
nothing calls this directly
no test coverage detected