aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib/skyframe/RecursivePkgKeyTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/skyframe/RecursivePkgKeyTest.java')
-rw-r--r--src/test/java/com/google/devtools/build/lib/skyframe/RecursivePkgKeyTest.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/skyframe/RecursivePkgKeyTest.java b/src/test/java/com/google/devtools/build/lib/skyframe/RecursivePkgKeyTest.java
index 2b264e32ff..6ee4ac0b4d 100644
--- a/src/test/java/com/google/devtools/build/lib/skyframe/RecursivePkgKeyTest.java
+++ b/src/test/java/com/google/devtools/build/lib/skyframe/RecursivePkgKeyTest.java
@@ -44,7 +44,7 @@ public class RecursivePkgKeyTest extends BuildViewTestCase {
PathFragment rootRelativePath, ImmutableSet<PathFragment> excludedPaths) {
try {
buildRecursivePkgKey(
- PackageIdentifier.DEFAULT_REPOSITORY_NAME, rootRelativePath, excludedPaths);
+ PackageIdentifier.MAIN_REPOSITORY_NAME, rootRelativePath, excludedPaths);
fail();
} catch (IllegalArgumentException expected) {
}
@@ -53,29 +53,29 @@ public class RecursivePkgKeyTest extends BuildViewTestCase {
@Test
public void testValidRecursivePkgKeys() throws Exception {
buildRecursivePkgKey(
- PackageIdentifier.DEFAULT_REPOSITORY_NAME,
+ PackageIdentifier.MAIN_REPOSITORY_NAME,
new PathFragment(""),
ImmutableSet.<PathFragment>of());
buildRecursivePkgKey(
- PackageIdentifier.DEFAULT_REPOSITORY_NAME,
+ PackageIdentifier.MAIN_REPOSITORY_NAME,
new PathFragment(""),
ImmutableSet.of(new PathFragment("a")));
buildRecursivePkgKey(
- PackageIdentifier.DEFAULT_REPOSITORY_NAME,
+ PackageIdentifier.MAIN_REPOSITORY_NAME,
new PathFragment("a"),
ImmutableSet.<PathFragment>of());
buildRecursivePkgKey(
- PackageIdentifier.DEFAULT_REPOSITORY_NAME,
+ PackageIdentifier.MAIN_REPOSITORY_NAME,
new PathFragment("a"),
ImmutableSet.of(new PathFragment("a/b")));
buildRecursivePkgKey(
- PackageIdentifier.DEFAULT_REPOSITORY_NAME,
+ PackageIdentifier.MAIN_REPOSITORY_NAME,
new PathFragment("a/b"),
ImmutableSet.<PathFragment>of());
buildRecursivePkgKey(
- PackageIdentifier.DEFAULT_REPOSITORY_NAME,
+ PackageIdentifier.MAIN_REPOSITORY_NAME,
new PathFragment("a/b"),
ImmutableSet.of(new PathFragment("a/b/c")));
}