MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / testHashCodeandEqualsEndInvalid

Method testHashCodeandEqualsEndInvalid

test/core/TestTSQuery.java:238–246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

236 }
237
238 @Test (expected = IllegalArgumentException.class)
239 public void testHashCodeandEqualsEndInvalid() {
240 TSQuery sub1 = getMetricForValidate();
241
242 final int hash_a = sub1.hashCode();
243 sub1.setEnd("1356998300");
244 assertTrue(hash_a != sub1.hashCode());
245 sub1.validateAndSetQuery();
246 }
247
248 @Test
249 public void testHashCodeandEqualsTimezone() {

Callers

nothing calls this directly

Calls 4

getMetricForValidateMethod · 0.95
hashCodeMethod · 0.95
setEndMethod · 0.95
validateAndSetQueryMethod · 0.95

Tested by

no test coverage detected