aboutsummaryrefslogtreecommitdiff
path: root/scripts/style_api_gen.py
diff options
context:
space:
mode:
authorCarlos Diaz <carlos.santiago.diaz@gmail.com>2022-01-22 09:17:13 -0600
committerGitHub <noreply@github.com>2022-01-22 16:17:13 +0100
commit0b68840cd99fc91f696d9772eff30bdd87b46270 (patch)
tree75c7a4fd52eccebfcc59badef3be6423ff0a2e3f /scripts/style_api_gen.py
parent1f9d3892a372a9d84b36d76550792773de5374f0 (diff)
downloadlvgl-0b68840cd99fc91f696d9772eff30bdd87b46270.tar.gz
lvgl-0b68840cd99fc91f696d9772eff30bdd87b46270.zip
test(bar): add unit tests (#2845)
* test(bar) Add test for docummented default attributes * test(bar) Update test for docummented default attributes * test(bar): Indicator width tracks value * test(bar) Calculate bar indicator width based on its style Take padding, max value and bar value into consideraion * test(bar) Indicator area gets smaller when increasing padding in LV_PART_MAIN style * test(bar) Start value changes only when in range mode * docs(bar): Add missing MODE to symbols * test(bar) Start value should be smaller than current value * test(bar): Test current value truncation to max and min value * bar: Check bar mode in lv_bar_set_start_value bar start_value can be changed only when bar is in LV_BAR_MODE_RANGE mode. Return early when it's not. * test(bar): Fix width calculation test * bar: Initialize indic_area in constructor * test(bar): Refactor indicator coordinate update test * test(bar): Indicator negative value in symmetrical mode * test(bar): Fix base direction * test(bar): Indicator coord test for RTL base dir
Diffstat (limited to 'scripts/style_api_gen.py')
0 files changed, 0 insertions, 0 deletions