src/tests/extras/filters/event_labeler_builder_test.js
/**
 * Verifies that a non-EVENT hit just passes through the range bounds labeler
 * filter without its params being modified.
 */
Verifies that a non-EVENT hit just passes through the range bounds labeler
filter without its params being modified.
Verifies that a non - EVENT hit just passes through the range bounds labeler filter without its params being modified .
function testRangeBoundsLabeler_NonEventHit() {
  var hit = analytics.testing.Hits.createAppViewHit('asdf');
  var origParams = hit.getParameters().clone();
  var labeler = new analytics.filters.EventLabelerBuilder().
      rangeBounds([10, 50]).
      build();
  labeler(hit);
  assertTrue(origParams.equals(hit.getParameters()));
}
function testRangeBoundsLabeler_NonEventHit ( ) { var hit = analytics . testing . Hits . createAppViewHit ( 'asdf' ) ; var origParams = hit . getParameters ( ) . clone ( ) ; var labeler = new analytics . filters . EventLabelerBuilder ( ) . rangeBounds ( [ 10 , 50 ] ) . build ( ) ; labeler ( hit ) ; assertTrue ( origParams . equals ( hit . getParameters ( ) ) ) ; }
Verifies that a non-EVENT hit just passes through the range bounds labeler
 filter without its params being modified.
Verifies that a non - EVENT hit just passes through the range bounds labeler filter without its params being modified .