NativePocAsserter

public interface NativePocAsserter

com.android.sts.common.NativePocAsserter


NativePoc.asserter() के साथ इस्तेमाल करने के लिए, किसी एसर्टर का इंटरफ़ेस.

खास जानकारी

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

default void checkCmdResult(CommandResult result)

PoC पूरा होने के बाद कॉल किया जाता है

default AutoCloseable withAutoCloseable(NativePoc nativePoc, ITestDevice device)

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

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

checkCmdResult

public void checkCmdResult (CommandResult result)

PoC पूरा होने के बाद कॉल किया जाता है

पैरामीटर
result CommandResult

withAutoCloseable

public AutoCloseable withAutoCloseable (NativePoc nativePoc, 
                ITestDevice device)

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

पैरामीटर
nativePoc NativePoc

device ITestDevice

रिटर्न
AutoCloseable

थ्रो
Exception