DeviceTestSuite
 public class DeviceTestSuite
  
  
  
extends TestSuite implements IDeviceTest , IRemoteTest
| java.lang.অবজেক্ট | ||
| ↳ | junit.framework.TestSuite | |
| ↳ | com.android.tradefed.testtype.DeviceTestSuite | |
 হেল্পার JUnit টেস্ট স্যুট যা IRemoteTest এবং IDeviceTest পরিষেবা প্রদান করে।
সারাংশ
| পাবলিক কনস্ট্রাক্টর | |
|---|---|
| DeviceTestSuite () | |
| DeviceTestSuite (Class<?> testClass) | |
| পাবলিক পদ্ধতি | |
|---|---|
| void | addTestSuite (Class<T> testClass)প্রদত্ত ক্লাস থেকে স্যুটে পরীক্ষা যোগ করে | 
| ITestDevice | getDevice ()পরীক্ষার অধীনে ডিভাইস পান. | 
| void | run ( TestInformation testInfo, ITestInvocationListener listener)পরীক্ষা চালায়, এবং শ্রোতাদের ফলাফল রিপোর্ট করে। | 
| void | runTest (Test test, TestResult result)অন্তর্ভুক্ত পরীক্ষায় ডিভাইসে পাস করার জন্য অভিভাবক পদ্ধতি ওভাররাইড করে | 
| void | setDevice ( ITestDevice device)পরীক্ষার অধীনে ডিভাইসটি ইনজেকশন করুন। | 
পাবলিক কনস্ট্রাক্টর
DeviceTestSuite
public DeviceTestSuite ()
DeviceTestSuite
public DeviceTestSuite (Class<?> testClass)
| পরামিতি | |
|---|---|
| testClass | Class | 
পাবলিক পদ্ধতি
addTestSuite
public void addTestSuite (Class<T> testClass)
প্রদত্ত ক্লাস থেকে স্যুটে পরীক্ষা যোগ করে
| পরামিতি | |
|---|---|
| testClass | Class | 
ডিভাইস পান
public ITestDevice getDevice ()
পরীক্ষার অধীনে ডিভাইস পান.
| রিটার্নস | |
|---|---|
| ITestDevice | ITestDevice | 
চালানো
public void run (TestInformation testInfo, ITestInvocationListener listener)
পরীক্ষা চালায়, এবং শ্রোতাদের ফলাফল রিপোর্ট করে।
| পরামিতি | |
|---|---|
| testInfo | TestInformation:TestInformationঅবজেক্টে পরীক্ষা চালানোর জন্য দরকারী তথ্য রয়েছে। | 
| listener | ITestInvocationListener: পরীক্ষার ফলাফলেরITestInvocationListener | 
| নিক্ষেপ করে | |
|---|---|
| DeviceNotAvailableException | |
রান টেস্ট
public void runTest (Test test, 
                TestResult result)অন্তর্ভুক্ত পরীক্ষায় ডিভাইসে পাস করার জন্য অভিভাবক পদ্ধতি ওভাররাইড করে
| পরামিতি | |
|---|---|
| test | Test | 
| result | TestResult | 
সেটডিভাইস
public void setDevice (ITestDevice device)
পরীক্ষার অধীনে ডিভাইসটি ইনজেকশন করুন।
| পরামিতি | |
|---|---|
| device | ITestDevice: ব্যবহার করার জন্যITestDevice | 
