summaryrefslogtreecommitdiffstats
path: root/chrome/browser/diagnostics
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-17 02:12:19 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-17 02:12:19 +0000
commitf7d23eb77d60e8a01edd1b48e2a2fa38dad4dde2 (patch)
tree452a25e76cc852933011e767effbdad92c834a98 /chrome/browser/diagnostics
parentcdc0ecebd435e51ccfec5f4e6f208570f5703bdf (diff)
downloadchromium_src-f7d23eb77d60e8a01edd1b48e2a2fa38dad4dde2.zip
chromium_src-f7d23eb77d60e8a01edd1b48e2a2fa38dad4dde2.tar.gz
chromium_src-f7d23eb77d60e8a01edd1b48e2a2fa38dad4dde2.tar.bz2
diagnostics: Add VersionTest to linux.
Now with the mac build fixed. BUG=42894 TEST=out/Debug/chrome --diagnostics Review URL: http://codereview.chromium.org/2821009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50071 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/diagnostics')
-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.