FakeTest
  public
  
  
  
  class
  FakeTest
  
    extends Object
  
  
  
  
  
      implements
      
        IDeviceTest, 
      
        IRemoteTest
      
  
  
| java.lang.Object | |
| ↳ | com.android.tradefed.testtype.FakeTest | 
Test symulowany, którego celem jest ułatwienie generowania powtarzalnych wyników testów.
Podsumowanie
| Konstruktory publiczne | |
|---|---|
| 
      FakeTest()
       | |
| Metody publiczne | |
|---|---|
| 
        
        
        
        
        
        ITestDevice | 
      getDevice()
      Przygotuj urządzenie do testowania. | 
| 
        
        
        
        
        
        void | 
      run(TestInformation testInfo, ITestInvocationListener listener)
      Przeprowadza testy i przekazuje wyniki do odbiorcy. | 
| 
        
        
        
        
        
        void | 
      setDevice(ITestDevice device)
      Wstrzyknij urządzenie testowe. | 
Konstruktory publiczne
FakeTest
public FakeTest ()
Metody publiczne
getDevice
public ITestDevice getDevice ()
Przygotuj urządzenie do testowania.
| Zwroty | |
|---|---|
| ITestDevice | ITestDevice | 
home run
public void run (TestInformation testInfo, ITestInvocationListener listener)
Przeprowadza testy i przekazuje wyniki do odbiorcy.
| Parametry | |
|---|---|
| testInfo | TestInformation: obiektTestInformationzawierający przydatne informacje do przeprowadzania testów. | 
| listener | ITestInvocationListener:ITestInvocationListenerwyników testu | 
| Rzuty | |
|---|---|
| DeviceNotAvailableException | |
setDevice
public void setDevice (ITestDevice device)
Wstrzyknij urządzenie testowe.
| Parametry | |
|---|---|
| device | ITestDevice:ITestDevicedo użycia | 
