1. 28 Feb, 2017 1 commit
  2. 21 Feb, 2017 1 commit
  3. 15 Feb, 2017 2 commits
  4. 14 Feb, 2017 1 commit
  5. 09 Feb, 2017 1 commit
  6. 07 Feb, 2017 1 commit
  7. 03 Feb, 2017 1 commit
  8. 01 Feb, 2017 2 commits
  9. 27 Jan, 2017 1 commit
  10. 24 Jan, 2017 1 commit
  11. 23 Jan, 2017 1 commit
    • Michael Thomsen's avatar
      Update IntelliJ template for new projects and existing samples (#7501) · 24f1b2ee
      Michael Thomsen authored
      * Disable 'Show Excluded' by default
      
      * Move .iml file inside .idea dir
      
      * Remove pub and build excludions as they are automatically set by the Dart plugin
      
      * Exclude .idea folder (new users will edit it through the IJ UI, not the file)
      
      * Move .iml files into .idea dir to be consistent with template changes
      
      * Add workspace.xml from new template to existing samples
      
      * Update current examples to match template changes for excluding folders
      
      * Add missing flutter.yaml to make sure there are no analysis errors
      
      * Add back .pub and build excludeFolder tags per https://github.com/flutter/flutter-intellij/issues/630#issuecomment-272887230
      
      * Remove workspace.xml from example per review feedback
      24f1b2ee
  12. 12 Jan, 2017 1 commit
  13. 07 Dec, 2016 1 commit
  14. 27 Nov, 2016 1 commit
  15. 14 Nov, 2016 1 commit
    • Dan Rubel's avatar
      Refactor flutter command exit code - part 3 of 3 (#6838) · 34e466f1
      Dan Rubel authored
      * Remove the workaround that pinned args to v0.13.6
      This reverts most of the changes in commit 6331b6c8
      * throw exception if exit code is not an integer
      * rework command infrastructure to throw ToolExit when non-zero exitCode
      * convert commands to return Future<Null>
      * cleanup remaining commands to use throwToolExit for non-zero exit code
      * remove isUnusual exception message
      * add type annotations for updated args package
      34e466f1
  16. 08 Nov, 2016 1 commit
  17. 01 Nov, 2016 1 commit
  18. 15 Oct, 2016 1 commit
  19. 14 Oct, 2016 1 commit
  20. 13 Oct, 2016 2 commits
  21. 07 Oct, 2016 2 commits
  22. 26 Sep, 2016 1 commit
    • Chris Bracken's avatar
      Update examples to Xcode 8 recommended settings · 71b65e32
      Chris Bracken authored
      As of Xcode 7, Apple recommends setting the bundle identifier in the
      PRODUCT_BUNDLE_IDENTIFIER build variable and setting CFBundleIdentifier
      to that variable in Info.plist.
      
      As of Xcode 8, CLANG_WARN_INFINITE_RECURSION and CLANG_WARN_SUSPICIOUS_MOVE
      are recommended settings.
      71b65e32
  23. 23 Sep, 2016 1 commit
  24. 05 Aug, 2016 2 commits
  25. 20 Jul, 2016 1 commit
    • Devon Carew's avatar
      Hello services run (#4969) · 57b76a05
      Devon Carew authored
      * making flutter run work with gradle
      
      * locate android studio
      
      * add test for settings
      
      * review comments
      57b76a05
  26. 07 Jul, 2016 1 commit
  27. 06 Jul, 2016 1 commit
  28. 16 May, 2016 1 commit
    • Ian Hickson's avatar
      Make it possible to run tests live on a device (#3936) · 32527017
      Ian Hickson authored
      This makes it possible to substitute 'flutter run' for 'flutter test'
      and actually watch a test run on a device.
      
      For any test that depends on flutter_test:
      
      1. Remove any import of 'package:test/test.dart'.
      
      2. Replace `testWidgets('...', (WidgetTester tester) {`
            with `testWidgets('...', (WidgetTester tester) async {`
      
      3. Add an "await" in front of calls to any of the following:
          * tap()
          * tapAt()
          * fling()
          * flingFrom()
          * scroll()
          * scrollAt()
          * pump()
          * pumpWidget()
      
      4. Replace any calls to `tester.flushMicrotasks()` with calls to
         `await tester.idle()`.
      
      There's a guarding API that you can use, if you have particularly
      complicated tests, to get better error messages. Search for
      TestAsyncUtils.
      32527017
  29. 10 May, 2016 1 commit
  30. 09 May, 2016 1 commit
  31. 29 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Refactor the test framework (#3622) · 91dd9699
      Ian Hickson authored
      * Refactor widget test framework
      
      Instead of:
      
      ```dart
        test("Card Collection smoke test", () {
          testWidgets((WidgetTester tester) {
      ```
      
      ...you now say:
      
      ```dart
        testWidgets("Card Collection smoke test", (WidgetTester tester) {
      ```
      
      Instead of:
      
      ```dart
        expect(tester, hasWidget(find.text('hello')));
      ```
      
      ...you now say:
      
      ```dart
        expect(find.text('hello'), findsOneWidget);
      ```
      
      Instead of the previous API (exists, widgets, widget, stateOf,
      elementOf, etc), you now have the following comprehensive API. All these
      are functions that take a Finder, except the all* properties.
      
      * `any()` - true if anything matches, c.f. `Iterable.any`
      * `allWidgets` - all the widgets in the tree
      * `widget()` - the one and only widget that matches the finder
      * `firstWidget()` - the first widget that matches the finder
      * `allElements` - all the elements in the tree
      * `element()` - the one and only element that matches the finder
      * `firstElement()` - the first element that matches the finder
      * `allStates` - all the `State`s in the tree
      * `state()` - the one and only state that matches the finder
      * `firstState()` - the first state that matches the finder
      * `allRenderObjects` - all the render objects in the tree
      * `renderObject()` - the one and only render object that matches the finder
      * `firstRenderObject()` - the first render object that matches the finder
      
      There's also `layers' which returns the list of current layers.
      
      `tap`, `fling`, getCenter, getSize, etc, take Finders, like the APIs
      above, and expect there to only be one matching widget.
      
      The finders are:
      
       * `find.text(String text)`
       * `find.widgetWithText(Type widgetType, String text)`
       * `find.byKey(Key key)`
       * `find.byType(Type type)`
       * `find.byElementType(Type type)`
       * `find.byConfig(Widget config)`
       * `find.byWidgetPredicate(WidgetPredicate predicate)`
       * `find.byElementPredicate(ElementPredicate predicate)`
      
      The matchers (for `expect`) are:
      
       * `findsNothing`
       * `findsWidgets`
       * `findsOneWidget`
       * `findsNWidgets(n)`
       * `isOnStage`
       * `isOffStage`
       * `isInCard`
       * `isNotInCard`
      
      Benchmarks now use benchmarkWidgets instead of testWidgets.
      
      Also, for those of you using mockers, `serviceMocker` now automatically
      handles the binding initialization.
      
      This patch also:
      
      * changes how tests are run so that we can more easily swap the logic
        out for a "real" mode instead of FakeAsync.
      
      * introduces CachingIterable.
      
      * changes how flutter_driver interacts with the widget tree to use the
        aforementioned new API rather than ElementTreeTester, which is gone.
      
      * removes ElementTreeTester.
      
      * changes the semantics of a test for scrollables because we couldn't
        convince ourselves that the old semantics made sense; it only worked
        before because flushing the microtasks after every event was broken.
      
      * fixes the flushing of microtasks after every event.
      
      * Reindent the tests
      
      * Fix review comments
      91dd9699
  32. 14 Apr, 2016 1 commit
  33. 13 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Fix dependency skew. (#3306) · 7861d029
      Ian Hickson authored
      ...by adding tests to our examples that don't import flutter_test, which
      pins the relevant dependencies.
      
      Also, provide more information when complaining about leaked transient
      callbacks in tests.
      
      Also, make tests display full information when they have an exception,
      by bypassing the throttling we have for Android logging in tests.
      
      Also, make the word wrapping not wrap stack traces if they happen to
      be included in exception output.
      
      Also, fix a leaked transient callback in the checkbox code.
      7861d029
  34. 14 Mar, 2016 1 commit
  35. 17 Feb, 2016 1 commit