ITestFileFilterAlıcı
public interface ITestFileFilterReceiver
com.android.tradefed.testtype.ITestFileFilterAlıcı |
Hangi testlerin çalıştırılacağını ve/veya çalıştırılmayacağını belirten bir dosya alabilen bir koşucu.
Sağlanan testFile'a dahil edilmişse ve notTestFile tarafından veya test çalıştırıcısına sağlanan bir hariç tutma filtresi tarafından hariç tutulmamışsa, bir test çalıştırılacaktır. Her iki dosya da, filtreler olarak biçimlendirilmiş, satırla ayrılmış bir test adları listesi içermelidir.
Filtrelerin formatı koşucu tarafından tanımlanır ve <package>, <package>.<class>, <package>.<class>#<method> veya <native_name> olarak yapılandırılabilir. Hatta normal ifadeler bile olabilirler.
Özet
Genel yöntemler | |
---|---|
default File | getExcludeTestFile () Dışlanan testleri içeren dosyayı döndürür. |
default File | getIncludeTestFile () Dahil edilen testleri içeren dosyayı döndürür. |
abstract void | setExcludeTestFile (File testFile) Hariç tutulanların test dosyasını ayarlar. |
abstract void | setIncludeTestFile (File testFile) include test dosyasını ayarlar. |
Genel yöntemler
getExcludeTestDosyası
public File getExcludeTestFile ()
Dışlanan testleri içeren dosyayı döndürür.
İadeler | |
---|---|
File |
getIncludeTestFile
public File getIncludeTestFile ()
Dahil edilen testleri içeren dosyayı döndürür.
İadeler | |
---|---|
File |
setExcludeTestDosyası
public abstract void setExcludeTestFile (File testFile)
Hariç tutulanların test dosyasını ayarlar. testFile'ın var olduğundan veya bir dosya olduğundan emin değildir.
parametreler | |
---|---|
testFile | File |
setIncludeTestFile
public abstract void setIncludeTestFile (File testFile)
include test dosyasını ayarlar. testFile'ın var olduğundan veya bir dosya olduğundan emin değildir.
parametreler | |
---|---|
testFile | File |