Lines Matching refs:String
48 if len(fooKotlinc.Inputs) != 2 || fooKotlinc.Inputs[0].String() != "a.java" ||
49 fooKotlinc.Inputs[1].String() != "b.kt" {
53 if len(fooJavac.Inputs) != 1 || fooJavac.Inputs[0].String() != "a.java" {
57 if !strings.Contains(fooJavac.Args["classpath"], fooKotlinc.Output.String()) {
59 fooJavac.Args["classpath"], fooKotlinc.Output.String())
62 if !inList(fooKotlinc.Output.String(), fooJar.Inputs.Strings()) {
64 fooJar.Inputs.Strings(), fooKotlinc.Output.String())
71 if len(barKotlinc.Inputs) != 1 || barKotlinc.Inputs[0].String() != "b.kt" {
75 if !inList(fooHeaderJar.Output.String(), barKotlinc.Implicits.Strings()) {
77 fooHeaderJar.Output.String(), barKotlinc.Implicits.Strings())
80 if !inList(bazHeaderJar.Output.String(), barKotlinc.Implicits.Strings()) {
82 bazHeaderJar.Output.String(), barKotlinc.Implicits.Strings())
107 buildOS := android.BuildOs.String()
113 bar := ctx.ModuleForTests("bar", buildOS+"_common").Rule("javac").Output.String()
114 baz := ctx.ModuleForTests("baz", buildOS+"_common").Rule("javac").Output.String()
117 …if len(kapt.Inputs) != 2 || kapt.Inputs[0].String() != "a.java" || kapt.Inputs[1].String() != "b.k…
120 …if len(kotlinc.Inputs) != 2 || kotlinc.Inputs[0].String() != "a.java" || kotlinc.Inputs[1].String(…
125 if len(javac.Inputs) != 1 || javac.Inputs[0].String() != "a.java" {
130 if !inList(kapt.Output.String(), kotlinc.Implicits.Strings()) {
131 t.Errorf("expected %q in kotlinc implicits %v", kapt.Output.String(), kotlinc.Implicits.Strings())
133 if !inList(kapt.Output.String(), javac.Implicits.Strings()) {
134 t.Errorf("expected %q in javac implicits %v", kapt.Output.String(), javac.Implicits.Strings())
138 if kotlinc.Args["srcJars"] != kapt.Output.String() {
139 t.Errorf("expected %q in kotlinc srcjars %v", kapt.Output.String(), kotlinc.Args["srcJars"])
141 if javac.Args["srcJars"] != kapt.Output.String() {
142 t.Errorf("expected %q in javac srcjars %v", kapt.Output.String(), kotlinc.Args["srcJars"])