blob: e4dd0ba2a2d3eb351db34564895cb618d1d057c1 [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001// Copyright 2008 The Android Open Source Project
2
3package android.test.mock;
4
5import android.content.DialogInterface;
6
7/**
8 * A mock {@link android.content.DialogInterface} class. All methods are non-functional and throw
9 * {@link java.lang.UnsupportedOperationException}. Override it to provide the operations that you
10 * need.
11 */
12public class MockDialogInterface implements DialogInterface {
13 public void cancel() {
14 throw new UnsupportedOperationException("not implemented yet");
15 }
16
17 public void dismiss() {
18 throw new UnsupportedOperationException("not implemented yet");
19 }
20}