summaryrefslogtreecommitdiffstats
path: root/chrome/browser/diagnostics
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 00:58:09 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 00:58:09 +0000
commit552cd9e1eb12ad44e6a9240e10c6335a484997c5 (patch)
treebef3aff8d6f13cf8cba1268e6772864cef42bdfc /chrome/browser/diagnostics
parent55f9594578befaba8028837c94e844220687da02 (diff)
downloadchromium_src-552cd9e1eb12ad44e6a9240e10c6335a484997c5.zip
chromium_src-552cd9e1eb12ad44e6a9240e10c6335a484997c5.tar.gz
chromium_src-552cd9e1eb12ad44e6a9240e10c6335a484997c5.tar.bz2
diagnostics: Add VersionTest to linux.
BUG=42894 TEST=out/Debug/chrome --diagnostics Review URL: http://codereview.chromium.org/2856004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49875 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.cc2
2 files changed, 2 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..4c46a44 100644
--- a/chrome/browser/diagnostics/diagnostics_model_unittest.cc
+++ b/chrome/browser/diagnostics/diagnostics_model_unittest.cc
@@ -80,7 +80,7 @@ class UTObserver: public DiagnosticsModel::Observer {
#if defined(OS_WIN)
const int kDiagnosticsTestCount = 18;
#else
-const int kDiagnosticsTestCount = 16;
+const int kDiagnosticsTestCount = 17;
#endif
// Test that the initial state is correct.