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/
Dtest_installer.cc11 TestInstaller::TestInstaller() in TestInstaller() function in TestInstaller
15 void TestInstaller::OnUpdateError(int error) { in OnUpdateError()
19 bool TestInstaller::Install(const base::DictionaryValue& manifest, in Install()
25 bool TestInstaller::GetInstalledFile(const std::string& file, in GetInstalledFile()
30 int TestInstaller::error() const { return error_; } in error()
32 int TestInstaller::install_count() const { return install_count_; } in install_count()
Dcomponent_updater_service_unittest.cc214 TestInstaller* installer) { in RegisterComponent()
286 TestInstaller installer; in TEST_F()
300 EXPECT_EQ(0, static_cast<TestInstaller*>(com.installer)->error()); in TEST_F()
301 EXPECT_EQ(0, static_cast<TestInstaller*>(com.installer)->install_count()); in TEST_F()
342 EXPECT_EQ(0, static_cast<TestInstaller*>(com.installer)->error()); in TEST_F()
343 EXPECT_EQ(0, static_cast<TestInstaller*>(com.installer)->install_count()); in TEST_F()
427 TestInstaller installer1; in TEST_F()
431 TestInstaller installer2; in TEST_F()
440 EXPECT_EQ(0, static_cast<TestInstaller*>(com1.installer)->error()); in TEST_F()
441 EXPECT_EQ(1, static_cast<TestInstaller*>(com1.installer)->install_count()); in TEST_F()
[all …]
Dtest_installer.h18 class TestInstaller : public ComponentInstaller {
20 explicit TestInstaller();
41 class ReadOnlyTestInstaller : public TestInstaller {
56 class VersionedTestInstaller : public TestInstaller {
Dcomponent_updater_service_unittest.h27 class TestInstaller; variable
132 TestInstaller* installer);