1. 13 Jun, 2018 1 commit
    • Chris Bracken's avatar
      Revert elimination of Dart 1 (#18460) · 2ae48845
      Chris Bracken authored
      fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly
      from source, flutter_platform.dart automatically runs a kernel compile when
      operating in Dart 2 mode, but this assumes a functional Dart SDK is available
      in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts
      directory with an empty temp dir.
      
      Remaining work is:
      1. Get the frontend server building as a dependency on Fuchsia.
      2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server.
      
      This also reverts migration to Dart 2 typedef syntax.
      
      This reverts commit 6c56bb24. (#18362)
      This reverts commit 3daebd05. (#18316)
      2ae48845
  2. 11 Jun, 2018 1 commit
    • Greg Spencer's avatar
      Update typedef syntax to use Function notation and turn on lint for old notation. (#18362) · 6c56bb24
      Greg Spencer authored
      Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax.
      
      Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml.
      
      No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.
      6c56bb24
  3. 08 Jun, 2018 3 commits
    • Chris Bracken's avatar
      It's time to #deleteDart1 (again) (#18316) · 3daebd05
      Chris Bracken authored
      * It's time to #deleteDart1 (#18293)
      
      Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1
      benchmarks. All commands now run in Dart 1 mode only.
      
      Eliminates --preview-dart-2 / --no-preview-dart-2 support.
      
      * Fix indentation, remove no longer necessary .toList()
      
      * Only push udpated kernel if >0 invalidated srcs
      3daebd05
    • Chris Bracken's avatar
      Revert "It's time to #deleteDart1 (#18293)" (#18313) · 9495df4b
      Chris Bracken authored
      Several benchmarks started failing during kernel compile:
      1. Timeouts:
         * commands_test
         * hot_mode_dev_cycle__benchmark
         * run_machine_concurrent_hot_reload
         * service_extensions_test
      
      2. Kernel compiler crash:
         * hot_mode_dev_cycle_linux__benchmark
         * routing_test
      
      3. Unexpected termination:
         * hot_mode_dev_cycle_win__benchmark
      
      This reverts commit ed63e708.
      9495df4b
    • Chris Bracken's avatar
      It's time to #deleteDart1 (#18293) · ed63e708
      Chris Bracken authored
      Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1
      benchmarks. All commands now run in Dart 1 mode only.
      
      Eliminates --preview-dart-2 / --no-preview-dart-2 support.
      ed63e708
  4. 05 Jun, 2018 1 commit
  5. 04 Jun, 2018 1 commit
    • Ian Hickson's avatar
      Be less verbose in the logs. (#17401) · e3427550
      Ian Hickson authored
      Now that we have thousands of tests, it doesn't make sense to display a separate line for each test. The result is just megabytes of logs that you have to scrub through to find error messages.
      e3427550
  6. 30 May, 2018 2 commits
  7. 08 May, 2018 1 commit
  8. 04 May, 2018 3 commits
  9. 03 May, 2018 1 commit
  10. 01 May, 2018 1 commit
  11. 30 Apr, 2018 1 commit
    • Todd Volkert's avatar
      Add basic support for golden image file testing (#17094) · e19db89a
      Todd Volkert authored
      * Add a `matchesGoldenFile()` async matcher that will match
        a finder's widget's rasterized image against a golden file.
      * Add support for pluggable image comparison backends
      * Add a default backend that does simplistic PNG byte
        comparison on locally stored golden files.
      * Add support for `flutter test --update-goldens`, which will
        treat the rasterized image bytes produced during the test
        as the new golden bytes and update the golden file accordingly
      
      Still TODO:
      
      * Add support for the `flutter_test_config.dart` test config hook
      * Utilize `flutter_test_config.dart` in `packages/flutter/test`
        to install a backend that retrieves golden files from a dedicated
        `flutter/goldens` repo
      
      https://github.com/flutter/flutter/issues/16859
      e19db89a
  12. 26 Apr, 2018 1 commit
  13. 24 Apr, 2018 1 commit
  14. 22 Apr, 2018 1 commit
  15. 18 Apr, 2018 1 commit
  16. 17 Apr, 2018 3 commits
    • Todd Volkert's avatar
      Run test harness finalizers in reverse order. (#16664) · c7df2619
      Todd Volkert authored
      Finalizers handle the restoration of state. In order to restore
      the state correctly, they shouyld be run in LIFO order.
      
      Fixes #16657
      c7df2619
    • Mikkel Nygaard Ravn's avatar
    • Todd Volkert's avatar
      Roll engine to 1bc0e1bb9a8db882a21086096cc2b1e0854312b7 (#16643) · dd32d1b1
      Todd Volkert authored
      * Roll engine to d6d4eec24c38bb06a9b1aef4e70c321d447ba762
      
      Contains the following engine commits:
      
      flutter/engine@1bc0e1b On windows, refer to Dart snapshot directly executable.
      flutter/engine@cf6ca32 Revert "Roll Dart to fe606f890b0a311da802c78b0af414a3c2087a79"
      flutter/engine@4b45a53 Only make ERROR and FATAL log levels visible by default.
      flutter/engine@98f6c2d Fix shell launcher test (dart2 compliant and stop polling)
      flutter/engine@75851f0 Roll Dart to fe606f890b0a311da802c78b0af414a3c2087a79
      flutter/engine@9495a52 On iOS, try to use ES3, then fall back to ES2.
      flutter/engine@d6d4eec Fix broken Linux build
      flutter/engine@d15dc76 Fix broken Chromebot build
      flutter/engine@c17a629 Breadcrumbs to the wiki
      flutter/engine@4eaf2c2 Return raw (unencoded) bytes in Image.toByteData()
      flutter/engine@d812a61 Roll src/third_party/skia/ e669bdfad..276886160 (9 commits)
      flutter/engine@62aeab7 Call SkSurface::flush instead of getting a backend handle in vulkan_swapchain.
      flutter/engine@f4ebb18 Roll src/third_party/skia/ 3462eb034..e669bdfad (54 commits)
      flutter/engine@0b7d6be Re-land "do not pause rendering when android view loses focus"
      flutter/engine@91dee59 If the rasterizer has a valid surface context, use that to create a snapshotting render target.
      flutter/engine@570231b Specify the packages file path when running engine dart tests.
      flutter/engine@0b9cef5 Minor update to README
      flutter/engine@c386418 Promote line height in text style created from paragraph style
      flutter/engine@4e0fbb6 If the test specifies a .dill file, dont make the engine interpret is as source.
      flutter/engine@58e84c8 Re-land "Support multiple shells in a single process.
      flutter/engine@37e5df0 Remove only use of SkPaint::kGenA8FromLCD
      flutter/engine@b7358b3 libtxt: cache font families that are remapped to the default font family
      flutter/engine@a530035 libtxt: fix leaks in Skia object reference counting
      flutter/engine@0c74fc9 [fuchsia] Fix use-after-free
      flutter/engine@b6d2dde [fuchsia] Fix build
      flutter/engine@1dd1264 [async] Adapt to libasync API changes.
      
      * Run test platform finalizers in reverse order to ensure that shell is shutdown before trying to delete any temporary files or directories. This fixes "Access Denied" error on Windows (see #16657).
      dd32d1b1
  17. 12 Apr, 2018 1 commit
  18. 09 Apr, 2018 1 commit
  19. 20 Mar, 2018 1 commit
  20. 16 Mar, 2018 1 commit
  21. 15 Mar, 2018 1 commit
  22. 12 Mar, 2018 1 commit
  23. 09 Mar, 2018 3 commits
  24. 08 Mar, 2018 1 commit
  25. 07 Mar, 2018 2 commits
  26. 06 Mar, 2018 3 commits
  27. 01 Mar, 2018 1 commit
    • Alexander Aprelev's avatar
      Run flutter tests in preview-dart-2 mode on travis flutter builds. (#14728) · d3797628
      Alexander Aprelev authored
      * Run flutter tests in preview-dart-2 mode on travis flutter builds.
      
      * Run dart2 tests on osx. Run dart tests in dart2.
      
      * Fix name camelCase
      
      * Default options to empty array, rather than null
      
      * Troubleshoot failures
      
      * More logging
      
      * Troubleshoot: run single test
      
      * Troubleshoot: run 15 tests
      
      * Troubleshoot: run 15 tests with fix
      
      * Try limit concurrency to 1
      
      * Limit concurrency for preview-dart-2 tests to 4
      
      * Move dart2 tests to allow_failures section
      
      * Reinstate tests_dart_2 shard
      
      * Raise concurrency to 8
      
      * Reuse compiler across multiple test runs
      
      * Allow to switch entry points when recompiling.
      
      Actually use single compiler to incrementally recompile all tests executed by 'flutter test'.
      
      * Remove leftover commented code
      
      * Fix comment
      
      * Lints
      d3797628
  28. 28 Feb, 2018 1 commit