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

Commit 6d5fa945 authored by Arve Hjønnevåg's avatar Arve Hjønnevåg Committed by Martijn Coenen
Browse files

binder: tests: Fix warnings

Test: no warnings when building

Change-Id: I16ba78a7bbfdc78cdae085d48c2e5e01b8fc244c
Merged-In: I0e8803ff1fc81a83d89a67ce072cf8fd28f2dc67
parent 920514db
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -389,7 +389,7 @@ TEST_F(BinderLibTest, IndirectGetId2)

    ret = reply.readInt32(&count);
    ASSERT_EQ(NO_ERROR, ret);
    EXPECT_EQ(ARRAY_SIZE(serverId), count);
    EXPECT_EQ(ARRAY_SIZE(serverId), (size_t)count);

    for (size_t i = 0; i < (size_t)count; i++) {
        BinderLibTestBundle replyi(&reply);
@@ -439,7 +439,7 @@ TEST_F(BinderLibTest, IndirectGetId3)

    ret = reply.readInt32(&count);
    ASSERT_EQ(NO_ERROR, ret);
    EXPECT_EQ(ARRAY_SIZE(serverId), count);
    EXPECT_EQ(ARRAY_SIZE(serverId), (size_t)count);

    for (size_t i = 0; i < (size_t)count; i++) {
        int32_t counti;
@@ -631,7 +631,7 @@ TEST_F(BinderLibTest, PassFile) {
    }

    ret = read(pipefd[0], buf, sizeof(buf));
    EXPECT_EQ(sizeof(buf), ret);
    EXPECT_EQ(sizeof(buf), (size_t)ret);
    EXPECT_EQ(write_value, buf[0]);

    waitForReadData(pipefd[0], 5000); /* wait for other proccess to close pipe */