Home
last modified time | relevance | path

Searched refs:TestConfig (Results 1 – 9 of 9) sorted by relevance

/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/
DSwipeTest.java75 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/
DHeifWriterTest.java129 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/
DTestConfigBuilder.java30 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
DInitCallbackTest.java64 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()
DEmojiCompatTest.java647 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 …]
DConfigTest.java59 new TestConfigBuilder.TestConfig(null); in testConstructor_throwsExceptionIfMetadataLoaderNull()
108 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(loader) in testInitCallback_callsFailCallback()
DUninitializedStateTest.java37 final EmojiCompat.Config config = new TestConfigBuilder.TestConfig(mWaitingDataLoader); in setup()
/frameworks/opt/car/setupwizard/library/tests/robotests/src/com/android/car/setupwizardlib/robolectric/
DBaseRobolectricTest.java28 @Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
DTestConfig.java19 public class TestConfig { class