()
| 187 | } |
| 188 | |
| 189 | @Test (expected = IllegalArgumentException.class) |
| 190 | public void testHashCodeandEqualsStartInvalid() { |
| 191 | TSQuery sub1 = getMetricForValidate(); |
| 192 | |
| 193 | final int hash_a = sub1.hashCode(); |
| 194 | sub1.setStart("1h-ago"); |
| 195 | assertTrue(hash_a != sub1.hashCode()); |
| 196 | sub1.validateAndSetQuery(); |
| 197 | } |
| 198 | |
| 199 | @Test |
| 200 | public void testHashCodeandEqualsEnd() { |
nothing calls this directly
no test coverage detected