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

Unified Diff: sandbox/win/src/policy_opcodes_unittest.cc

Issue 614813002: Cleanup sandbox/ in advance of re-enabling some MSVC warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: sandbox/win/src/policy_opcodes_unittest.cc
diff --git a/sandbox/win/src/policy_opcodes_unittest.cc b/sandbox/win/src/policy_opcodes_unittest.cc
index c69aad8c84e83e56db718100e0dbf53972c05424..e413a43492f813409b0dd40e45ce344c6933a5b2 100644
--- a/sandbox/win/src/policy_opcodes_unittest.cc
+++ b/sandbox/win/src/policy_opcodes_unittest.cc
@@ -289,7 +289,8 @@ TEST(PolicyEngineTest, WCharOpcodes1) {
// Test that we function if the string does not fit. In this case we
// try to match 'the lazy dog' against 'he lazy dog'.
- PolicyOpcode* op6 = opcode_maker.MakeOpWStringMatch(0, txt4, 2,
+ // !!! Are we supposed to Evaluate() this opcode and test the result?
Peter Kasting 2014/09/29 23:09:25 This question needs answering before this CL can b
cpu_(ooo_6.6-7.5) 2014/09/30 17:57:26 Yes, looks like somebody forgot to call evaluate()
Peter Kasting 2014/10/01 02:32:13 Fixed.
+ /*PolicyOpcode* op6 =*/ opcode_maker.MakeOpWStringMatch(0, txt4, 2,
CASE_SENSITIVE, kPolNone);
EXPECT_EQ(24, mc1.position);

Powered by Google App Engine
This is Rietveld 408576698