Home
last modified time | relevance | path

Searched refs:fakeMonitor (Results 1 – 4 of 4) sorted by relevance

/dports/databases/akonadi/akonadi-21.12.3/autotests/libs/
H A Dtagmodeltest.cpp49 auto const fakeMonitor = new FakeMonitor(this); in populateModel() local
51 fakeMonitor->setSession(m_fakeSession); in populateModel()
52 fakeMonitor->setCollectionMonitored(Collection::root()); in populateModel()
53 fakeMonitor->setTypeMonitored(Akonadi::Monitor::Tags); in populateModel()
55 auto const model = new TagModel(fakeMonitor, this); in populateModel()
59 auto const serverData = new FakeServerData(model, m_fakeSession, fakeMonitor, this); in populateModel()
99 auto const fakeMonitor = new FakeMonitor(this); in testInitialFetch() local
101 fakeMonitor->setSession(m_fakeSession); in testInitialFetch()
102 fakeMonitor->setCollectionMonitored(Collection::root()); in testInitialFetch()
103 auto const model = new TagModel(fakeMonitor, this); in testInitialFetch()
[all …]
H A Dentitytreemodeltest.cpp88 auto const fakeMonitor = new FakeMonitor(this); in populateModel() local
90 fakeMonitor->setSession(m_fakeSession); in populateModel()
91 fakeMonitor->setCollectionMonitored(Collection::root()); in populateModel()
93 fakeMonitor->setMimeTypeMonitored(mimeType); in populateModel()
95 auto const model = new EntityTreeModel(fakeMonitor, this); in populateModel()
99 auto const serverData = new FakeServerData(model, m_fakeSession, fakeMonitor, this); in populateModel()
139 auto const fakeMonitor = new FakeMonitor(this); in testInitialFetch() local
141 fakeMonitor->setSession(m_fakeSession); in testInitialFetch()
142 fakeMonitor->setCollectionMonitored(Collection::root()); in testInitialFetch()
143 auto const model = new EntityTreeModel(fakeMonitor, this); in testInitialFetch()
[all …]
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-tools/hadoop-gridmix/src/test/java/org/apache/hadoop/mapred/gridmix/
H A DTestResourceUsageEmulators.java375 FakeResourceUsageMonitor fakeMonitor = in testCpuUsageEmulator() local
379 fakeCpuEmulator.calibrate(fakeMonitor, target); in testCpuUsageEmulator()
383 100, fakeMonitor.getCumulativeCpuTime()); in testCpuUsageEmulator()
/dports/devel/hadoop/hadoop-1.2.1/src/contrib/gridmix/src/test/org/apache/hadoop/mapred/gridmix/
H A DTestResourceUsageEmulators.java386 FakeResourceUsageMonitor fakeMonitor = in testCpuUsageEmulator() local
390 fakeCpuEmulator.calibrate(fakeMonitor, target); in testCpuUsageEmulator()
394 100, fakeMonitor.getCumulativeCpuTime()); in testCpuUsageEmulator()