Lines Matching refs:res
61 res *app.BuildCommand
65 res *app.BuildQuery
69 res *app.BuildInput
73 res *app.BuildPath
77 res []*app.BuildPath
81 res *app.BuildDeps
85 res *app.BuildCmdResult
103 res: &app.BuildCommand{Target: "test", Cmds: []string{"cmd1", "cmd2", "cmd3"}}},
106 res: &app.BuildQuery{Target: "test", Inputs: []string{"infile"}, Outputs: []string{"outfile"}}},
109 …res: &app.BuildInput{Target: "test", Files: []string{"file1", "file2", "file3", "file4", "file5"}},
113 res: &app.BuildPath{Target: "test", Dependency: "dependency",
118 res: []*app.BuildPath{
125 res: &app.BuildDeps{Targets: map[string][]string{
133 res: &app.BuildCmdResult{Name: "test", Output: []string{}, Success: true}},
150 if res, err := n.Command(nil, test.target); err != nil {
153 if !reflect.DeepEqual(*res, *test.command.res) {
154 t.Errorf("Command result %v; want %v", *res, *test.command.res)
159 if res, err := n.Query(nil, test.target); err != nil {
162 if !reflect.DeepEqual(*res, *test.query.res) {
163 t.Errorf("Query result %v; want %v", *res, *test.query.res)
169 if res, err := n.Input(nil, test.target); err != nil {
172 if !reflect.DeepEqual(*res, *test.input.res) {
173 t.Errorf("Input result %v; want %v", *res, *test.input.res)
179 if res, err := n.Path(nil, test.target, test.dependency); err != nil {
182 if !reflect.DeepEqual(*res, *test.path.res) {
183 t.Errorf("Path result %v; want %v", *res, *test.path.res)
189 if res, err := n.Paths(nil, test.target, test.dependency); err != nil {
192 if !reflect.DeepEqual(res, test.paths.res) {
193 t.Errorf("Paths result %v; want %v", res, test.paths.res)
199 if res, err := n.Deps(nil); err != nil {
202 if !reflect.DeepEqual(res, test.deps.res) {
203 t.Errorf("Deps result %v; want %v", res, test.deps.res)
209 res := n.Build(nil, test.target)
210 if !reflect.DeepEqual(*res, *test.build.res) {
211 t.Errorf("Build result %+v; want %+v", *res, *test.build.res)