Fix Tulsi tests to work with the new way the test rules are split into a bundle target and a test target.
PiperOrigin-RevId: 263626374
diff --git a/src/TulsiGeneratorIntegrationTests/AspectTests.swift b/src/TulsiGeneratorIntegrationTests/AspectTests.swift
index 65bbd2d..2fec760 100644
--- a/src/TulsiGeneratorIntegrationTests/AspectTests.swift
+++ b/src/TulsiGeneratorIntegrationTests/AspectTests.swift
@@ -112,6 +112,12 @@
checker.assertThat("//tulsi_test:XCTest")
.hasTestHost("//tulsi_test:Application")
+ .dependsOn("//tulsi_test:XCTest.__internal__.__test_bundle")
+
+ // TODO(b/139478940): Replace this dependency on the naming convention for an implementation
+ // detail of rules_apple with the solution arrived at from the referenced bug.
+ checker.assertThat("//tulsi_test:XCTest.__internal__.__test_bundle")
+ .hasTestHost("//tulsi_test:Application")
.hasDeploymentTarget(DeploymentTarget(platform: .ios, osVersion: "10.0"))
.dependsOn("//tulsi_test:Application")
.dependsOn("//tulsi_test:TestLibrary")
@@ -330,6 +336,12 @@
checker.assertThat("//tulsi_test:XCTest")
.hasTestHost("//tulsi_test:Application")
+ .dependsOn("//tulsi_test:XCTest.__internal__.__test_bundle")
+
+ // TODO(b/139478940): Replace this dependency on the naming convention for an implementation
+ // detail of rules_apple with the solution arrived at from the referenced bug.
+ checker.assertThat("//tulsi_test:XCTest.__internal__.__test_bundle")
+ .hasTestHost("//tulsi_test:Application")
.hasDeploymentTarget(DeploymentTarget(platform: .ios, osVersion: "10.0"))
.dependsOn("//tulsi_test:Application")
.dependsOn("//tulsi_test:Library")