Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/component_updater/test/
Dcomponent_updater_service_unittest.cc107 TestInstaller* installer) { in RegisterComponent()
181 TestInstaller installer; in TEST_F()
193 EXPECT_EQ(0, static_cast<TestInstaller*>(com.installer)->error()); in TEST_F()
194 EXPECT_EQ(0, static_cast<TestInstaller*>(com.installer)->install_count()); in TEST_F()
239 EXPECT_EQ(0, static_cast<TestInstaller*>(com.installer)->error()); in TEST_F()
240 EXPECT_EQ(0, static_cast<TestInstaller*>(com.installer)->install_count()); in TEST_F()
326 TestInstaller installer1; in TEST_F()
329 TestInstaller installer2; in TEST_F()
337 EXPECT_EQ(0, static_cast<TestInstaller*>(com1.installer)->error()); in TEST_F()
338 EXPECT_EQ(1, static_cast<TestInstaller*>(com1.installer)->install_count()); in TEST_F()
[all …]
Dcomponent_updater_service_unittest.h27 class TestInstaller; variable
59 TestInstaller* installer);
/external/chromium_org/components/component_updater/test/
Dtest_installer.cc15 TestInstaller::TestInstaller() : error_(0), install_count_(0) { in TestInstaller() function in component_updater::TestInstaller
18 void TestInstaller::OnUpdateError(int error) { in OnUpdateError()
22 bool TestInstaller::Install(const base::DictionaryValue& manifest, in Install()
28 bool TestInstaller::GetInstalledFile(const std::string& file, in GetInstalledFile()
33 int TestInstaller::error() const { in error()
37 int TestInstaller::install_count() const { in install_count()
Dtest_installer.h22 class TestInstaller : public ComponentInstaller {
24 TestInstaller();
45 class ReadOnlyTestInstaller : public TestInstaller {
60 class VersionedTestInstaller : public TestInstaller {