diff --git a/.github/recipe.yaml b/.github/recipe.yaml index 14f04ac70..21ce24737 100644 --- a/.github/recipe.yaml +++ b/.github/recipe.yaml @@ -1,26 +1,28 @@ plugins: - audioplayers: ["wearable-5.5", "tv-7.0"] - battery_plus: ["wearable-5.5"] - connectivity_plus: ["wearable-5.5", "tv-7.0"] - device_info_plus: ["wearable-5.5", "tv-7.0"] - flutter_app_badger: ["wearable-5.5"] - flutter_secure_storage: ["wearable-5.5", "tv-7.0"] - flutter_tts: ["wearable-5.5", "tv-7.0"] - integration_test: ["wearable-5.5", "tv-7.0"] - messageport: ["wearable-5.5", "tv-7.0"] - package_info_plus: ["wearable-5.5", "tv-7.0"] - path_provider: ["wearable-5.5", "tv-7.0"] - permission_handler: ["wearable-5.5"] - sensors_plus: ["wearable-5.5"] - shared_preferences: ["wearable-5.5", "tv-7.0"] - sqflite: ["wearable-5.5", "tv-7.0"] - tizen_app_manager: ["wearable-5.5", "tv-7.0"] - tizen_audio_manager: ["wearable-5.5", "tv-7.0"] - tizen_bundle: ["wearable-5.5", "tv-7.0"] - tizen_package_manager: ["wearable-5.5", "tv-7.0"] - tizen_rpc_port: ["tv-7.0"] - url_launcher: ["wearable-5.5", "tv-7.0"] - wakelock: ["wearable-5.5"] + audioplayers: ["tv-8.0"] + connectivity_plus: ["tv-8.0"] + device_info_plus: ["tv-8.0"] + flutter_secure_storage: ["tv-8.0"] + flutter_tts: ["tv-8.0"] + integration_test: ["tv-8.0"] + messageport: ["tv-8.0"] + package_info_plus: ["tv-8.0"] + path_provider: ["tv-8.0"] + shared_preferences: ["tv-8.0"] + sqflite: ["tv-8.0"] + tizen_app_manager: ["tv-8.0"] + tizen_audio_manager: ["tv-8.0"] + tizen_bundle: ["tv-8.0"] + tizen_package_manager: ["tv-8.0"] + tizen_rpc_port: ["tv-8.0"] + url_launcher: ["tv-8.0"] + + # Only testable with wearable profile. + battery_plus: [] + flutter_app_badger: [] + permission_handler: [] + sensors_plus: [] + wakelock: [] # No tests. google_sign_in: [] diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b84c4be43..22ea2a837 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,8 +24,9 @@ jobs: - name: Install Tizen Studio if: ${{ env.HAS_CHANGED_PACKAGES == 'true' }} run: | - sudo apt install -y libncurses5 python2.7 libpython2.7 gettext - curl http://download.tizen.org/sdk/Installer/tizen-studio_5.1/web-cli_Tizen_Studio_5.1_ubuntu-64.bin -o install.bin + sudo apt install -y libncurses5 python2.7 libpython2.7 gettext \ + libkf5itemmodels5 libkf5kiowidgets5 libkchart2 + curl https://download.tizen.org/sdk/Installer/tizen-studio_5.6/web-cli_Tizen_Studio_5.6_ubuntu-64.bin -o install.bin chmod a+x install.bin ./install.bin --accept-license $HOME/tizen-studio rm install.bin @@ -34,9 +35,8 @@ jobs: run: | $HOME/tizen-studio/package-manager/package-manager-cli.bin install \ NativeToolchain-Gcc-9.2 \ - WEARABLE-5.5-NativeAppDevelopment-CLI \ - WEARABLE-6.0-NativeAppDevelopment-CLI \ - WEARABLE-6.5-NativeAppDevelopment-CLI + IOT-Headed-6.0-NativeAppDevelopment-CLI \ + IOT-Headed-6.5-NativeAppDevelopment-CLI - name: Create a Tizen certificate profile if: ${{ env.HAS_CHANGED_PACKAGES == 'true' }} run: | diff --git a/packages/audioplayers/example/tizen/tizen-manifest.xml b/packages/audioplayers/example/tizen/tizen-manifest.xml index b7781d7ef..b63b90b23 100644 --- a/packages/audioplayers/example/tizen/tizen-manifest.xml +++ b/packages/audioplayers/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/battery_plus/example/tizen/tizen-manifest.xml b/packages/battery_plus/example/tizen/tizen-manifest.xml index 61a82fff4..2878f4164 100644 --- a/packages/battery_plus/example/tizen/tizen-manifest.xml +++ b/packages/battery_plus/example/tizen/tizen-manifest.xml @@ -1,6 +1,6 @@ - - + + ic_launcher.png diff --git a/packages/camera/example/tizen/tizen-manifest.xml b/packages/camera/example/tizen/tizen-manifest.xml index 179aa3d65..6a7bdb9ee 100644 --- a/packages/camera/example/tizen/tizen-manifest.xml +++ b/packages/camera/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/connectivity_plus/example/tizen/tizen-manifest.xml b/packages/connectivity_plus/example/tizen/tizen-manifest.xml index a52cd2d3f..7c59789af 100644 --- a/packages/connectivity_plus/example/tizen/tizen-manifest.xml +++ b/packages/connectivity_plus/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/device_info_plus/example/tizen/tizen-manifest.xml b/packages/device_info_plus/example/tizen/tizen-manifest.xml index 1d904af4b..77f0effad 100644 --- a/packages/device_info_plus/example/tizen/tizen-manifest.xml +++ b/packages/device_info_plus/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/firebase_core/example/tizen/tizen-manifest.xml b/packages/firebase_core/example/tizen/tizen-manifest.xml index bccb06734..948515246 100644 --- a/packages/firebase_core/example/tizen/tizen-manifest.xml +++ b/packages/firebase_core/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/flutter_app_badger/example/tizen/tizen-manifest.xml b/packages/flutter_app_badger/example/tizen/tizen-manifest.xml index 4ed4f0d56..c31a9ad89 100644 --- a/packages/flutter_app_badger/example/tizen/tizen-manifest.xml +++ b/packages/flutter_app_badger/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/flutter_secure_storage/example/tizen/tizen-manifest.xml b/packages/flutter_secure_storage/example/tizen/tizen-manifest.xml index 048f5777b..0d9967d09 100644 --- a/packages/flutter_secure_storage/example/tizen/tizen-manifest.xml +++ b/packages/flutter_secure_storage/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/flutter_tts/example/tizen/tizen-manifest.xml b/packages/flutter_tts/example/tizen/tizen-manifest.xml index 60c6c1abf..463b44aee 100644 --- a/packages/flutter_tts/example/tizen/tizen-manifest.xml +++ b/packages/flutter_tts/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/geolocator/example/tizen/tizen-manifest.xml b/packages/geolocator/example/tizen/tizen-manifest.xml index 6201caa00..9d050fcbd 100644 --- a/packages/geolocator/example/tizen/tizen-manifest.xml +++ b/packages/geolocator/example/tizen/tizen-manifest.xml @@ -1,6 +1,6 @@ - - + + ic_launcher.png diff --git a/packages/google_maps_flutter/example/tizen/tizen-manifest.xml b/packages/google_maps_flutter/example/tizen/tizen-manifest.xml index 7ab29e90f..afd811c98 100644 --- a/packages/google_maps_flutter/example/tizen/tizen-manifest.xml +++ b/packages/google_maps_flutter/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/google_sign_in/example/tizen/tizen-manifest.xml b/packages/google_sign_in/example/tizen/tizen-manifest.xml index c09b6c407..1daf97ad2 100644 --- a/packages/google_sign_in/example/tizen/tizen-manifest.xml +++ b/packages/google_sign_in/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/image_picker/example/tizen/tizen-manifest.xml b/packages/image_picker/example/tizen/tizen-manifest.xml index 4292a10ad..3af261bd5 100644 --- a/packages/image_picker/example/tizen/tizen-manifest.xml +++ b/packages/image_picker/example/tizen/tizen-manifest.xml @@ -1,6 +1,6 @@ - - + + ic_launcher.png diff --git a/packages/in_app_purchase/example/tizen/tizen-manifest.xml b/packages/in_app_purchase/example/tizen/tizen-manifest.xml index 55bcb3fef..a5a329f75 100644 --- a/packages/in_app_purchase/example/tizen/tizen-manifest.xml +++ b/packages/in_app_purchase/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/integration_test/example/tizen/tizen-manifest.xml b/packages/integration_test/example/tizen/tizen-manifest.xml index b7e3d3716..8788706be 100644 --- a/packages/integration_test/example/tizen/tizen-manifest.xml +++ b/packages/integration_test/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/messageport/example/tizen/tizen-manifest.xml b/packages/messageport/example/tizen/tizen-manifest.xml index f463d1055..32a03aeb6 100644 --- a/packages/messageport/example/tizen/tizen-manifest.xml +++ b/packages/messageport/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/network_info_plus/example/tizen/tizen-manifest.xml b/packages/network_info_plus/example/tizen/tizen-manifest.xml index 648d83bb6..9065c199a 100644 --- a/packages/network_info_plus/example/tizen/tizen-manifest.xml +++ b/packages/network_info_plus/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/package_info_plus/example/tizen/tizen-manifest.xml b/packages/package_info_plus/example/tizen/tizen-manifest.xml index b0a1897ca..cb4be131d 100644 --- a/packages/package_info_plus/example/tizen/tizen-manifest.xml +++ b/packages/package_info_plus/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/path_provider/example/tizen/tizen-manifest.xml b/packages/path_provider/example/tizen/tizen-manifest.xml index a9a93abf5..71640d0e5 100644 --- a/packages/path_provider/example/tizen/tizen-manifest.xml +++ b/packages/path_provider/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/permission_handler/example/tizen/tizen-manifest.xml b/packages/permission_handler/example/tizen/tizen-manifest.xml index 9ef8e8ab9..451b2b9ed 100644 --- a/packages/permission_handler/example/tizen/tizen-manifest.xml +++ b/packages/permission_handler/example/tizen/tizen-manifest.xml @@ -1,6 +1,6 @@ - - + + ic_launcher.png diff --git a/packages/sensors_plus/example/tizen/tizen-manifest.xml b/packages/sensors_plus/example/tizen/tizen-manifest.xml index ce0a4cc65..65521bca4 100644 --- a/packages/sensors_plus/example/tizen/tizen-manifest.xml +++ b/packages/sensors_plus/example/tizen/tizen-manifest.xml @@ -1,6 +1,6 @@ - - + + ic_launcher.png diff --git a/packages/shared_preferences/example/tizen/tizen-manifest.xml b/packages/shared_preferences/example/tizen/tizen-manifest.xml index e03d184a4..6a3064b4e 100644 --- a/packages/shared_preferences/example/tizen/tizen-manifest.xml +++ b/packages/shared_preferences/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/sqflite/example/tizen/tizen-manifest.xml b/packages/sqflite/example/tizen/tizen-manifest.xml index e1a46d0eb..873cf4fa9 100644 --- a/packages/sqflite/example/tizen/tizen-manifest.xml +++ b/packages/sqflite/example/tizen/tizen-manifest.xml @@ -1,6 +1,6 @@ - - + + ic_launcher.png diff --git a/packages/tizen_app_control/example/tizen/service/tizen-manifest.xml b/packages/tizen_app_control/example/tizen/service/tizen-manifest.xml index b486a2bb9..c9fc92c53 100644 --- a/packages/tizen_app_control/example/tizen/service/tizen-manifest.xml +++ b/packages/tizen_app_control/example/tizen/service/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/tizen_app_control/example/tizen/ui/tizen-manifest.xml b/packages/tizen_app_control/example/tizen/ui/tizen-manifest.xml index 7488cabf1..329d82426 100644 --- a/packages/tizen_app_control/example/tizen/ui/tizen-manifest.xml +++ b/packages/tizen_app_control/example/tizen/ui/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/tizen_app_manager/example/tizen/tizen-manifest.xml b/packages/tizen_app_manager/example/tizen/tizen-manifest.xml index e53f8a30c..922042e19 100644 --- a/packages/tizen_app_manager/example/tizen/tizen-manifest.xml +++ b/packages/tizen_app_manager/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/tizen_audio_manager/example/tizen/tizen-manifest.xml b/packages/tizen_audio_manager/example/tizen/tizen-manifest.xml index ddb407ecf..494f86203 100644 --- a/packages/tizen_audio_manager/example/tizen/tizen-manifest.xml +++ b/packages/tizen_audio_manager/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/tizen_bundle/example/tizen/tizen-manifest.xml b/packages/tizen_bundle/example/tizen/tizen-manifest.xml index a8f139565..2922073ff 100644 --- a/packages/tizen_bundle/example/tizen/tizen-manifest.xml +++ b/packages/tizen_bundle/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/tizen_log/example/tizen/tizen-manifest.xml b/packages/tizen_log/example/tizen/tizen-manifest.xml index 8ad80618b..43c70ae4a 100644 --- a/packages/tizen_log/example/tizen/tizen-manifest.xml +++ b/packages/tizen_log/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/tizen_notification/example/tizen/tizen-manifest.xml b/packages/tizen_notification/example/tizen/tizen-manifest.xml index af0a1567d..b6fd10a10 100644 --- a/packages/tizen_notification/example/tizen/tizen-manifest.xml +++ b/packages/tizen_notification/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/tizen_package_manager/example/tizen/tizen-manifest.xml b/packages/tizen_package_manager/example/tizen/tizen-manifest.xml index def8a8c9a..e4c53f14c 100644 --- a/packages/tizen_package_manager/example/tizen/tizen-manifest.xml +++ b/packages/tizen_package_manager/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/url_launcher/example/tizen/tizen-manifest.xml b/packages/url_launcher/example/tizen/tizen-manifest.xml index ab3b830aa..3b7bd5415 100644 --- a/packages/url_launcher/example/tizen/tizen-manifest.xml +++ b/packages/url_launcher/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/video_player/example/tizen/tizen-manifest.xml b/packages/video_player/example/tizen/tizen-manifest.xml index 78573473f..71fdeb5fe 100644 --- a/packages/video_player/example/tizen/tizen-manifest.xml +++ b/packages/video_player/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/video_player_videohole/example/tizen/tizen-manifest.xml b/packages/video_player_videohole/example/tizen/tizen-manifest.xml index 3afed6155..656fafd6e 100644 --- a/packages/video_player_videohole/example/tizen/tizen-manifest.xml +++ b/packages/video_player_videohole/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/wakelock/example/tizen/tizen-manifest.xml b/packages/wakelock/example/tizen/tizen-manifest.xml index 26e0cb38d..03bc57439 100644 --- a/packages/wakelock/example/tizen/tizen-manifest.xml +++ b/packages/wakelock/example/tizen/tizen-manifest.xml @@ -1,6 +1,6 @@ - - + + ic_launcher.png diff --git a/packages/webview_flutter/example/tizen/tizen-manifest.xml b/packages/webview_flutter/example/tizen/tizen-manifest.xml index 0462939af..996d0a33d 100644 --- a/packages/webview_flutter/example/tizen/tizen-manifest.xml +++ b/packages/webview_flutter/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/packages/webview_flutter_lwe/example/tizen/tizen-manifest.xml b/packages/webview_flutter_lwe/example/tizen/tizen-manifest.xml index 8d1c12175..e78dd8814 100644 --- a/packages/webview_flutter_lwe/example/tizen/tizen-manifest.xml +++ b/packages/webview_flutter_lwe/example/tizen/tizen-manifest.xml @@ -1,5 +1,5 @@ - + diff --git a/tools/lib/src/build_examples_command.dart b/tools/lib/src/build_examples_command.dart index c45601735..a9fa71def 100644 --- a/tools/lib/src/build_examples_command.dart +++ b/tools/lib/src/build_examples_command.dart @@ -39,8 +39,6 @@ class BuildExamplesCommand extends PackageLoopingCommand { [ 'build', 'tpk', - '--device-profile', - 'wearable', '-v', ], workingDir: example.directory, diff --git a/tools/lib/src/device.dart b/tools/lib/src/device.dart index 7ad8f14b7..ac231766d 100644 --- a/tools/lib/src/device.dart +++ b/tools/lib/src/device.dart @@ -237,9 +237,6 @@ class EmulatorDevice extends Device { Future create() async { late final String platform; switch (profile.deviceType) { - case DeviceType.wearable: - platform = '$profile-circle-x86'; - break; case DeviceType.tv: platform = '${profile.deviceType}-samsung-${profile.version.toString().substring(0, 3)}-x86'; diff --git a/tools/lib/src/integration_test_command.dart b/tools/lib/src/integration_test_command.dart index b4d6c9397..bd4c0a9b8 100644 --- a/tools/lib/src/integration_test_command.dart +++ b/tools/lib/src/integration_test_command.dart @@ -33,7 +33,7 @@ class IntegrationTestCommand extends PackageLoopingCommand { ); argParser.addMultiOption( _profilesArg, - help: 'Profiles to run integration test on. (ex: wearable-5.5)\n' + help: 'Profiles to run integration test on. (ex: tv-6.0)\n' 'The command will select all matching profile devices for each ' 'plugin. If you wish to set profiles individually for each plugin, ' 'use --$_recipeArg instead.', @@ -50,10 +50,9 @@ class IntegrationTestCommand extends PackageLoopingCommand { '(same as $_excludeArg option). If --$_recipeArg is used, ' '$_packagesArg and $_excludeArg options will be ignored.\n\n' 'plugins:\n' - ' a: [wearable-5.5, tv-6.0]\n' + ' a: [tv-6.0, mobile-6.0]\n' ' b: [mobile-6.0]\n' - ' c: [wearable-5.5]\n' - ' d: [] # explicitly excluded\n', + ' c: [] # explicitly excluded\n', valueHelp: 'recipe.yaml', ); argParser.addOption( diff --git a/tools/lib/src/tizen_sdk.dart b/tools/lib/src/tizen_sdk.dart index 86b9fee0e..5c9249304 100644 --- a/tools/lib/src/tizen_sdk.dart +++ b/tools/lib/src/tizen_sdk.dart @@ -59,10 +59,7 @@ class DeviceType { final String _value; /// A list of all supported Tizen device types. - static const List values = [wearable, tv, mobile]; - - /// A wearable device type such as Galaxy Watch. - static const DeviceType wearable = DeviceType._('wearable'); + static const List values = [tv, mobile]; /// A tv device type such as Samsung Smart TV. static const DeviceType tv = DeviceType._('tv'); @@ -85,10 +82,10 @@ class Profile { /// platform_version is optional. /// /// ```dart - /// // Wearable device. - /// Profile.fromString('wearable') - /// // Wearable device with Tizen 5.5. - /// Profile.fromString('wearable-5.5') + /// // TV device. + /// Profile.fromString('tv') + /// // TV device with Tizen 6.0. + /// Profile.fromString('tv-6.0') /// ``` /// /// To see all supported device types, see [DeviceType]. diff --git a/tools/test/device_test.dart b/tools/test/device_test.dart index 9ca31f5ae..68e1bc273 100644 --- a/tools/test/device_test.dart +++ b/tools/test/device_test.dart @@ -53,7 +53,7 @@ void main() { ]); device = Device.physical( 'some_name', - Profile.fromString('wearable-5.5'), + Profile.fromString('mobile-6.0'), tizenSdk: tizenSdk, processRunner: processRunner, ); diff --git a/tools/test/integration/device_test.dart b/tools/test/integration/device_test.dart index 9f1575f21..9fb1cf244 100644 --- a/tools/test/integration/device_test.dart +++ b/tools/test/integration/device_test.dart @@ -24,8 +24,8 @@ Future _checkSystemRequirements(String emulatorName) async { final List platforms = LineSplitter.split(result.stdout as String) .map((String token) => token.trim()) .toList(); - if (!platforms.contains('wearable-5.5-circle-x86')) { - throw Exception('Tizen wearable-5.5 emulator package is not installed.'); + if (!platforms.contains('mobile-6.0-x86')) { + throw Exception('Tizen mobile-6.0 emulator package is not installed.'); } result = @@ -65,7 +65,7 @@ void main() { tizenSdk = TizenSdk.locateTizenSdk(); device = EmulatorDevice( emulatorName, - Profile.fromString('wearable-5.5'), + Profile.fromString('mobile-6.0'), tizenSdk: tizenSdk, ); }); diff --git a/tools/test/recipe_test.dart b/tools/test/recipe_test.dart index f53a5616f..e01fd3f5d 100644 --- a/tools/test/recipe_test.dart +++ b/tools/test/recipe_test.dart @@ -12,8 +12,8 @@ void main() { setUp(() { yamlString = ''' plugins: - a: ["wearable-5.5"] - b: ["wearable-5.5", "tv-6.0"] + a: ["mobile-6.0"] + b: ["mobile-6.0", "tv-6.0"] c: [] '''; @@ -28,8 +28,8 @@ plugins: expect(recipe.contains('d'), false); expect(recipe.isExcluded('d'), false); - expect(recipe.getProfiles('a').first.toString(), 'wearable-5.5'); + expect(recipe.getProfiles('a').first.toString(), 'mobile-6.0'); expect(recipe.getProfiles('b').map((Profile profile) => profile.toString()), - unorderedEquals(['wearable-5.5', 'tv-6.0'])); + unorderedEquals(['mobile-6.0', 'tv-6.0'])); }); } diff --git a/tools/test/tizen_sdk_test.dart b/tools/test/tizen_sdk_test.dart index 508816887..20402624e 100644 --- a/tools/test/tizen_sdk_test.dart +++ b/tools/test/tizen_sdk_test.dart @@ -7,7 +7,6 @@ import 'package:test/test.dart'; void main() { test('correctly parses device types', () { - expect(DeviceType.fromString('wearable'), DeviceType.wearable); expect(DeviceType.fromString('tv'), DeviceType.tv); expect(DeviceType.fromString('mobile'), DeviceType.mobile); }); @@ -16,10 +15,10 @@ void main() { }); test('correctly parses profile', () { - final Profile profile = Profile.fromString('wearable-5.5'); - expect(profile.deviceType, DeviceType.wearable); - expect(profile.version!.major, 5); - expect(profile.version!.minor, 5); + final Profile profile = Profile.fromString('tv-6.0'); + expect(profile.deviceType, DeviceType.tv); + expect(profile.version!.major, 6); + expect(profile.version!.minor, 0); }); test('throws argument exception on invalid profile string.', () { diff --git a/tools/test_data/foo/example/tizen/tizen-manifest.xml b/tools/test_data/foo/example/tizen/tizen-manifest.xml index b849f4537..1657fed56 100644 --- a/tools/test_data/foo/example/tizen/tizen-manifest.xml +++ b/tools/test_data/foo/example/tizen/tizen-manifest.xml @@ -1,6 +1,6 @@ - - + + ic_launcher.png