TestInfo
public
class
TestInfo
extends Object
java.lang.Object | |
↳ | com.android.tradefed.util.testmapping.TestInfo |
Przechowuje zestaw informacji o teście w pliku TEST_MAPPING.
Podsumowanie
Konstruktory publiczne | |
---|---|
TestInfo(String name, String source, boolean hostOnly)
|
|
TestInfo(String name, String source, boolean hostOnly,
|
Metody publiczne | |
---|---|
void
|
addImportPaths(
|
void
|
addOption(TestOption option)
|
void
|
addSources(
|
boolean
|
equals(Object o)
|
boolean
|
getHostOnly()
|
|
getImportPaths()
|
|
getKeywords(
Uzyskaj |
|
getKeywords()
Uzyskaj |
String
|
getName()
|
String
|
getNameAndHostOnly()
Odczytaj |
String
|
getNameOption()
Utwórz |
|
getOptions()
|
|
getSources()
|
int
|
hashCode()
|
void
|
merge(TestInfo test)
scalić z innym testem. |
String
|
toString()
|
Konstruktory publiczne
TestInfo
public TestInfo (String name, String source, boolean hostOnly)
Parametry | |
---|---|
name |
String |
source |
String |
hostOnly |
boolean |
TestInfo
public TestInfo (String name, String source, boolean hostOnly,keywords)
Parametry | |
---|---|
name |
String |
source |
String |
hostOnly |
boolean |
keywords |
|
Metody publiczne
addImportPaths
public void addImportPaths (paths)
Parametry | |
---|---|
paths |
|
addSources
public void addSources (sources)
Parametry | |
---|---|
sources |
|
równa się
public boolean equals (Object o)
Parametry | |
---|---|
o |
Object |
Zwroty | |
---|---|
boolean |
getHostOnly
public boolean getHostOnly ()
Zwroty | |
---|---|
boolean |
getImportPaths
publicgetImportPaths ()
Zwroty | |
---|---|
|
getSłowa kluczowe
publicgetKeywords ( ignoreKeywords)
Uzyskaj ERROR(/Set)
słów kluczowych obsługiwanych przez test.
Parametry | |
---|---|
ignoreKeywords |
: zestaw String słów kluczowych, które mają być ignorowane. |
Zwroty | |
---|---|
|
getKeywords
publicgetKeywords ()
Uzyskaj ERROR(/Set)
słów kluczowych obsługiwanych przez test.
Zwroty | |
---|---|
|
getName
public String getName ()
Zwroty | |
---|---|
String |
getNameAndHostOnly
public String getNameAndHostOnly ()
Odczytaj String
reprezentujący nazwę testu i jego ustawienie hosta. Dzięki temu informacje o testach mogą być grupowane według nazwy wymogu na urządzeniu.
Zwroty | |
---|---|
String |
Opcja getNameOption
public String getNameOption ()
Uzyskaj String
reprezentujący nazwę testu i jego opcje.
Zwroty | |
---|---|
String |
getOptions
publicgetOptions ()
Zwroty | |
---|---|
|
getSources
publicgetSources ()
Zwroty | |
---|---|
|
hashCode
public int hashCode ()
Zwroty | |
---|---|
int |
scal
public void merge (TestInfo test)
scalić z innym testem.
Zaktualizuj opcje testu, aby obejmował on jak największą część obu testów.
TODO(b/113616538): Wprowadź bardziej niezawodny mechanizm scalania opcji.
Parametry | |
---|---|
test |
TestInfo : obiekt TestInfo , z którym ma zostać scalony. |
toString
public String toString ()
Zwroty | |
---|---|
String |