TestDescriptionsFile
public
class
TestDescriptionsFile
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.result.TestDescriptionsFile |
TestDescription listesini bir test dosyasına yerleştirmek ve bu listeden veri çıkarmak için kullanılan bir yardımcı program sınıfı.
Yavaş yükleme yaparak dosya G/Ç'sini önbelleğe almak ve en aza indirmek için tasarlanmıştır.
İletişim dizisi açısından GÜVENLİ DEĞİLDİR.
Özet
Herkese açık kurucular | |
|---|---|
TestDescriptionsFile()
Boş bir test açıklaması listesi oluşturun. |
|
TestDescriptionsFile(File file)
Dosya içeriklerinden test açıklaması listesi oluşturun. |
|
Herkese açık yöntemler | |
|---|---|
void
|
add(TestDescription test)
|
void
|
addAll(
|
static
TestDescriptionsFile
|
fromTests(
|
File
|
getFile()
Testlerin test dosyası temsilini döndürme (gerekirse oluşturma). |
|
getTests()
Depolanan testlerin bir kopyasını döndürme (gerekirse test dosyasından derleme). |
void
|
populateTestFile(File testfile)
Belirtilen dosyayı mevcut testlerle doldurur. |
void
|
remove(TestDescription test)
|
int
|
size()
|
Herkese açık kurucular
TestDescriptionsFile
public TestDescriptionsFile ()
Boş bir test açıklaması listesi oluşturun.
TestDescriptionsFile
public TestDescriptionsFile (File file)
Dosya içeriklerinden test açıklaması listesi oluşturun.
| Parametreler | |
|---|---|
file |
File |
Herkese açık yöntemler
addAll
public void addAll (test)
| Parametreler | |
|---|---|
test |
|
fromTests
public static TestDescriptionsFile fromTests (shardTests)
| Parametreler | |
|---|---|
shardTests |
|
| İlerlemeler | |
|---|---|
TestDescriptionsFile |
|
getFile
public File getFile ()
Testlerin test dosyası temsilini döndürme (gerekirse oluşturma).
Testler benzersiz ve sıralanmış olacaktır.
| İlerlemeler | |
|---|---|
File |
|
getTests
publicgetTests ()
Depolanan testlerin bir kopyasını döndürme (gerekirse test dosyasından derleme).
| İlerlemeler | |
|---|---|
|
|
populateTestFile
public void populateTestFile (File testfile)
Belirtilen dosyayı mevcut testlerle doldurur.
| Parametreler | |
|---|---|
testfile |
File |
beden
public int size ()
| İlerlemeler | |
|---|---|
int |
|