Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2fcd479e authored by Chi Zhang's avatar Chi Zhang
Browse files

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
parent ce26310c
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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();