Greg Spencer 58287aceef
Convert services tests to NNBD (#62694)
This converts the packages/flutter/test/services directory to NNBD, now that the services package is converted.

I changed the signature of checkMessageHandler and checkMockMessageHandler on BinaryMessenger to take a nullable handler, since the tests wanted to check to make sure a handler wasn't set, and that functionality no longer works if the handler is non-nullable.
2020-10-08 13:46:44 -07:00
..
2020-10-07 08:47:05 -07:00

This directory contains tools and resources that the Flutter team uses during the development of the framework. The tools in this directory should not be necessary for developing Flutter applications, though of course, they may be interesting if you are curious.

The tests in this directory are run in the framework_tests_misc-* shards.

Luci builder file

try_builders.json and prod_builders.json contain the supported luci try/prod builders for flutter.

try_builders.json

It follows format:

{
    "builders":[
        {
            "name":"yyy",
            "repo":"flutter",
            "taskName":"zzz",
            "enabled":true,
            "run_if":["a/b/", "c/d/**"]
        }
    ]
}
  • enabled(optional): true is the default value if unspecified
  • run_if(optional): will always be triggered if unspecified

prod_builders.json

It follows format:

{
    "builders":[
        {
            "name":"yyy",
            "repo":"flutter",
            "taskName":"zzz",
            "flaky":false
        }
    ]
}

try_builders.json will be mainly used in flutter/cocoon to trigger/update pre-submit flutter luci tasks, whereas prod_builders.json will be mainly used in flutter/cocoon to refresh luci task statuses to dashboard.