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()); }
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())); }