mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-11-27 00:20:54 +00:00
format
This commit is contained in:
parent
b181559a19
commit
647e001d49
@ -160,6 +160,5 @@ class INetworking {
|
||||
virtual int httpsSetSslVersion(int id, SceSslVersion version) = 0;
|
||||
};
|
||||
|
||||
|
||||
__APICALL INetworking& accessNetworking();
|
||||
#undef __APICALL
|
||||
|
@ -138,8 +138,7 @@ TEST(core_semaphore, signal_1) {
|
||||
EXPECT_EQ(res, Ok);
|
||||
}
|
||||
});
|
||||
std::this_thread::sleep_for(
|
||||
std::chrono::microseconds(100)); // this or mock condition var
|
||||
std::this_thread::sleep_for(std::chrono::microseconds(100)); // this or mock condition var
|
||||
|
||||
auto resSignal = sem->signal(1);
|
||||
EXPECT_EQ(resSignal, Ok);
|
||||
@ -180,8 +179,7 @@ TEST(core_semaphore, signal_2) {
|
||||
EXPECT_EQ(res, Ok);
|
||||
}
|
||||
});
|
||||
std::this_thread::sleep_for(
|
||||
std::chrono::microseconds(100)); // this or mock condition var
|
||||
std::this_thread::sleep_for(std::chrono::microseconds(100)); // this or mock condition var
|
||||
|
||||
{
|
||||
auto resSignal = sem->signal(2);
|
||||
@ -216,8 +214,7 @@ TEST(core_semaphore, signal_2) {
|
||||
EXPECT_EQ(res, Ok);
|
||||
}
|
||||
});
|
||||
std::this_thread::sleep_for(
|
||||
std::chrono::microseconds(100)); // this or mock condition var
|
||||
std::this_thread::sleep_for(std::chrono::microseconds(100)); // this or mock condition var
|
||||
|
||||
{
|
||||
auto resSignal = sem->signal(4);
|
||||
@ -262,8 +259,7 @@ TEST(core_semaphore, signal_exit) {
|
||||
EXPECT_EQ(res, getErr(ErrCode::_ECANCELED));
|
||||
}
|
||||
});
|
||||
std::this_thread::sleep_for(
|
||||
std::chrono::microseconds(100)); // this or mock condition var
|
||||
std::this_thread::sleep_for(std::chrono::microseconds(100)); // this or mock condition var
|
||||
|
||||
auto resSignal = sem->signal(2);
|
||||
EXPECT_EQ(resSignal, Ok);
|
||||
|
Loading…
Reference in New Issue
Block a user