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

Unified Diff: src/trusted/validator/validation_cache_test.cc

Issue 10024039: Replace kind variable from validator API with Boolean stubout parameter. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Edits Created 8 years, 8 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: src/trusted/validator/validation_cache_test.cc
diff --git a/src/trusted/validator/validation_cache_test.cc b/src/trusted/validator/validation_cache_test.cc
index c7eb416e05821216bc023cb4227df58c43987efc..262e9d4c1b538419a91189996b372d6e6cbc0e97 100644
--- a/src/trusted/validator/validation_cache_test.cc
+++ b/src/trusted/validator/validation_cache_test.cc
@@ -134,9 +134,9 @@ class ValidationCachingInterfaceTests : public ::testing::Test {
NACL_TARGET_ARCH,
NACL_TARGET_SUBARCH)(
NACL_SB_DEFAULT,
- NaClApplyCodeValidation,
0, code_buffer, 32,
- bundle_size, FALSE, &cpu_features,
+ bundle_size, /* stubout_mode= */ FALSE,
+ /* readonly_test= */ FALSE, &cpu_features,
&cache);
}
};
@@ -156,9 +156,9 @@ TEST_F(ValidationCachingInterfaceTests, NoCache) {
NACL_TARGET_ARCH,
NACL_TARGET_SUBARCH)(
NACL_SB_DEFAULT,
- NaClApplyCodeValidation,
0, code_buffer, CODE_SIZE,
- bundle_size, FALSE, &cpu_features,
+ bundle_size, /* stubout_mode= */ FALSE,
+ /* readonly_test= */ FALSE, &cpu_features,
NULL);
EXPECT_EQ(NaClValidationSucceeded, status);
}

Powered by Google App Engine
This is Rietveld 408576698