Chromium Code Reviews| Index: sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc |
| diff --git a/ui/base/native_theme/native_theme_win_unittest.cc b/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc |
| similarity index 54% |
| copy from ui/base/native_theme/native_theme_win_unittest.cc |
| copy to sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc |
| index b711921355e748da0e9daf13d31700b993599a99..ead6c4e387853f02330c6c41cd472a5da311f6af 100644 |
| --- a/ui/base/native_theme/native_theme_win_unittest.cc |
| +++ b/sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc |
| @@ -2,14 +2,10 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#include "ui/base/native_theme/native_theme_win.h" |
| - |
| +#include "sandbox/linux/seccomp-bpf/sandbox_bpf.h" |
| +#include "sandbox/linux/seccomp-bpf/verifier.h" |
| #include "testing/gtest/include/gtest/gtest.h" |
| -namespace ui { |
| - |
| -TEST(NativeThemeTest, Init) { |
| - ASSERT_TRUE(NativeThemeWin::instance() != NULL); |
| +TEST(SandboxBpf, CallSupports) { |
| + playground2::Sandbox::supportsSeccompSandbox(-1); |
|
Markus (顧孟勤)
2012/06/21 21:01:07
Maybe add a comment that we are not actually check
|
| } |
| - |
| -} // namespace ui |