blob: 02c8948d26fd014ed6caaf0d85385358b7fb5202 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package com.xtremelabs.robolectric.tester.android.text;
import android.text.ClipboardManager;
@SuppressWarnings("deprecation")
public class TestClipboardManager extends ClipboardManager {
private CharSequence text;
public void setText(CharSequence text) {
this.text = text;
}
public CharSequence getText() {
return text;
}
public boolean hasText() {
return text != null && text.length() > 0;
}
}
|