Skip to content

Conversation

@swift-kim
Copy link
Member

Comment on lines +29 to +37
testWidgets('Can find matching applications', (WidgetTester _) async {
final AppControl request = AppControl(
operation: 'http://tizen.org/appcontrol/operation/view',
uri: 'file:///opt/usr/globalapps/$kAppId/shared/res/ic_launcher.png',
mime: 'image/*',
);
final List<String> matches = await request.getMatchedAppIds();
expect(matches, isNotEmpty);
}, timeout: kTimeout);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test should not be run on TV emulators. I couldn't find any operation that is commonly available on both wearable and TV emulators.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about tagging this test to mark "wearable only"?
https://pub.dev/packages/test#tagging-tests

Copy link
Member Author

@swift-kim swift-kim Sep 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you elaborate on how to configure? How can the test runner detect the current device profile at runtime?

Copy link
Contributor

@WonyoungChoi WonyoungChoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@swift-kim swift-kim merged commit 0ca3a10 into flutter-tizen:master Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants