mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-03 12:57:27 +00:00
test(libSceSocialScreenDialog): cover post-terminate null argument validation
This commit is contained in:
1 parent
57e44c4b3d
commit
658f048215
1 file changed
+7
@@ -51,6 +51,8 @@ int main() {
|
||||
Require(sceSocialScreenDialogClose() == 0);
|
||||
Require(sceSocialScreenDialogTerminate() == 0);
|
||||
Require(sceSocialScreenDialogTerminate() == kErrNotInitialized);
|
||||
Require(sceSocialScreenDialogOpen(nullptr) == kErrNotInitialized);
|
||||
Require(sceSocialScreenDialogGetResult(nullptr) == kErrNotInitialized);
|
||||
Require(sceSocialScreenDialogGetStatus() == kStatusNone);
|
||||
Require(sceSocialScreenDialogUpdateStatus() == kStatusNone);
|
||||
|
||||
@@ -62,4 +64,9 @@ int main() {
|
||||
Require(sceSocialScreenDialogGetResult(result) == 0);
|
||||
Require(result[0] == kResultUserCanceled);
|
||||
Require(sceSocialScreenDialogTerminate() == 0);
|
||||
Require(sceSocialScreenDialogTerminate() == kErrNotInitialized);
|
||||
Require(sceSocialScreenDialogOpen(nullptr) == kErrNotInitialized);
|
||||
Require(sceSocialScreenDialogGetResult(nullptr) == kErrNotInitialized);
|
||||
Require(sceSocialScreenDialogGetStatus() == kStatusNone);
|
||||
Require(sceSocialScreenDialogUpdateStatus() == kStatusNone);
|
||||
}
|
||||
Reference in new issue
Block a user