-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #421 from appwrite/feat-latest-dependencies-dart
Flutter upgrade dependencies
- Loading branch information
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
namespace Tests; | ||
|
||
class FlutterBetaTest extends Base | ||
{ | ||
protected string $language = 'flutter'; | ||
protected string $class = 'Appwrite\SDK\Language\Flutter'; | ||
protected array $build = [ | ||
'mkdir -p tests/sdks/flutter/test', | ||
'cp tests/languages/flutter/tests.dart tests/sdks/flutter/test/appwrite_test.dart', | ||
]; | ||
protected string $command = | ||
'docker run --rm -v $(pwd):/app -w /app/tests/sdks/flutter --env PUB_CACHE=vendor cirrusci/flutter:beta sh -c "flutter pub get && flutter test test/appwrite_test.dart"'; | ||
|
||
protected array $expectedOutput = [ | ||
...Base::FOO_RESPONSES, | ||
...Base::BAR_RESPONSES, | ||
...Base::GENERAL_RESPONSES, | ||
...Base::LARGE_FILE_RESPONSES, | ||
...Base::EXCEPTION_RESPONSES, | ||
...Base::REALTIME_RESPONSES, | ||
...Base::COOKIE_RESPONSES, | ||
]; | ||
} |