NativePocStatusAsserter

public class NativePocStatusAsserter
extends Object

java.lang.Объект
com.android.sts.common.NativePocStatusAsserter


Краткое содержание

Общественные конструкторы

NativePocStatusAsserter ()

Публичные методы

static NativePocAsserter assertExitCode (int exitCode)

Возвращает NativePocAsserter , который гарантирует завершение PoC с заданным кодом.

static NativePocAsserter assertNotExitCode (int badExitCode)

Возвращает NativePocAsserter , который гарантирует, что PoC не завершился с заданным кодом.

static NativePocAsserter assertNotVulnerableExitCode ()

Возвращает NativePocAsserter , который гарантирует, что PoC не завершился с кодом 113.

Общественные конструкторы

NativePocStatusAsserter

public NativePocStatusAsserter ()

Публичные методы

AssertExitCode

public static NativePocAsserter assertExitCode (int exitCode)

Возвращает NativePocAsserter , который гарантирует завершение PoC с заданным кодом.

Параметры
exitCode int

Возврат
NativePocAsserter

ассертнотекситкоде

public static NativePocAsserter assertNotExitCode (int badExitCode)

Возвращает NativePocAsserter , который гарантирует, что PoC не завершился с заданным кодом.

Параметры
badExitCode int

Возврат
NativePocAsserter

AssertNotVulnerableExitCode

public static NativePocAsserter assertNotVulnerableExitCode ()

Возвращает NativePocAsserter , который гарантирует, что PoC не завершился с кодом 113.

Возврат
NativePocAsserter