commit | 49bfda1fbdf828a8ea63ae2c2fa25739f6e48527 | [log] [tgz] |
---|---|---|
author | Jesse Hall <jessehall@google.com> | Thu Mar 13 15:09:17 2014 -0700 |
committer | Jesse Hall <jessehall@google.com> | Thu Mar 13 15:09:17 2014 -0700 |
tree | d48454a26179dd771dca8b02d18e41a1354547ce | |
parent | 85c0fee024384a7756a5eeb31592b6a0d7bacd91 [diff] |
Fix broken build for more tests Change-Id: I7bdd12a833233724805d01d993541ee05caa9bf6
diff --git a/libs/gui/tests/BufferQueue_test.cpp b/libs/gui/tests/BufferQueue_test.cpp index b859fcb..5aa34a5 100644 --- a/libs/gui/tests/BufferQueue_test.cpp +++ b/libs/gui/tests/BufferQueue_test.cpp
@@ -72,6 +72,7 @@ struct DummyConsumer : public BnConsumerListener { virtual void onFrameAvailable() {} virtual void onBuffersReleased() {} + virtual void onSidebandStreamChanged() {} }; TEST_F(BufferQueueTest, AcquireBuffer_ExceedsMaxAcquireCount_Fails) {
diff --git a/libs/gui/tests/DisconnectWaiter.h b/libs/gui/tests/DisconnectWaiter.h index 3a30a19..56e96c2 100644 --- a/libs/gui/tests/DisconnectWaiter.h +++ b/libs/gui/tests/DisconnectWaiter.h
@@ -57,6 +57,8 @@ } } + virtual void onSidebandStreamChanged() {} + void finishDisconnect() { Mutex::Autolock lock(mMutex); mWaitForDisconnect = true;
diff --git a/libs/gui/tests/IGraphicBufferProducer_test.cpp b/libs/gui/tests/IGraphicBufferProducer_test.cpp index 4d38ff5..c2653c2 100644 --- a/libs/gui/tests/IGraphicBufferProducer_test.cpp +++ b/libs/gui/tests/IGraphicBufferProducer_test.cpp
@@ -66,6 +66,7 @@ struct DummyConsumer : public BnConsumerListener { virtual void onFrameAvailable() {} virtual void onBuffersReleased() {} + virtual void onSidebandStreamChanged() {} }; class IGraphicBufferProducerTest : public ::testing::Test {