Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: chrome/installer/util/compat_checks_unittest.cc

Issue 2777843002: Remove Symantec SEP compat check code -- it was never wired up. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/installer/util/compat_checks.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/installer/setup/compat_checks.h"
6 #include "testing/gtest/include/gtest/gtest.h"
7
8 // Test that we detect the incompatible SEP version. The very last digit
9 // of the version does not matter but must be present.
10 TEST(CompatTests, SymantecSEP) {
11 EXPECT_FALSE(HasIncompatibleSymantecEndpointVersion(L"11.0.3001.0"));
12 EXPECT_TRUE(HasIncompatibleSymantecEndpointVersion(L"11.0.3000.1"));
13 EXPECT_TRUE(HasIncompatibleSymantecEndpointVersion(L"11.0.2999.1"));
14 EXPECT_TRUE(HasIncompatibleSymantecEndpointVersion(L"10.1.5000.1"));
15 EXPECT_TRUE(HasIncompatibleSymantecEndpointVersion(L"9.5.1000.0"));
16
17 EXPECT_FALSE(HasIncompatibleSymantecEndpointVersion(L""));
18 EXPECT_FALSE(HasIncompatibleSymantecEndpointVersion(L"11.0.3000"));
19 EXPECT_FALSE(HasIncompatibleSymantecEndpointVersion(L"11.0.3000.1.2"));
20 EXPECT_FALSE(HasIncompatibleSymantecEndpointVersion(L"11.b.3000.1"));
21
22 }
OLDNEW
« no previous file with comments | « chrome/installer/util/compat_checks.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698