Lines Matching refs:gen
466 gen := result.Module("gen", "").(*Module)
467 android.AssertStringEquals(t, "raw commands", test.expect, gen.rawCommands[0])
531 gen := result.ModuleForTests(test.name, "")
532 manifest := android.RuleBuilderSboxProtoForTests(t, gen.Output("genrule.sbox.textproto"))
617 gen := result.Module("gen", "").(*Module)
618 android.AssertDeepEquals(t, "cmd", test.cmds, gen.rawCommands)
620 android.AssertPathsRelativeToTopEquals(t, "deps", test.deps, gen.outputDeps)
622 android.AssertPathsRelativeToTopEquals(t, "files", test.files, gen.outputFiles)
648 gen := result.Module("gen", "").(*Module)
651 android.AssertStringEquals(t, "cmd", expectedCmd, gen.rawCommands[0])
654 android.AssertDeepEquals(t, "srcs", expectedSrcs, gen.properties.Srcs)
681 gen := result.ModuleForTests("gen", "").Output("out")
682 if gen.Rule != android.ErrorRule {
683 t.Errorf("Expected missing dependency error rule for gen, got %q", gen.Rule.String())
704 gen := result.Module("foo", "").(*Module)
708 android.AssertDeepEquals(t, "output files", expectedOutputFiles, gen.outputFiles.Strings())
709 android.AssertDeepEquals(t, "output deps", expectedOutputFiles, gen.outputDeps.Strings())