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

Method testHashCodeandEqualsStartNull

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

Source from the content-addressed store, hash-verified

177 }
178
179 @Test (expected = IllegalArgumentException.class)
180 public void testHashCodeandEqualsStartNull() {
181 TSQuery sub1 = getMetricForValidate();
182
183 final int hash_a = sub1.hashCode();
184 sub1.setStart(null);
185 assertTrue(hash_a != sub1.hashCode());
186 sub1.validateAndSetQuery();
187 }
188
189 @Test (expected = IllegalArgumentException.class)
190 public void testHashCodeandEqualsStartInvalid() {

Callers

nothing calls this directly

Calls 4

getMetricForValidateMethod · 0.95
hashCodeMethod · 0.95
setStartMethod · 0.95
validateAndSetQueryMethod · 0.95

Tested by

no test coverage detected