diff options
Diffstat (limited to 'src/test/java/com/google')
3 files changed, 10 insertions, 5 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/rules/cpp/CcCommonTest.java b/src/test/java/com/google/devtools/build/lib/rules/cpp/CcCommonTest.java index 8757040f71..e0b0ead3ed 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/cpp/CcCommonTest.java +++ b/src/test/java/com/google/devtools/build/lib/rules/cpp/CcCommonTest.java @@ -119,7 +119,8 @@ public class CcCommonTest extends BuildViewTestCase { } assertThat( emptylib - .get(CcExecutionDynamicLibrariesInfo.PROVIDER) + .get(CcLinkingInfo.PROVIDER) + .getCcExecutionDynamicLibrariesInfo() .getExecutionDynamicLibraryArtifacts() .isEmpty()) .isTrue(); @@ -231,7 +232,8 @@ public class CcCommonTest extends BuildViewTestCase { " linkstatic=1)"); assertThat( statically - .get(CcExecutionDynamicLibrariesInfo.PROVIDER) + .get(CcLinkingInfo.PROVIDER) + .getCcExecutionDynamicLibrariesInfo() .getExecutionDynamicLibraryArtifacts() .isEmpty()) .isTrue(); diff --git a/src/test/java/com/google/devtools/build/lib/rules/cpp/CcLibraryConfiguredTargetTest.java b/src/test/java/com/google/devtools/build/lib/rules/cpp/CcLibraryConfiguredTargetTest.java index d206db176c..bf9ff66ae4 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/cpp/CcLibraryConfiguredTargetTest.java +++ b/src/test/java/com/google/devtools/build/lib/rules/cpp/CcLibraryConfiguredTargetTest.java @@ -166,7 +166,8 @@ public class CcLibraryConfiguredTargetTest extends BuildViewTestCase { .containsExactly(implInterfaceSharedObjectLink); assertThat( hello - .get(CcExecutionDynamicLibrariesInfo.PROVIDER) + .get(CcLinkingInfo.PROVIDER) + .getCcExecutionDynamicLibrariesInfo() .getExecutionDynamicLibraryArtifacts()) .containsExactly(implSharedObjectLink); } @@ -230,7 +231,8 @@ public class CcLibraryConfiguredTargetTest extends BuildViewTestCase { .containsExactly(sharedObjectLink); assertThat( hello - .get(CcExecutionDynamicLibrariesInfo.PROVIDER) + .get(CcLinkingInfo.PROVIDER) + .getCcExecutionDynamicLibrariesInfo() .getExecutionDynamicLibraryArtifacts()) .containsExactly(implSharedObjectLink); } diff --git a/src/test/java/com/google/devtools/build/lib/rules/cpp/LibraryLinkingTest.java b/src/test/java/com/google/devtools/build/lib/rules/cpp/LibraryLinkingTest.java index cc0489f55e..a57d29b301 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/cpp/LibraryLinkingTest.java +++ b/src/test/java/com/google/devtools/build/lib/rules/cpp/LibraryLinkingTest.java @@ -110,7 +110,8 @@ public final class LibraryLinkingTest extends BuildViewTestCase { Artifact soLib = Iterables.getOnlyElement( ccLib - .get(CcExecutionDynamicLibrariesInfo.PROVIDER) + .get(CcLinkingInfo.PROVIDER) + .getCcExecutionDynamicLibrariesInfo() .getExecutionDynamicLibraryArtifacts()); // This artifact is generated by a SolibSymlinkAction, so we need to go back two levels. CppLinkAction solibLink = |