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

Side by Side Diff: chrome/test/security_tests/renderer_sandbox_tests_mac.mm

Issue 10827282: Move the injection test API to content/public. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "chrome/test/security_tests/renderer_sandbox_tests_mac.h" 5 #import "content/public/common/injection_test_mac.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 10
11 //--------------------- Sandbox Tests --------------------- 11 //--------------------- Sandbox Tests ---------------------
12 // Below is a list of test functions that check the renderer sandbox. 12 // Below is a list of test functions that check the renderer sandbox.
13 // In order for a test function to be executed, it must be added to the 13 // In order for a test function to be executed, it must be added to the
14 // |sandbox_test_cases| array in +[RendererSandboxTestsRunner runTests] below. 14 // |sandbox_test_cases| array in +[RendererSandboxTestsRunner runTests] below.
15 // TODO(ofri): Consider moving these to another file once there are enough tests 15 // TODO(ofri): Consider moving these to another file once there are enough tests
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 LogInfoMessage("Test: " + test_case->name + " - PASSED"); 77 LogInfoMessage("Test: " + test_case->name + " - PASSED");
78 } else { 78 } else {
79 LogErrorMessage("Test: " + test_case->name + " - FAILED"); 79 LogErrorMessage("Test: " + test_case->name + " - FAILED");
80 tests_passed = NO; 80 tests_passed = NO;
81 } 81 }
82 } 82 }
83 return tests_passed; 83 return tests_passed;
84 } 84 }
85 85
86 @end 86 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698