NativePocStatusAsserter
public class NativePocStatusAsserter
extends Object
Obiekt Java.lang.Object | |
↳ | com.android.sts.common.NativePocStatusAsserter |
Streszczenie
Konstruktorzy publiczni | |
---|---|
NativePocStatusAsserter () |
Metody publiczne | |
---|---|
static NativePocAsserter | assertExitCode (int exitCode) Zwróć |
static NativePocAsserter | assertNotExitCode (int badExitCode) Zwróć |
static NativePocAsserter | assertNotVulnerableExitCode () Zwróć |
Konstruktorzy publiczni
NativePocStatusAsserter
public NativePocStatusAsserter ()
Metody publiczne
potwierdzićKodWyjścia
public static NativePocAsserter assertExitCode (int exitCode)
Zwróć NativePocAsserter
, który upewnia się, że PoC zakończył działanie z podanym kodem.
Parametry | |
---|---|
exitCode | int |
Zwroty | |
---|---|
NativePocAsserter |
AssertNotExitCode
public static NativePocAsserter assertNotExitCode (int badExitCode)
Zwróć NativePocAsserter
, który upewnia się, że PoC nie zakończył działania z podanym kodem.
Parametry | |
---|---|
badExitCode | int |
Zwroty | |
---|---|
NativePocAsserter |
AssertNotVulnerableExitCode
public static NativePocAsserter assertNotVulnerableExitCode ()
Zwróć NativePocAsserter
, który upewnia się, że PoC nie zakończył działania z kodem 113.
Zwroty | |
---|---|
NativePocAsserter |