/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/ |
D | SwipeTest.java | 75 private final TestConfig mTestConfig; 79 public SwipeTest(TestConfig testConfig) { in SwipeTest() 132 public static List<TestConfig> getParams() { in getParams() 133 List<TestConfig> tests = new ArrayList<>(); in getParams() 140 tests.add(new TestConfig("full pass", asList(1, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1, 0), in getParams() 143 tests.add(new TestConfig("basic vertical", asList(0, 1, 2, 3, 3, 2, 1, 0, 0), in getParams() 145 tests.add(new TestConfig("swipe beyond edge pages", in getParams() 149 tests.add(new TestConfig("config change", asList(1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1, 0), in getParams() 153 new TestConfig("regression1", asList(1, 2, 3, 2, 1, 2, 3, 4), NO_CONFIG_CHANGES, in getParams() 156 tests.add(new TestConfig("regression2", asList(1, 2, 3, 4, 3, 2, 1, 2, 3, 4, 5), in getParams() [all …]
|
/frameworks/support/heifwriter/src/androidTest/java/androidx/heifwriter/ |
D | HeifWriterTest.java | 129 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_BUFFER, false, false); in testInputBuffer_NoGrid_NoHandler() 136 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_BUFFER, true, false); in testInputBuffer_Grid_NoHandler() 143 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_BUFFER, false, true); in testInputBuffer_NoGrid_Handler() 150 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_BUFFER, true, true); in testInputBuffer_Grid_Handler() 157 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_SURFACE, false, false); in testInputSurface_NoGrid_NoHandler() 164 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_SURFACE, true, false); in testInputSurface_Grid_NoHandler() 171 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_SURFACE, false, true); in testInputSurface_NoGrid_Handler() 178 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_SURFACE, true, true); in testInputSurface_Grid_Handler() 185 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_BITMAP, false, false); in testInputBitmap_NoGrid_NoHandler() 196 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_BITMAP, true, false); in testInputBitmap_Grid_NoHandler() [all …]
|
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/ |
D | TestConfigBuilder.java | 30 return new TestConfig().setReplaceAll(true); in config() 33 public static class TestConfig extends EmojiCompat.Config { class in TestConfigBuilder 34 TestConfig() { in TestConfig() method in TestConfigBuilder.TestConfig 38 TestConfig(final EmojiCompat.MetadataRepoLoader metadataLoader) { in TestConfig() method in TestConfigBuilder.TestConfig
|
D | InitCallbackTest.java | 64 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(loader); in testRegisterInitCallback_callsFailCallback() 86 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(loader); in testRegisterInitCallback_callsFailCallback_whenOnFailCalledByLoader() 105 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(loader); in testRegisterInitCallback_callsFailCallback_whenMetadataRepoIsNull() 130 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(metadataLoader) in testUnregisterInitCallback_doesNotInteractWithCallback()
|
D | EmojiCompatTest.java | 647 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(metadataLoader); in testGetLoadState_returnsSuccessIfLoadSuccess() 664 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(metadataLoader); in testGetLoadState_returnsFailIfLoadFail() 683 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(metadataLoader); in testUpdateEditorInfoAttrs_doesNotSetKeyIfNotInitialized() 698 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(loader); in testLoad_throwsException_whenLoadStrategyDefault() 709 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(loader) in testLoad_pre19() 726 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(loader) in testLoad_startsLoading() 744 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(loader) in testLoad_onceSuccessDoesNotStartLoading() 764 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(loader) in testLoad_onceLoadingDoesNotStartLoading() 806 EmojiCompat.Config config = new TestConfigBuilder.TestConfig().setReplaceAll(false); in testUpdateEditorInfoAttrs_setsKeysIfInitialized() 816 config = new TestConfigBuilder.TestConfig().setReplaceAll(true); in testUpdateEditorInfoAttrs_setsKeysIfInitialized() [all …]
|
D | ConfigTest.java | 59 new TestConfigBuilder.TestConfig(null); in testConstructor_throwsExceptionIfMetadataLoaderNull() 108 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(loader) in testInitCallback_callsFailCallback()
|
D | UninitializedStateTest.java | 37 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(mWaitingDataLoader); in setup()
|
/frameworks/opt/car/setupwizard/library/tests/robotests/src/com/android/car/setupwizardlib/robolectric/ |
D | BaseRobolectricTest.java | 28 @Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
D | TestConfig.java | 19 public class TestConfig { class
|