()
| 149 | } |
| 150 | |
| 151 | @Test (expected = IllegalArgumentException.class) |
| 152 | public void validateEmptyQueries() { |
| 153 | TSQuery q = this.getMetricForValidate(); |
| 154 | q.setQueries(new ArrayList<TSSubQuery>()); |
| 155 | q.validateAndSetQuery(); |
| 156 | } |
| 157 | |
| 158 | // NOTE: Each of the hash and equals tests should make sure that we the code |
| 159 | // doesn't change after validation. |
nothing calls this directly
no test coverage detected