OLD | NEW |
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 Loading... |
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 |
OLD | NEW |