Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
TestDescription
public
final
class
TestDescription
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.result.TestDescription
|
Bir test durumuyla ilgili bilgileri temsil eden sınıf.
Özet
Herkese açık kurucular |
TestDescription(String className, String testName)
Oluşturucu
|
TestDescription(String className, String testName, Annotation... annotations)
Oluşturucu
|
TestDescription(String className, String testName, annotations)
Oluşturucu
|
Fields'ın oynadığı filmler
PARAMETERIZED_TEST_REGEX
public static final Pattern PARAMETERIZED_TEST_REGEX
Parametreli yöntem için normal ifade. Örneğin: testName[0]
Herkese açık kurucular
TestDescription
public TestDescription (String className,
String testName)
Oluşturucu
Parametreler |
className |
String : Testin yapıldığı sınıfın adı. |
testName |
String : Testin (yöntemin) adı. |
TestDescription
public TestDescription (String className,
String testName,
Annotation... annotations)
Oluşturucu
Parametreler |
className |
String : Testin yapıldığı sınıfın adı. |
testName |
String : Testin (yöntemin) adı. |
annotations |
Annotation : Test durumuyla ilişkili ERROR(/Annotation) listesi. |
TestDescription
public TestDescription (String className,
String testName,
annotations)
Oluşturucu
Parametreler |
className |
String : Testin yapıldığı sınıfın adı. |
testName |
String : Testin (yöntemin) adı. |
annotations |
: Test durumuyla ilişkili ERROR(/Annotation) koleksiyonu. |
Herkese açık yöntemler
compareTo
public int compareTo (TestDescription o)
Parametreler |
o |
TestDescription |
eşittir
public boolean equals (Object obj)
getAnnotation
public T getAnnotation (Class<T> annotationType)
Parametreler |
annotationType |
Class |
İlerlemeler |
T |
Bu açıklama düğümüne eklenmiş annotationType türündeki ek açıklama veya böyle bir ek açıklama yoksa null |
getAnnotations
public getAnnotations ()
İlerlemeler |
|
Bu açıklama düğümüne eklenmiş tüm ek açıklamalar |
getClassName
public String getClassName ()
Testin tam nitelikli sınıf adını döndürür.
getTestName
public String getTestName ()
Parametreli testse parametrelerle birlikte testin adını döndürür. Parametreli bir test değilse normal test adını döndürür.
getTestNameWithoutParams
public String getTestNameWithoutParams ()
Parametre içermeyen test adını döndürür (parametreli bir yöntemse).
hashCode
public int hashCode ()
toString
public String toString ()
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-03-26 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-03-26 UTC."],[],[]]