mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
text-decoration won’t be applied to edit-text (#3932)
* text-decoration won’t be applied to edit-text * stop printing slow tests * remove console line * fix failing tests * fix wrong checks
This commit is contained in:
@@ -729,19 +729,23 @@ export const test_setting_label_textTransform_sets_native = function () {
|
||||
};
|
||||
|
||||
export const test_setting_textField_textTransform_sets_native = function () {
|
||||
const testView = new TextField();
|
||||
testView.text = initial;
|
||||
testView.style.textTransform = "capitalize";
|
||||
if (isIOS) {
|
||||
const testView = new TextField();
|
||||
testView.text = initial;
|
||||
testView.style.textTransform = "capitalize";
|
||||
|
||||
executeTransformTest(testView, androidText, iOSText);
|
||||
executeTransformTest(testView, androidText, iOSText);
|
||||
}
|
||||
};
|
||||
|
||||
export const test_setting_textView_textTransform_sets_native = function () {
|
||||
const testView = new TextView();
|
||||
testView.text = initial;
|
||||
testView.style.textTransform = "capitalize";
|
||||
if (isIOS) {
|
||||
const testView = new TextView();
|
||||
testView.text = initial;
|
||||
testView.style.textTransform = "capitalize";
|
||||
|
||||
executeTransformTest(testView, androidText, iOSText);
|
||||
executeTransformTest(testView, androidText, iOSText);
|
||||
}
|
||||
};
|
||||
|
||||
export const test_setting_button_textTransform_sets_native = function () {
|
||||
@@ -762,21 +766,25 @@ export const test_setting_label_textTransform_and_textDecoration_sets_native = f
|
||||
};
|
||||
|
||||
export const test_setting_textField_textTransform_and_textDecoration_sets_native = function () {
|
||||
const testView = new TextField();
|
||||
testView.text = initial;
|
||||
testView.style.textTransform = "capitalize";
|
||||
testView.style.textDecoration = "underline";
|
||||
if (isIOS) {
|
||||
const testView = new TextField();
|
||||
testView.text = initial;
|
||||
testView.style.textTransform = "capitalize";
|
||||
testView.style.textDecoration = "underline";
|
||||
|
||||
executeTransformTest(testView, androidText, iOSText);
|
||||
executeTransformTest(testView, androidText, iOSText);
|
||||
}
|
||||
};
|
||||
|
||||
export const test_setting_textView_textTransform_and_textDecoration_sets_native = function () {
|
||||
const testView = new TextView();
|
||||
testView.text = initial;
|
||||
testView.style.textTransform = "capitalize";
|
||||
testView.style.textDecoration = "underline";
|
||||
if (isIOS) {
|
||||
const testView = new TextView();
|
||||
testView.text = initial;
|
||||
testView.style.textTransform = "capitalize";
|
||||
testView.style.textDecoration = "underline";
|
||||
|
||||
executeTransformTest(testView, androidText, iOSText);
|
||||
executeTransformTest(testView, androidText, iOSText);
|
||||
}
|
||||
};
|
||||
|
||||
export const test_setting_button_textTransform_and_textDecoration_sets_native = function () {
|
||||
|
||||
Reference in New Issue
Block a user