Root Dışı Güvenlik Test Senaryosu
public class NonRootSecurityTestCase
extends SecurityTestCase
java.lang.Object | ||||||
↳ | com.android.tradefed.testtype.junit4.BaseHostJUnit4Test | |||||
↳ | com.android.compatibility.common.tradefed.testtype.BusinessLogicHostTestBase | |||||
↳ | com.android.compatibility.common.tradefed.testtype.ExtraBusinessLogicHostTestBase | |||||
↳ | com.android.sts.common.tradefed.testtype.StsExtraBusinessLogicHostTestBase | |||||
↳ | com.android.sts.common.tradefed.testtype.SecurityTestCase | |||||
↳ | com.android.sts.common.tradefed.testtype.NonRootSecurityTestCase |
Adb root'a sahip olmayan ve olmaması gereken cihazlarda çalışan test sınıfı.
Performansı optimize etmek için kök dışı tüm testler aynı modülde gruplandırılmalıdır.
Özet
Kamu inşaatçıları | |
---|---|
NonRootSecurityTestCase () |
Genel yöntemler | |
---|---|
void | setUpUnroot () SecurityTestCase kurulumundan sonra cihazda adb root'un etkinleştirilmediğinden emin olun. |
Kamu inşaatçıları
Root Dışı Güvenlik Test Senaryosu
public NonRootSecurityTestCase ()
Genel yöntemler
kurulumKökü kaldır
public void setUpUnroot ()
SecurityTestCase kurulumundan sonra cihazda adb root'un etkinleştirilmediğinden emin olun.
Atar | |
---|---|
DeviceNotAvailableException |