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

Method getSaltNegativeWidth

test/core/TestRowKey.java:192–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190 }
191
192 @Test (expected = NegativeArraySizeException.class)
193 public void getSaltNegativeWidth() {
194 PowerMockito.mockStatic(Const.class);
195 PowerMockito.when(Const.SALT_WIDTH()).thenReturn(-1);
196 RowKey.getSaltBytes(2);
197 }
198
199 @Test
200 public void prefixKeyWithSaltGlobalAndNoOps() {

Callers

nothing calls this directly

Calls 2

SALT_WIDTHMethod · 0.95
getSaltBytesMethod · 0.95

Tested by

no test coverage detected