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

Method assertMeta

test/core/BaseTsdbTest.java:866–869  ·  view source on GitHub ↗

Validates the metric name, tags and annotations @param dps The datapoints array returned from the query @param index The index to peek into the array @param agged_tags Whether or not the tags were aggregated out

(final DataPoints[] dps, final int index, 
      final boolean agged_tags)

Source from the content-addressed store, hash-verified

864 * @param agged_tags Whether or not the tags were aggregated out
865 */
866 protected void assertMeta(final DataPoints[] dps, final int index,
867 final boolean agged_tags) {
868 assertMeta(dps, index, agged_tags, false);
869 }
870
871 /**
872 * Validates the metric name, tags and annotations

Calls 9

isEmptyMethod · 0.80
metricNameMethod · 0.65
getTagsMethod · 0.65
getAggregatedTagsMethod · 0.65
sizeMethod · 0.65
getAnnotationsMethod · 0.65
getMethod · 0.45
getDescriptionMethod · 0.45
getNotesMethod · 0.45

Tested by

no test coverage detected