mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-05 13:20:11 +00:00
test(libSceScreenShot): cover positive IDs in sceScreenShotIsDisabled
Cover positive IDs 1 and 2 in sceScreenShotIsDisabled in GuestScreenShot.
This commit is contained in:
1 parent
3ae8209b64
commit
04bdc8c7e7
1 file changed
+2
@@ -67,6 +67,8 @@ void TestDisableState() {
|
||||
Require(sceScreenShotIsDisabled(-1, &value) == ErrorArgument && value == 7, "id -1 is rejected");
|
||||
Require(sceScreenShotIsDisabled(0, nullptr) == ErrorArgument, "null result is rejected");
|
||||
Require(sceScreenShotDisableNotification() == 0 && sceScreenShotEnableNotification() == 0, "notification toggles");
|
||||
Require(sceScreenShotIsDisabled(1, &value) == 0 && value == 0, "positive id 1 is accepted");
|
||||
Require(sceScreenShotIsDisabled(2, &value) == 0 && value == 0, "positive id 2 is accepted");
|
||||
}
|
||||
|
||||
void TestOverlay(bool large) {
|
||||
|
||||
Reference in new issue
Block a user