Lines Matching defs:kId
131 const std::string kId = crx_file::id_util::GenerateId("id");
134 ASSERT_EQ(0u, error_console_->GetErrorsForExtension(kId).size());
138 CreateNewManifestError(kId, base::UintToString(i)));
141 ASSERT_EQ(kNumTotalErrors, error_console_->GetErrorsForExtension(kId).size());
152 const std::string kId = crx_file::id_util::GenerateId("id");
155 error_console_->ReportError(CreateNewRuntimeError(kId, "a"));
156 ASSERT_EQ(0u, error_console_->GetErrorsForExtension(kId).size());
159 error_console_->ReportError(CreateNewManifestError(kId, "b"));
160 ASSERT_EQ(1u, error_console_->GetErrorsForExtension(kId).size());
163 error_console_->ReportError(CreateNewRuntimeError(kId, "c"));
164 ASSERT_EQ(1u, error_console_->GetErrorsForExtension(kId).size());
169 kId, ExtensionError::RUNTIME_ERROR, true);
172 error_console_->ReportError(CreateNewManifestError(kId, "d"));
173 ASSERT_EQ(2u, error_console_->GetErrorsForExtension(kId).size());
174 error_console_->ReportError(CreateNewRuntimeError(kId, "e"));
175 ASSERT_EQ(3u, error_console_->GetErrorsForExtension(kId).size());
187 error_console_->UseDefaultReportingForExtension(kId);
188 error_console_->ReportError(CreateNewManifestError(kId, "h"));
189 ASSERT_EQ(4u, error_console_->GetErrorsForExtension(kId).size());
190 error_console_->ReportError(CreateNewRuntimeError(kId, "i"));
191 ASSERT_EQ(4u, error_console_->GetErrorsForExtension(kId).size());