Gradle Test Run :test

StyleFontWeightTest

summary

12

tests

0

failures

0

skipped

0.024s

duration

100%

successful

Child Name Tests Failures Skipped Duration Success rate
FontWeight: 900, FontSize: 26 — size is honoured independently fontSizeIsIndependentOfFontWeight() 1 0 0 0s 100%
FontWeight: 300 sets CSS weight 300 (Light) fontWeight300SetsWeightLight() 1 0 0 0.001s 100%
FontWeight: 500 + FontStyle: italic — medium-weight italic fontWeight500AndItalic() 1 0 0 0.001s 100%
FontWeight: 900 alone sets CSS weight 900 on the UFont face fontWeight900AloneSetsWeight() 1 0 0 0s 100%
FontWeight: 900 + FontStyle: italic — both axes preserved independently fontWeight900AndItalicAreBothPreserved() 1 0 0 0.001s 100%
FontWeight: 900 — toCssWeightString() returns '900' fontWeight900CssWeightString() 1 0 0 0.001s 100%
FontWeight: 900 overrides the weight that FontStyle: bold would set (700) fontWeight900OverridesBoldFromFontStyle() 1 0 0 0s 100%
FontWeight: bold keyword produces weight 700 fontWeightBoldKeywordProduces700() 1 0 0 0s 100%
No FontWeight: FontStyle: bold still defaults to weight 700 (legacy behaviour) noFontWeightBoldStyleDefaultsTo700() 1 0 0 0s 100%
No FontWeight, no FontStyle: weight defaults to 400 (normal) noFontWeightNoFontStyleDefaultsTo400() 1 0 0 0s 100%
Integration: participant FontWeight:900 + FontStyle:italic renders font-weight='900' in SVG participantStyleFontWeight900EmitsSvgFontWeight() 1 0 0 0.010s 100%
Integration: FontWeight:900 participant — weight matches getFontFace().getCssWeight() in unit path participantStyleFontWeight900UnitAndIntegrationAgree() 1 0 0 0.005s 100%