OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mock_clock
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/chrome/browser/extensions/activity_log/
counting_policy_unittest.cc
418
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
419
mock_clock
->SetNow(base::Time::Now().LocalMidnight() +
421
policy->SetClockForTesting(scoped_ptr<base::Clock>(
mock_clock
));
426
mock_clock
->Now() - base::TimeDelta::FromMinutes(40),
439
mock_clock
->Now() - base::TimeDelta::FromMinutes(30),
600
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
601
mock_clock
->SetNow(base::Time::Now().LocalMidnight() +
603
policy->SetClockForTesting(scoped_ptr<base::Clock>(
mock_clock
));
608
mock_clock
->Now() - base::TimeDelta::FromMinutes(40),
615
mock_clock
->Now() - base::TimeDelta::FromMinutes(30)
657
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
814
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
882
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
937
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
1060
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
1103
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
1180
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
1245
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
1341
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
[
all
...]
fullstream_ui_policy_unittest.cc
303
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
304
mock_clock
->SetNow(base::Time::Now().LocalMidnight() +
306
policy->SetClockForTesting(scoped_ptr<base::Clock>(
mock_clock
));
311
mock_clock
->Now() - base::TimeDelta::FromMinutes(40),
324
mock_clock
->Now() - base::TimeDelta::FromMinutes(30),
650
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
651
mock_clock
->SetNow(base::Time::Now().LocalMidnight() +
653
policy->SetClockForTesting(scoped_ptr<base::Clock>(
mock_clock
));
658
mock_clock
->Now() - base::TimeDelta::FromMinutes(40),
667
new Action("punky",
mock_clock
->Now(), Action::ACTION_DOM_ACCESS, "lets")
696
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
749
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
792
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
868
base::SimpleTestClock*
mock_clock
= new base::SimpleTestClock();
local
[
all
...]
Completed in 617 milliseconds