()
| 226 | } |
| 227 | |
| 228 | @Test (expected = IllegalArgumentException.class) |
| 229 | public void validateWithDownsampleNone() { |
| 230 | TSSubQuery sub = getMetricForValidate(); |
| 231 | sub.setDownsample("1m-none"); |
| 232 | sub.validateAndSetQuery(); |
| 233 | } |
| 234 | |
| 235 | // NOTE: Each of the hash and equals tests should make sure that we the code |
| 236 | // doesn't change after validation. |
nothing calls this directly
no test coverage detected