TestDescriptionsFile
public
class
TestDescriptionsFile
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.result.TestDescriptionsFile |
Bir TestDescription listesini test dosyasına dönüştürme ve test dosyasından dönüştürme için yardımcı sınıf.
Dosya G/Ç'sini önbelleğe almak ve geç yükleme ile en aza indirmek için tasarlanmıştır.
İş parçacığı güvenli DEĞİLDİR.
Özet
Herkese açık oluşturucular | |
|---|---|
TestDescriptionsFile()
Boş bir test açıklaması listesi oluşturun. |
|
TestDescriptionsFile(File file)
Dosya içeriklerinden bir test açıklaması listesi oluşturun. |
|
Herkese açık yöntemler | |
|---|---|
void
|
add(TestDescription test)
|
void
|
addAll(List<TestDescription> test)
|
static
TestDescriptionsFile
|
fromTests(List<TestDescription> shardTests)
|
File
|
getFile()
Gerekirse oluşturarak testlerin test dosyası gösterimini döndürün. |
List<TestDescription>
|
getTests()
Gerekirse test dosyasından başlayarak depolanan testlerin bir kopyasını döndürür. |
void
|
populateTestFile(File testfile)
Belirtilen dosyayı mevcut testlerle doldurur. |
void
|
remove(TestDescription test)
|
int
|
size()
|
Herkese açık oluşturucular
TestDescriptionsFile
public TestDescriptionsFile ()
Boş bir test açıklaması listesi oluşturun.
TestDescriptionsFile
public TestDescriptionsFile (File file)
Dosya içeriklerinden bir test açıklaması listesi oluşturun.
| Parametreler | |
|---|---|
file |
File |
Herkese açık yöntemler
fromTests
public static TestDescriptionsFile fromTests (List<TestDescription> shardTests)
| Parametreler | |
|---|---|
shardTests |
List |
| İadeler | |
|---|---|
TestDescriptionsFile |
|
getFile
public File getFile ()
Gerekirse oluşturarak testlerin test dosyası gösterimini döndürün.
Testler benzersiz ve sıralanmış olacaktır.
| İadeler | |
|---|---|
File |
|
getTests
public List<TestDescription> getTests ()
Gerekirse test dosyasından başlayarak depolanan testlerin bir kopyasını döndürür.
| İadeler | |
|---|---|
List<TestDescription> |
|
populateTestFile
public void populateTestFile (File testfile)
Belirtilen dosyayı mevcut testlerle doldurur.
| Parametreler | |
|---|---|
testfile |
File |
beden
public int size ()
| İadeler | |
|---|---|
int |
|