MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / testAction

Function testAction

apps/automated/src/ui/slider/slider-tests.ts:56–59  ·  view source on GitHub ↗
(views: Array<View>)

Source from the content-addressed store, hash-verified

54 // << article-creating-slider
55
56 function testAction(views: Array<View>) {
57 slider.value = TEST_VALUE;
58 TKUnit.assertEqual(getNativeValue(slider), TEST_VALUE, 'Native value is different from TNS value.');
59 }
60
61 helper.buildUIAndRunTest(slider, testAction);
62}

Callers

nothing calls this directly

Calls 12

setMethod · 0.95
assertSliderValuesFunction · 0.85
attachValueChangedEventsFunction · 0.85
detachValueChangedEventsFunction · 0.85
assertMethod · 0.80
bindMethod · 0.80
getNativeValueFunction · 0.70
setNativeValueFunction · 0.70
getNativeMaxValueFunction · 0.70
onMethod · 0.65
offMethod · 0.65

Tested by

no test coverage detected