MCPcopy Create free account
hub / github.com/OpenTSDB/opentsdb / uidToLongFromString

Method uidToLongFromString

test/uid/TestUniqueId.java:1260–1263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1258 }
1259
1260 @Test
1261 public void uidToLongFromString() throws Exception {
1262 assertEquals(42L, UniqueId.uidToLong("00002A", (short) 3));
1263 }
1264
1265 @Test (expected = IllegalArgumentException.class)
1266 public void uidToLongTooLong() throws Exception {

Callers

nothing calls this directly

Calls 1

uidToLongMethod · 0.95

Tested by

no test coverage detected