OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d1aa9d
)
Fixed test_periodic_unregister_processing_queue unit test
author
Pavlin Radoslavov
<pavlin@google.com>
Wed, 4 May 2016 06:00:15 +0000
(23:00 -0700)
committer
Pavlin Radoslavov
<pavlin@google.com>
Wed, 4 May 2016 23:41:43 +0000
(23:41 +0000)
Removed a copy-and-paste check in the
test_periodic_unregister_processing_queue unit test.
The removed check adds little value - it has time-dependency,
and is not robust.
Bug:
26982349
Change-Id: I4adb948713b9946b5eb821d6fe52b7ada1400182
osi/test/alarm_test.cpp
patch
|
blob
|
history
diff --git
a/osi/test/alarm_test.cpp
b/osi/test/alarm_test.cpp
index
e4436aa
..
4ef5805
100644
(file)
--- a/
osi/test/alarm_test.cpp
+++ b/
osi/test/alarm_test.cpp
@@
-415,7
+415,6
@@
TEST_F(AlarmTest, test_periodic_unregister_processing_queue) {
for (int i = 0; i < 5; i++) {
alarm_set_on_queue(alarms[i], 20 + i, cb, INT_TO_PTR(i), queue);
}
- EXPECT_EQ(cb_counter, 0);
EXPECT_TRUE(WakeLockHeld());
for (int i = 1; i <= 20; i++) {