Skip to content

flutter test fails on latest engine (https://github.com/flutter/flutter/pull/15847) #15849

@aam

Description

@aam
00:20 +96 ~1 -1: loading C:\projects\flutter sdk\packages\flutter\test\cupertino\scaffold_test.dart
00:21 +96 ~1 -1: C:\projects\flutter sdk\packages\flutter\test\cupertino\refresh_test.dart: UI tests - doesn't invoke anything without user interaction [E]
  NoSuchMethodError: The method '_setExpected' was called on null.
  Receiver: null
  Tried calling: _setExpected(Closure: (Invocation) => dynamic)
  dart:core                             Object.noSuchMethod
  package:mockito/src/mock.dart 318:15  PostExpectation._completeWhen
  package:mockito/src/mock.dart 304:12  PostExpectation.thenReturn
  cupertino\refresh_test.dart 27:30     main.<fn>
  
  'package:flutter_test/src/binding.dart': Failed assertion: line 519 pos 12: 'inTest': is not true.
  dart:core                                     _AssertionError._throwNew
  package:flutter_test/src/binding.dart         TestWidgetsFlutterBinding.postTest
  package:flutter_test/src/binding.dart 680:11  AutomatedTestWidgetsFlutterBinding.postTest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions