SwitchUserTargetPreparer
public class SwitchUserTargetPreparer
extends BaseTargetPreparer
ITargetPreparer
שעובר לסוג המשתמש שצוין ב-setUp. כברירת מחדל היא נשארת במשתמש הנוכחי, ולא מתבצעת מעבר.
מנסה לשחזר את מצב המשתמש במכשיר על ידי מעבר חזרה למשתמש הנוכחי לפני הביצוע.
סיכום
בנאים ציבוריים
SwitchUserTargetPreparer
public SwitchUserTargetPreparer ()
שיטות ציבוריות
public void setUp (TestInformation testInformation)
פרמטרים |
---|
testInformation | TestInformation |
public void tearDown (TestInformation testInformation,
Throwable e)
פרמטרים |
---|
testInformation | TestInformation |
e | Throwable |