Lines Matching refs:_task
31 _task.Generator = "csharp"; in SetUp()
32 _task.OutputDir = "outdir"; in SetUp()
33 _task.Protobuf = Utils.MakeSimpleItems("a.proto"); in SetUp()
42 bool result = _task.Execute(); in ExecuteExpectSuccess()
50 Assert.That(_task.LastPathToTool, Does.Match(@"protoc(.exe)?$")); in MinimalCompile()
51 Assert.That(_task.LastResponseFile, Is.EqualTo(new[] { in MinimalCompile()
58 _task.Protobuf = Utils.MakeSimpleItems("a.proto", "foo/b.proto"); in CompileTwoFiles()
60 Assert.That(_task.LastResponseFile, Is.EqualTo(new[] { in CompileTwoFiles()
67 _task.ProtoPath = new[] { "/path1", "/path2" }; in CompileWithProtoPaths()
69 Assert.That(_task.LastResponseFile, Is.EqualTo(new[] { in CompileWithProtoPaths()
85 _task.Generator = gen; in CompileWithOptions()
86 _task.OutputOptions = new[] { "foo", "bar" }; in CompileWithOptions()
89 Assert.That(_task.LastResponseFile, Is.EqualTo(new[] { in CompileWithOptions()
96 _task.DependencyOut = "foo/my.protodep"; in OutputDependencyFile()
98 _task.Execute(); in OutputDependencyFile()
99 Assert.That(_task.LastResponseFile, in OutputDependencyFile()
106 _task.ProtoDepDir = "foo"; in OutputDependencyWithProtoDepDir()
108 _task.Execute(); in OutputDependencyWithProtoDepDir()
109 Assert.That(_task.LastResponseFile, in OutputDependencyWithProtoDepDir()
116 _task.GrpcPluginExe = "/foo/grpcgen"; in GenerateGrpc()
118 Assert.That(_task.LastResponseFile, Is.SupersetOf(new[] { in GenerateGrpc()
126 _task.GrpcPluginExe = "/foo/grpcgen"; in GenerateGrpcWithOutDir()
127 _task.GrpcOutputDir = "gen-out"; in GenerateGrpcWithOutDir()
129 Assert.That(_task.LastResponseFile, Is.SupersetOf(new[] { in GenerateGrpcWithOutDir()
136 _task.GrpcPluginExe = "/foo/grpcgen"; in GenerateGrpcWithOptions()
137 _task.GrpcOutputOptions = new[] { "baz", "quux" }; in GenerateGrpcWithOptions()
139 Assert.That(_task.LastResponseFile, in GenerateGrpcWithOptions()
146 _task.GrpcPluginExe = "/foo/grpcgen"; in DirectoryArgumentsSlashTrimmed()
147 _task.GrpcOutputDir = "gen-out/"; in DirectoryArgumentsSlashTrimmed()
148 _task.OutputDir = "outdir/"; in DirectoryArgumentsSlashTrimmed()
149 _task.ProtoPath = new[] { "/path1/", "/path2/" }; in DirectoryArgumentsSlashTrimmed()
151 Assert.That(_task.LastResponseFile, Is.SupersetOf(new[] { in DirectoryArgumentsSlashTrimmed()
173 _task.OutputDir = given; in DirectorySlashTrimmingCases()
175 Assert.That(_task.LastResponseFile, in DirectorySlashTrimmingCases()
195 _task.StdErrMessages.Add(stderr); in WarningsParsed()
213 bool result = _task.Execute(); in WarningsParsed()
233 _task.StdErrMessages.Add(stderr); in ErrorsParsed()
256 bool result = _task.Execute(); in ErrorsParsed()