summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/diagnostics/diagnostics_model.cc1
-rw-r--r--chrome/browser/diagnostics/diagnostics_model_unittest.cc4
2 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/diagnostics/diagnostics_model.cc b/chrome/browser/diagnostics/diagnostics_model.cc
index e7b9f25..b71f337d 100644
--- a/chrome/browser/diagnostics/diagnostics_model.cc
+++ b/chrome/browser/diagnostics/diagnostics_model.cc
@@ -137,6 +137,7 @@ class DiagnosticsModelPosix : public DiagnosticsModelImpl {
public:
DiagnosticsModelPosix() {
tests_.push_back(MakeInstallTypeTest());
+ tests_.push_back(MakeVersionTest());
tests_.push_back(MakeUserDirTest());
tests_.push_back(MakeLocalStateFileTest());
tests_.push_back(MakeDictonaryDirTest());
diff --git a/chrome/browser/diagnostics/diagnostics_model_unittest.cc b/chrome/browser/diagnostics/diagnostics_model_unittest.cc
index 62dff9d..58717bf 100644
--- a/chrome/browser/diagnostics/diagnostics_model_unittest.cc
+++ b/chrome/browser/diagnostics/diagnostics_model_unittest.cc
@@ -79,8 +79,10 @@ class UTObserver: public DiagnosticsModel::Observer {
// We currently have more tests operational on windows.
#if defined(OS_WIN)
const int kDiagnosticsTestCount = 18;
-#else
+#elif defined(OS_MACOSX)
const int kDiagnosticsTestCount = 16;
+#elif defined(OS_POSIX)
+const int kDiagnosticsTestCount = 17;
#endif
// Test that the initial state is correct.