| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Some tests for the framework itself. | 5 // Some tests for the framework itself. |
| 6 | 6 |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
| 8 #include "sandbox/win/src/sandbox.h" | 8 #include "sandbox/win/src/sandbox.h" |
| 9 #include "sandbox/win/src/target_services.h" | 9 #include "sandbox/win/src/target_services.h" |
| 10 #include "sandbox/win/src/sandbox_factory.h" | 10 #include "sandbox/win/src/sandbox_factory.h" |
| 11 #include "sandbox/win/tests/common/controller.h" | 11 #include "sandbox/win/tests/common/controller.h" |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 TEST(IntegrationTestsTest, ForwardsArguments) { | 85 TEST(IntegrationTestsTest, ForwardsArguments) { |
| 86 TestRunner runner; | 86 TestRunner runner; |
| 87 runner.SetTimeout(2000); | 87 runner.SetTimeout(2000); |
| 88 runner.SetTestState(BEFORE_INIT); | 88 runner.SetTestState(BEFORE_INIT); |
| 89 ASSERT_EQ(1, runner.RunTest(L"IntegrationTestsTest_args first")); | 89 ASSERT_EQ(1, runner.RunTest(L"IntegrationTestsTest_args first")); |
| 90 ASSERT_EQ(4, runner.RunTest(L"IntegrationTestsTest_args first second third " | 90 ASSERT_EQ(4, runner.RunTest(L"IntegrationTestsTest_args first second third " |
| 91 L"fourth")); | 91 L"fourth")); |
| 92 } | 92 } |
| 93 | 93 |
| 94 } // namespace sandbox | 94 } // namespace sandbox |
| OLD | NEW |