Build 1.0_r1(from source)

android.test.mock
Class MockDialogInterface

java.lang.Object
  extended by android.test.mock.MockDialogInterface
All Implemented Interfaces:
DialogInterface

public class MockDialogInterface
extends Object
implements DialogInterface

A mock DialogInterface class. All methods are non-functional and throw UnsupportedOperationException. Override it to provide the operations that you need.


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.content.DialogInterface
DialogInterface.OnCancelListener, DialogInterface.OnClickListener, DialogInterface.OnDismissListener, DialogInterface.OnKeyListener, DialogInterface.OnMultiChoiceClickListener
 
Field Summary
 
Fields inherited from interface android.content.DialogInterface
BUTTON1, BUTTON2, BUTTON3
 
Constructor Summary
MockDialogInterface()
           
 
Method Summary
 void cancel()
           
 void dismiss()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockDialogInterface

public MockDialogInterface()
Method Detail

cancel

public void cancel()
Specified by:
cancel in interface DialogInterface

dismiss

public void dismiss()
Specified by:
dismiss in interface DialogInterface

Build 1.0_r1(from source)

Please submit a feedback, bug or feature