diff --git a/apps/tests/ui/button/button-tests-native.android.ts b/apps/tests/ui/button/button-tests-native.android.ts index 540a59bb6..39e0d705d 100644 --- a/apps/tests/ui/button/button-tests-native.android.ts +++ b/apps/tests/ui/button/button-tests-native.android.ts @@ -17,7 +17,7 @@ export function getNativeColor(button: buttonModule.Button): colorModule.Color { } export function getNativeBackgroundColor(button: buttonModule.Button): colorModule.Color { - return new colorModule.Color((button.android.getBackground()).getColor()); + return new colorModule.Color((button.android.getBackground()).backgroundColor); } export function getNativeTextAlignment(button: buttonModule.Button): string { diff --git a/apps/tests/ui/label/label-tests.ts b/apps/tests/ui/label/label-tests.ts index fadbe47b2..d7d26526d 100644 --- a/apps/tests/ui/label/label-tests.ts +++ b/apps/tests/ui/label/label-tests.ts @@ -223,7 +223,7 @@ export class LabelTest extends testModule.UITest { normalColor = actualColors.getDefaultColor() TKUnit.assert(normalColor, "Expected: " + expColor + ", Actual: " + normalColor); - actualBackgroundColor = (testLabel.android.getBackground()).getColor(); + actualBackgroundColor = (testLabel.android.getBackground()).backgroundColor; expBackgroundColor = android.graphics.Color.parseColor(backgroundColor); TKUnit.assertEqual(actualBackgroundColor, expBackgroundColor); } diff --git a/apps/tests/ui/text-field/text-field-tests-native.android.ts b/apps/tests/ui/text-field/text-field-tests-native.android.ts index b64141f63..d90197585 100644 --- a/apps/tests/ui/text-field/text-field-tests-native.android.ts +++ b/apps/tests/ui/text-field/text-field-tests-native.android.ts @@ -26,7 +26,7 @@ export function getNativeColor(textField: textFieldModule.TextField): colorModul } export function getNativeBackgroundColor(textField: textFieldModule.TextField): colorModule.Color { - return new colorModule.Color((textField.android.getBackground()).getColor()); + return new colorModule.Color((textField.android.getBackground()).backgroundColor); } export function getNativeTextAlignment(textField: textFieldModule.TextField): string { diff --git a/apps/tests/ui/text-view/text-view-tests-native.android.ts b/apps/tests/ui/text-view/text-view-tests-native.android.ts index 8f144aa56..f0e989a52 100644 --- a/apps/tests/ui/text-view/text-view-tests-native.android.ts +++ b/apps/tests/ui/text-view/text-view-tests-native.android.ts @@ -30,7 +30,7 @@ export function getNativeColor(textView: textViewModule.TextView): colorModule.C } export function getNativeBackgroundColor(textView: textViewModule.TextView): colorModule.Color { - return new colorModule.Color((textView.android.getBackground()).getColor()); + return new colorModule.Color((textView.android.getBackground()).backgroundColor); } export function getNativeTextAlignment(textView: textViewModule.TextView): string {