summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chi Zhang <czhangsd@google.com> 2021-10-14 23:09:33 +0000
committer Chi Zhang <czhangsd@google.com> 2021-10-14 23:09:33 +0000
commit2fcd479e87ce8b1251ab64943250f0e36e9f8ac3 (patch)
tree6f8f08f2d878d89860f0e0b7fdd0232f2a145af1
parentce26310c4518b6d72e748c99cf7521a5057262bf (diff)
Revert "Testing AIDL delegator class with RPC"
Revert submission 1854059-delegate Reason for revert: investigating build failures Reverted Changes: Id83842047:Create a generated delegator class Ia4fc4cad6:Testing AIDL delegator class with RPC Change-Id: Id3d1b1a050d2dc440130e44764e114e5256d208f
-rw-r--r--libs/binder/tests/binderRpcTest.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/libs/binder/tests/binderRpcTest.cpp b/libs/binder/tests/binderRpcTest.cpp
index f989525db7..d68c6fffd1 100644
--- a/libs/binder/tests/binderRpcTest.cpp
+++ b/libs/binder/tests/binderRpcTest.cpp
@@ -1299,16 +1299,6 @@ TEST_P(BinderRpc, Fds) {
ASSERT_EQ(beforeFds, countFds()) << (system("ls -l /proc/self/fd/"), "fd leak?");
}
-TEST_P(BinderRpc, AidlDelegatorTest) {
- auto proc = createRpcTestSocketServerProcess({});
- auto myDelegator = sp<IBinderRpcTestDelegator>::make(proc.rootIface);
- ASSERT_NE(nullptr, myDelegator);
-
- std::string doubled;
- EXPECT_OK(myDelegator->doubleString("cool ", &doubled));
- EXPECT_EQ("cool cool ", doubled);
-}
-
static bool testSupportVsockLoopback() {
// We don't need to enable TLS to know if vsock is supported.
unsigned int vsockPort = allocateVsockPort();