OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DiagnosticsModel
(Results
1 - 8
of
8
) sorted by null
/external/chromium/chrome/browser/diagnostics/
diagnostics_model.h
17
class
DiagnosticsModel
{
37
virtual void OnProgress(int id, int percent,
DiagnosticsModel
* model) = 0;
39
virtual void OnSkipped(int id,
DiagnosticsModel
* model) = 0;
41
virtual void OnFinished(int id,
DiagnosticsModel
* model) = 0;
43
virtual void OnDoneAll(
DiagnosticsModel
* model) = 0;
60
virtual ~
DiagnosticsModel
() {}
67
virtual void RunAll(
DiagnosticsModel
::Observer* observer) = 0;
75
DiagnosticsModel
* MakeDiagnosticsModel(const CommandLine& cmdline);
diagnostics_test.h
24
class DiagnosticTest : public
DiagnosticsModel
::TestInfo {
34
bool Execute(
DiagnosticsModel
::Observer* observer,
DiagnosticsModel
* model,
39
virtual
DiagnosticsModel
::TestResult GetResult();
44
RecordOutcome(additional_info,
DiagnosticsModel
::TEST_FAIL_STOP);
48
RecordOutcome(additional_info,
DiagnosticsModel
::TEST_FAIL_CONTINUE);
52
RecordOutcome(additional_info,
DiagnosticsModel
::TEST_OK);
56
DiagnosticsModel
::TestResult result);
65
virtual bool ExecuteImpl(
DiagnosticsModel
::Observer* observer) = 0;
69
DiagnosticsModel
::TestResult result_
[
all
...]
diagnostics_test.cc
13
: title_(title), result_(
DiagnosticsModel
::TEST_NOT_RUN) {
19
bool DiagnosticTest::Execute(
DiagnosticsModel
::Observer* observer,
20
DiagnosticsModel
* model,
22
result_ =
DiagnosticsModel
::TEST_RUNNING;
33
DiagnosticsModel
::TestResult DiagnosticTest::GetResult() {
42
DiagnosticsModel
::TestResult result) {
diagnostics_model_unittest.cc
29
DiagnosticsModel
* model_;
34
class UTObserver: public
DiagnosticsModel
::Observer {
43
virtual void OnProgress(int id, int percent,
DiagnosticsModel
* model) {
48
virtual void OnSkipped(int id,
DiagnosticsModel
* model) {
52
virtual void OnFinished(int id,
DiagnosticsModel
* model) {
55
if (model->GetTest(id).GetResult() ==
DiagnosticsModel
::TEST_FAIL_STOP) {
61
virtual void OnDoneAll(
DiagnosticsModel
* model) {
93
EXPECT_EQ(
DiagnosticsModel
::TEST_NOT_RUN, model_->GetTest(0).GetResult());
diagnostics_main.cc
260
// and the model (
DiagnosticsModel
) do not talk to each other directly but they
263
class TestController : public
DiagnosticsModel
::Observer {
272
void Run(
DiagnosticsModel
* model) {
289
// Next four are overridden from
DiagnosticsModel
::Observer.
290
virtual void OnProgress(int id, int percent,
DiagnosticsModel
* model) {
293
virtual void OnSkipped(int id,
DiagnosticsModel
* model) {
297
virtual void OnFinished(int id,
DiagnosticsModel
* model) {
302
virtual void OnDoneAll(
DiagnosticsModel
* model) {
312
void ShowResult(
DiagnosticsModel
::TestInfo& test_info) {
313
bool success = (
DiagnosticsModel
::TEST_OK == test_info.GetResult())
[
all
...]
sqlite_diagnostics.cc
37
virtual bool ExecuteImpl(
DiagnosticsModel
::Observer* observer) {
42
critical_ ?
DiagnosticsModel
::TEST_FAIL_CONTINUE :
43
DiagnosticsModel
::TEST_OK);
recon_diagnostics.cc
49
virtual bool ExecuteImpl(
DiagnosticsModel
::Observer* observer) {
78
virtual bool ExecuteImpl(
DiagnosticsModel
::Observer* observer) {
134
virtual bool ExecuteImpl(
DiagnosticsModel
::Observer* observer) {
166
virtual bool ExecuteImpl(
DiagnosticsModel
::Observer* observer) {
225
virtual bool ExecuteImpl(
DiagnosticsModel
::Observer* observer) {
291
virtual bool ExecuteImpl(
DiagnosticsModel
::Observer* observer) {
323
virtual bool ExecuteImpl(
DiagnosticsModel
::Observer* observer) {
diagnostics_model.cc
33
class DiagnosticsModelImpl : public
DiagnosticsModel
{
50
virtual void RunAll(
DiagnosticsModel
::Observer* observer) {
167
DiagnosticsModel
* MakeDiagnosticsModel(const CommandLine& cmdline) {
Completed in 1056 milliseconds