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

Method testEqualsWrongType

test/stats/TestQueryStats.java:196–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194 }
195
196 @Test
197 public void testEqualsWrongType() throws Exception {
198 final TSQuery query = new TSQuery();
199 query.setStart("1h-ago");
200 final QueryStats stats = new QueryStats(remote, query, headers);
201 assertFalse(stats.equals(new String("foo")));
202 }
203
204 @Test
205 public void testEqualsSame() throws Exception {

Callers

nothing calls this directly

Calls 2

setStartMethod · 0.95
equalsMethod · 0.95

Tested by

no test coverage detected