Home
last modified time | relevance | path

Searched refs:TEST_LABEL (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DKeyboardShortcutInfoTest.java39 private static final CharSequence TEST_LABEL = "Test Label"; field in KeyboardShortcutInfoTest
47 TEST_LABEL, TEST_BASE_CHARACTER, TEST_MODIFIERS); in testCharacterConstructor()
49 assertEquals(TEST_LABEL, info.getLabel()); in testCharacterConstructor()
59 TEST_LABEL, TEST_KEYCODE, TEST_MODIFIERS); in testKeycodeConstructor()
61 assertEquals(TEST_LABEL, info.getLabel()); in testKeycodeConstructor()
70 new KeyboardShortcutInfo(TEST_LABEL, Character.MIN_VALUE, TEST_MODIFIERS); in testConstructorChecksBaseCharacter()
75 new KeyboardShortcutInfo(TEST_LABEL, KeyEvent.KEYCODE_UNKNOWN - 1, TEST_MODIFIERS); in testConstructorChecksKeycode()
82 TEST_LABEL, TEST_BASE_CHARACTER, TEST_MODIFIERS); in testWriteToParcelAndReadCharacter()
88 assertEquals(TEST_LABEL, result.getLabel()); in testWriteToParcelAndReadCharacter()
98 TEST_LABEL, TEST_KEYCODE, TEST_MODIFIERS); in testWriteToParcelAndReadKeycode()
[all …]
DKeyboardShortcutGroupTest.java45 private static final CharSequence TEST_LABEL = "Test Group Label"; field in KeyboardShortcutGroupTest
57 KeyboardShortcutGroup group = new KeyboardShortcutGroup(TEST_LABEL, TEST_ITEMS); in testConstructor()
59 assertEquals(TEST_LABEL, group.getLabel()); in testConstructor()
67 KeyboardShortcutGroup group = new KeyboardShortcutGroup(TEST_LABEL); in testShortConstructor()
69 assertEquals(TEST_LABEL, group.getLabel()); in testShortConstructor()
77 KeyboardShortcutGroup group = new KeyboardShortcutGroup(TEST_LABEL, TEST_ITEMS, true); in testSystemConstructor()
79 assertEquals(TEST_LABEL, group.getLabel()); in testSystemConstructor()
87 KeyboardShortcutGroup group = new KeyboardShortcutGroup(TEST_LABEL, true); in testSystemShortConstructor()
89 assertEquals(TEST_LABEL, group.getLabel()); in testSystemShortConstructor()
97 new KeyboardShortcutGroup(TEST_LABEL, null); in testConstructorChecksList()
[all …]
/cts/tests/app/src/android/app/cts/
DTaskDescriptionTest.java51 private static final String TEST_LABEL = "test-label"; field in TaskDescriptionTest
69 activity.setTaskDescription(new TaskDescription(TEST_LABEL, bitmap, TEST_COLOR)); in testBitmapConstructor()
70 assertTaskDescription(activity, TEST_LABEL, TEST_NO_DATA, bitmap); in testBitmapConstructor()
72 activity.setTaskDescription(new TaskDescription(TEST_LABEL, bitmap)); in testBitmapConstructor()
73 assertTaskDescription(activity, TEST_LABEL, TEST_NO_DATA, bitmap); in testBitmapConstructor()
79 activity.setTaskDescription(new TaskDescription(TEST_LABEL, TEST_RES_DATA, TEST_COLOR)); in testResourceConstructor()
80 assertTaskDescription(activity, TEST_LABEL, TEST_RES_DATA, null); in testResourceConstructor()
82 activity.setTaskDescription(new TaskDescription(TEST_LABEL, TEST_RES_DATA)); in testResourceConstructor()
83 assertTaskDescription(activity, TEST_LABEL, TEST_RES_DATA, null); in testResourceConstructor()
89 activity.setTaskDescription(new TaskDescription(TEST_LABEL)); in testLabelConstructor()
[all …]
/cts/tests/tests/gamemanager/src/android/gamemanager/cts/
DGameManagerTest.java100 private static final int TEST_LABEL = 1; field in GameManagerTest
368 new GameState(true, GameState.MODE_NONE, TEST_LABEL, TEST_QUALITY))); in testSetGameStatePerformanceMode_withParams()