RustTestBase
public abstract class RustTestBase
extends Object
implements IRemoteTest , ITestFilterReceiver , IAbiReceiver
java.lang.Object | |
com.android.tradefed.testtype.rust.RustTestBase |
Klasa bazowa RustBinaryHostTest i RustBinaryTest
Streszczenie
Klasy zagnieżdżone | |
---|---|
class | RustTestBase.EnvPair |
class | RustTestBase.Invocation
|
Pola | |
---|---|
protected long | mTestTimeout
|
Konstruktorzy publiczni | |
---|---|
RustTestBase () |
Metody publiczne | |
---|---|
void | addAllExcludeFilters ( filters) addAllExcludeFilters ( filters) Dodaje |
void | addAllIncludeFilters ( filters) addAllIncludeFilters ( filters) Dodaje |
void | addExcludeFilter (String filter) Dodaje filtr, którego testy należy wykluczyć. |
void | addIncludeFilter (String filter) Dodaje filtr, którego testy należy uwzględnić. |
void | clearExcludeFilters () Usuń wszystkie śledzone obecnie filtry wykluczania. |
void | clearIncludeFilters () Usuń wszystkie aktualnie śledzone filtry uwzględniania. |
IAbi | getAbi () |
getExcludeFilters () Zwraca bieżący | |
getIncludeFilters () Zwraca bieżący | |
void | setAbi ( IAbi abi) |
Metody chronione | |
---|---|
void | collectTestLines (String[] testList, foundTests) collectTestLines (String[] testList, foundTests) Znajdź nazwy przypadków testowych w testList i dodaj je do foundTests. |
generateInvocations (File target) |
Pola
mTestTimeout
protected long mTestTimeout
Konstruktorzy publiczni
RustTestBase
public RustTestBase ()
Metody publiczne
addAllExcludeFilters
public void addAllExcludeFilters (filters)
Dodaje ERROR(/Set)
filtrów, których testy należy wykluczyć.
Parametry | |
---|---|
filters |
addAllIncludeFilters
public void addAllIncludeFilters (filters)
Dodaje ERROR(/Set)
filtrów, które mają być uwzględnione w testach.
Parametry | |
---|---|
filters |
addExcludeFilter
public void addExcludeFilter (String filter)
Dodaje filtr, którego testy należy wykluczyć.
Parametry | |
---|---|
filter | String |
addIncludeFilter
public void addIncludeFilter (String filter)
Dodaje filtr, którego testy należy uwzględnić.
Parametry | |
---|---|
filter | String |
wyczyśćWykluczFiltry
public void clearExcludeFilters ()
Usuń wszystkie śledzone obecnie filtry wykluczania.
clearIncludeFilters
public void clearIncludeFilters ()
Usuń wszystkie aktualnie śledzone filtry uwzględniania.
getExcludeFilters
publicgetExcludeFilters ()
Zwraca bieżący ERROR(/Set)
filtrów wykluczających.
Zwroty | |
---|---|
Metody chronione
zbierzTestLines
protected void collectTestLines (String[] testList,foundTests)
Znajdź nazwy przypadków testowych w testList i dodaj je do foundTests.
Parametry | |
---|---|
testList | String |
foundTests |
generuj wywołania
protectedgenerateInvocations (File target)
Parametry | |
---|---|
target | File |
Zwroty | |
---|---|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-08-15 UTC.