(This is a port of http://go/wvgerrit/11555 from the Widevine CDM repo.) Bug: 16034599 Change-Id: Ie69afac7d89e27623adbc84d2baebccf1d1ba6e6
18 lines
314 B
C++
18 lines
314 B
C++
// Copyright 2014 Google Inc. All Rights Reserved.
|
|
|
|
#ifndef CDM_TEST_MOCK_CLOCK_H_
|
|
#define CDM_TEST_MOCK_CLOCK_H_
|
|
|
|
#include "clock.h"
|
|
#include "gmock/gmock.h"
|
|
|
|
namespace wvcdm {
|
|
|
|
class MockClock : public Clock {
|
|
public:
|
|
MOCK_METHOD0(GetCurrentTime, int64_t());
|
|
};
|
|
|
|
} // wvcdm
|
|
|
|
#endif // CDM_TEST_MOCK_CLOCK_H_
|