NativePocCrashAsserter

public class NativePocCrashAsserter
extends Object implements NativePocAsserter

java.lang.Object
   ↳ com.android.sts.common.NativePocCrashAsserter


खास जानकारी

सार्वजनिक तरीके

static NativePocAsserter assertNoCrash()

यह एक NativePocAsserter दिखाता है, जो यह पक्का करता है कि Poc में सुरक्षा से जुड़ी कोई गड़बड़ी न हो.

static NativePocAsserter assertNoCrash(TombstoneUtils.Config config)

एक NativePocAsserter दिखाता है, जो यह पक्का करता है कि दिए गए TombstoneUtils.Config के मुताबिक, कोई सुरक्षा क्रैश न हुआ हो

static NativePocAsserter assertNoCrashIn(String... patterns)

यह एक NativePocAsserter दिखाता है, जो सूची में शामिल प्रोसेस की जांच करता है कि कहीं वे सुरक्षा से जुड़ी किसी क्रैश की वजह तो नहीं हैं.

AutoCloseable withAutoCloseable(NativePoc nativePoc, ITestDevice device)

यह पोक के चलने से पहले कॉल किया जाता है. यह एक AutoCloseable रिटर्न करता है, जो पोक के खत्म होने के बाद बंद हो जाता है

सार्वजनिक तरीके

assertNoCrash

public static NativePocAsserter assertNoCrash ()

यह एक NativePocAsserter दिखाता है, जो यह पक्का करता है कि Poc में सुरक्षा से जुड़ी कोई गड़बड़ी न हो.

रिटर्न
NativePocAsserter

assertNoCrash

public static NativePocAsserter assertNoCrash (TombstoneUtils.Config config)

एक NativePocAsserter दिखाता है, जो यह पक्का करता है कि दिए गए TombstoneUtils.Config के मुताबिक, कोई सुरक्षा क्रैश न हुआ हो

पैरामीटर
config TombstoneUtils.Config

रिटर्न
NativePocAsserter

assertNoCrashIn

public static NativePocAsserter assertNoCrashIn (String... patterns)

यह एक NativePocAsserter दिखाता है, जो सूची में शामिल प्रोसेस की जांच करता है कि कहीं वे सुरक्षा से जुड़ी किसी क्रैश की वजह तो नहीं हैं.

पैरामीटर
patterns String

रिटर्न
NativePocAsserter

withAutoCloseable

public AutoCloseable withAutoCloseable (NativePoc nativePoc, 
                ITestDevice device)

यह पोक के चलने से पहले कॉल किया जाता है. यह एक AutoCloseable रिटर्न करता है, जो पोक के खत्म होने के बाद बंद हो जाता है

पैरामीटर
nativePoc NativePoc

device ITestDevice

रिटर्न
AutoCloseable

थ्रो
DeviceNotAvailableException