• Chris Bracken's avatar
    [tool] Add tests for FakeProcessManager (#104456) · f9765c13
    Chris Bracken authored
    Adds a bit more clarifying documentation to the implementation of the
    outputFollowsExit case, and adds tests that verify the behaviour of
    stderr, stdout of processes launched via FakeProcessManager.
    
    Specifically:
    * Verifies that stderr, stdout are not emitted immediately after process
      exit if outputFollowsExit is true. They must be emitted at least one
      turn through the event loop later.
    * Verifies that ProcessResult.stderr, stdout have the type documented
      according to the encoding passted to Process.run/runSync:
      * List<int> if null is passed as the encoding.
      * String (in the default system encoding) if no encoding is specified.
      * String (in the specified encoding) if an encoding is specified.
    
    This is additional testing relating to refactoring landed in:
    https://github.com/flutter/flutter/pull/103947
    
    Issue: https://github.com/flutter/flutter/issues/102451
    f9765c13
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.ci.yaml Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENT_GRANT Loading commit data...
README.md Loading commit data...
TESTOWNERS Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...