Home
last modified time | relevance | path

Searched refs:SBOX_TEST_SUCCEEDED (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/sandbox/win/src/
Dsync_policy_test.cc29 return SBOX_TEST_SUCCEEDED; in Event_Open()
72 return SBOX_TEST_SUCCEEDED; in Event_CreateOpen()
80 return SBOX_TEST_SUCCEEDED; in Event_CreateOpen()
100 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"Event_CreateOpen f f")); in TEST()
101 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"Event_CreateOpen t f")); in TEST()
102 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"Event_CreateOpen f t")); in TEST()
103 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"Event_CreateOpen t t")); in TEST()
104 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"Event_CreateOpen f f test1")); in TEST()
105 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"Event_CreateOpen t f test2")); in TEST()
106 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"Event_CreateOpen f t test1")); in TEST()
[all …]
Dfile_policy_test.cc46 return SBOX_TEST_SUCCEEDED; in File_Create()
56 return SBOX_TEST_SUCCEEDED; in File_Create()
76 return SBOX_TEST_SUCCEEDED; in File_Win32Create()
84 return SBOX_TEST_SUCCEEDED; in File_Win32Create()
116 return SBOX_TEST_SUCCEEDED; in File_CreateSys32()
150 return SBOX_TEST_SUCCEEDED; in File_OpenSys32()
170 return SBOX_TEST_SUCCEEDED; in File_GetDiskSpace()
179 return SBOX_TEST_SUCCEEDED; in File_GetDiskSpace()
189 return SBOX_TEST_SUCCEEDED; in File_Rename()
237 return SBOX_TEST_SUCCEEDED; in File_QueryAttributes()
[all …]
Dregistry_policy_test.cc80 return SBOX_TEST_SUCCEEDED; in Reg_OpenKey()
99 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest( in TEST()
102 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest( in TEST()
107 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest( in TEST()
110 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest( in TEST()
168 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"Reg_OpenKey create read " in TEST()
171 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"Reg_OpenKey open read " in TEST()
198 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"Reg_OpenKey create write " in TEST()
229 EXPECT_NE(SBOX_TEST_SUCCEEDED, runner.RunTest(L"Reg_OpenKey create link " in TEST()
268 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest( in TEST()
[all …]
Dpolicy_target_test.cc35 ret = SBOX_TEST_SUCCEEDED; in PolicyTargetTest_token()
76 return SBOX_TEST_SUCCEEDED; in PolicyTargetTest_token2()
106 return SBOX_TEST_SUCCEEDED; in PolicyTargetTest_token3()
118 return SBOX_TEST_SUCCEEDED; in PolicyTargetTest_thread()
145 return SBOX_TEST_SUCCEEDED; in PolicyTargetTest_thread2()
159 return SBOX_TEST_SUCCEEDED; in PolicyTargetTest_process()
168 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"PolicyTargetTest_token")); in TEST()
183 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"PolicyTargetTest_token2")); in TEST()
196 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"PolicyTargetTest_token3")); in TEST()
204 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"PolicyTargetTest_thread")) << in TEST()
[all …]
Dunload_dll_test.cc24 rv = (module1 == NULL) ? SBOX_TEST_FAILED : SBOX_TEST_SUCCEEDED; in UseOneDLL()
29 rv = ::FreeLibrary(module2) ? SBOX_TEST_SUCCEEDED : SBOX_TEST_FAILED; in UseOneDLL()
40 return event_open.Get() ? SBOX_TEST_SUCCEEDED : SBOX_TEST_FAILED; in SimpleOpenEvent()
55 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"UseOneDLL L avicap32.dll")); in TEST()
56 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"UseOneDLL B avicap32.dll")); in TEST()
93 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"SimpleOpenEvent tst0001")); in TEST()
Dhandle_policy_test.cc44 return (result == SBOX_ALL_OK) ? SBOX_TEST_SUCCEEDED : SBOX_TEST_DENIED; in Handle_DuplicateEvent()
54 EXPECT_EQ(SBOX_TEST_SUCCEEDED, target.RunTest(L"Handle_WaitProcess 30000")); in TEST()
65 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(cmd_line.c_str())); in TEST()
76 EXPECT_EQ(SBOX_TEST_SUCCEEDED, target.RunTest(L"Handle_WaitProcess 30000")); in TEST()
87 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(cmd_line.c_str())); in TEST()
110 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(cmd_line.c_str())); in TEST()
Dhandle_closer_test.cc70 return SBOX_TEST_SUCCEEDED; in CheckForFileHandles()
89 return should_find ? SBOX_TEST_SUCCEEDED : SBOX_TEST_FAILED; in CheckForFileHandles()
97 return should_find ? SBOX_TEST_FAILED : SBOX_TEST_SUCCEEDED; in CheckForFileHandles()
104 return SBOX_TEST_SUCCEEDED; in CheckForFileHandles()
123 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(command.c_str())) << in TEST()
145 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(command.c_str())) << in TEST()
180 return SBOX_TEST_SUCCEEDED; in RunThreadPool()
192 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"RunThreadPool")); in TEST()
Dipc_ping_test.cc39 return SBOX_TEST_SUCCEEDED; in IPC_Ping()
47 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"IPC_Ping 1")); in TEST()
54 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"IPC_Ping 2")); in TEST()
55 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"IPC_Ping 2")); in TEST()
Dprocess_mitigations_test.cc108 return SBOX_TEST_SUCCEEDED; in CheckWin8()
132 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"CheckWin8")); in TEST()
180 return SBOX_TEST_SUCCEEDED; in CheckDep()
196 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"CheckDep")); in TEST()
210 return SBOX_TEST_SUCCEEDED; in CheckWin8Lockdown()
225 EXPECT_NE(SBOX_TEST_SUCCEEDED, runner.RunTest(L"CheckWin8Lockdown")); in TEST()
244 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"CheckWin8Lockdown")); in TEST()
Dprocess_policy_test.cc63 ret1 = sandbox::SBOX_TEST_SUCCEEDED; in CreateProcessHelper()
88 ret2 = sandbox::SBOX_TEST_SUCCEEDED; in CreateProcessHelper()
238 return SBOX_TEST_SUCCEEDED; in Process_GetChildProcessToken()
255 return SBOX_TEST_SUCCEEDED; in Process_OpenToken()
310 EXPECT_EQ(SBOX_TEST_SUCCEEDED, in TEST()
312 EXPECT_EQ(SBOX_TEST_SUCCEEDED, in TEST()
314 EXPECT_EQ(SBOX_TEST_SUCCEEDED, in TEST()
316 EXPECT_EQ(SBOX_TEST_SUCCEEDED, in TEST()
318 EXPECT_EQ(SBOX_TEST_SUCCEEDED, in TEST()
334 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"Process_OpenToken")); in TEST()
[all …]
Dintegrity_level_test.cc42 return SBOX_TEST_SUCCEEDED; in CheckIntegrityLevel()
58 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"CheckIntegrityLevel")); in TEST()
61 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"CheckIntegrityLevel")); in TEST()
74 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"CheckIntegrityLevel")); in TEST()
Dnamed_pipe_policy_test.cc59 return SBOX_TEST_SUCCEEDED; in NamedPipe_Create()
71 EXPECT_EQ(SBOX_TEST_SUCCEEDED, in TEST()
114 EXPECT_EQ(SBOX_TEST_SUCCEEDED, in TEST()
129 EXPECT_EQ(SBOX_TEST_SUCCEEDED, in TEST()
Dhandle_inheritance_test.cc17 return SBOX_TEST_SUCCEEDED; in HandleInheritanceTests_PrintToStdout()
39 EXPECT_EQ(SBOX_TEST_SUCCEEDED, result); in TEST()
Dapp_container_test.cc87 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"Event_Open f test")); in TEST()
90 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"Event_Open f test")); in TEST()
/external/chromium_org/sandbox/win/tests/validation_tests/
Dcommands.cc61 return sandbox::SBOX_TEST_SUCCEEDED; in TestOpenFile()
86 return SBOX_TEST_SUCCEEDED; in TestValidWindow()
112 return SBOX_TEST_SUCCEEDED; in TestOpenProcess()
138 return SBOX_TEST_SUCCEEDED; in TestOpenThread()
196 return SBOX_TEST_SUCCEEDED; in TestOpenKey()
229 return SBOX_TEST_SUCCEEDED; in TestOpenInputDesktop()
234 return SBOX_TEST_SUCCEEDED; in TestOpenInputDesktop()
249 return SBOX_TEST_SUCCEEDED; in TestSwitchDesktop()
271 return SBOX_TEST_SUCCEEDED; in TestOpenAlternateDesktop()
282 return SBOX_TEST_SUCCEEDED; in TestOpenAlternateDesktop()
[all …]
Dsuite.cc160 EXPECT_EQ(SBOX_TEST_SUCCEEDED, target.RunTest(L"SleepCmd 30000")); in TEST()
183 EXPECT_EQ(SBOX_TEST_SUCCEEDED, target.RunTest(L"SleepCmd 30000")); in TEST()
207 EXPECT_EQ(SBOX_TEST_SUCCEEDED, target.RunTest(L"SleepCmd 30000")); in TEST()
239 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(command)); in TEST()
/external/chromium_org/sandbox/win/tests/integration_tests/
Dintegration_tests_test.cc113 ::TerminateJobObject(job, SBOX_TEST_SUCCEEDED); in IntegrationTestsTest_job()
115 return SBOX_TEST_SUCCEEDED; in IntegrationTestsTest_job()
160 ASSERT_EQ(SBOX_TEST_SUCCEEDED, in TEST()
170 ASSERT_EQ(SBOX_TEST_SUCCEEDED, in TEST()
191 ASSERT_EQ(SBOX_TEST_SUCCEEDED, in TEST()
193 ASSERT_EQ(SBOX_TEST_SUCCEEDED, in TEST()
217 ASSERT_EQ(SBOX_TEST_SUCCEEDED, in TEST()
219 ASSERT_EQ(SBOX_TEST_SUCCEEDED, in TEST()
244 ASSERT_EQ(SBOX_TEST_SUCCEEDED, in TEST()
248 ASSERT_EQ(SBOX_TEST_SUCCEEDED, in TEST()
[all …]
/external/chromium_org/sandbox/win/tests/common/
Dcontroller.h27 SBOX_TEST_SUCCEEDED, enumerator
Dcontroller.cc241 return SBOX_TEST_SUCCEEDED; in InternalRunTest()