Example #1
0
        public static void FlutterPackagesTest(this ICakeContext context, FlutterPackagesTestSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            var runner = new GenericRunner <FlutterPackagesTestSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            runner.Run("packages test", settings ?? new FlutterPackagesTestSettings());
        }
Example #2
0
        public static IEnumerable <string> FlutterPackagesTestWithResult(this ICakeContext context, FlutterPackagesTestSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            var runner = new GenericRunner <FlutterPackagesTestSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            return(runner.RunWithResult("packages test", settings ?? new FlutterPackagesTestSettings()));
        }