Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 1 | // Signature format: 3.0 |
| 2 | package androidx.ui.test { |
| 3 | |
| 4 | public final class ActionsKt { |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 5 | method public static androidx.ui.test.SemanticsNodeInteraction doClick(androidx.ui.test.SemanticsNodeInteraction); |
| 6 | method public static boolean waitForIdleCompose(); |
| 7 | } |
| 8 | |
| 9 | public final class AssertionsKt { |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 10 | method public static java.util.List<androidx.ui.test.SemanticsNodeInteraction> assertCountEquals(java.util.List<androidx.ui.test.SemanticsNodeInteraction>, int count); |
| 11 | method public static void assertDoesNotExist(kotlin.jvm.functions.Function1<? super androidx.ui.core.semantics.SemanticsConfiguration,java.lang.Boolean> selector); |
| 12 | method public static androidx.ui.test.SemanticsNodeInteraction assertHasClickAction(androidx.ui.test.SemanticsNodeInteraction); |
| 13 | method public static androidx.ui.test.SemanticsNodeInteraction assertHasNoClickAction(androidx.ui.test.SemanticsNodeInteraction); |
Aurimas Liutikas | a1fc67c | 2019-11-20 09:56:24 -0800 | [diff] [blame] | 14 | method public static androidx.ui.test.SemanticsNodeInteraction assertIsChecked(androidx.ui.test.SemanticsNodeInteraction); |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 15 | method public static androidx.ui.test.SemanticsNodeInteraction assertIsHidden(androidx.ui.test.SemanticsNodeInteraction); |
| 16 | method public static androidx.ui.test.SemanticsNodeInteraction assertIsInMutuallyExclusiveGroup(androidx.ui.test.SemanticsNodeInteraction); |
| 17 | method public static androidx.ui.test.SemanticsNodeInteraction assertIsSelected(androidx.ui.test.SemanticsNodeInteraction); |
Aurimas Liutikas | a1fc67c | 2019-11-20 09:56:24 -0800 | [diff] [blame] | 18 | method public static androidx.ui.test.SemanticsNodeInteraction assertIsUnchecked(androidx.ui.test.SemanticsNodeInteraction); |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 19 | method public static androidx.ui.test.SemanticsNodeInteraction assertIsUnselected(androidx.ui.test.SemanticsNodeInteraction); |
| 20 | method public static androidx.ui.test.SemanticsNodeInteraction assertIsVisible(androidx.ui.test.SemanticsNodeInteraction); |
| 21 | method public static void assertNoLongerExists(androidx.ui.test.SemanticsNodeInteraction); |
| 22 | method public static androidx.ui.test.SemanticsNodeInteraction assertSemanticsIsEqualTo(androidx.ui.test.SemanticsNodeInteraction, androidx.ui.core.semantics.SemanticsConfiguration expectedProperties); |
| 23 | method public static androidx.ui.test.SemanticsNodeInteraction assertValueEquals(androidx.ui.test.SemanticsNodeInteraction, String value); |
| 24 | method public static void verify(androidx.ui.test.SemanticsNodeInteraction, kotlin.jvm.functions.Function1<? super androidx.ui.core.semantics.SemanticsConfiguration,java.lang.String> assertionMessage, kotlin.jvm.functions.Function1<? super androidx.ui.core.semantics.SemanticsConfiguration,java.lang.Boolean> condition); |
| 25 | } |
| 26 | |
| 27 | public final class CollectedSizes { |
| 28 | ctor public CollectedSizes(androidx.ui.core.PxSize size, androidx.ui.core.Density density); |
| 29 | method public androidx.ui.test.CollectedSizes assertHeightEqualsTo(androidx.ui.core.Dp expectedHeight); |
| 30 | method public androidx.ui.test.CollectedSizes assertHeightEqualsTo(kotlin.jvm.functions.Function1<? super androidx.ui.core.DensityScope,androidx.ui.core.IntPx> expectedHeightPx); |
| 31 | method public androidx.ui.test.CollectedSizes assertIsSquareWithSize(androidx.ui.core.Dp expectedSize); |
| 32 | method public androidx.ui.test.CollectedSizes assertIsSquareWithSize(kotlin.jvm.functions.Function1<? super androidx.ui.core.DensityScope,androidx.ui.core.IntPx> expectedSquarePx); |
| 33 | method public androidx.ui.test.CollectedSizes assertWidthEqualsTo(androidx.ui.core.Dp expectedWidth); |
| 34 | method public androidx.ui.test.CollectedSizes assertWidthEqualsTo(kotlin.jvm.functions.Function1<? super androidx.ui.core.DensityScope,androidx.ui.core.IntPx> expectedWidthPx); |
| 35 | } |
| 36 | |
| 37 | public interface ComposeTestRule extends org.junit.rules.TestRule { |
| 38 | method public androidx.ui.core.Density getDensity(); |
| 39 | method public android.util.DisplayMetrics getDisplayMetrics(); |
| 40 | method public void runOnUiThread(kotlin.jvm.functions.Function0<kotlin.Unit> action); |
| 41 | method public void setContent(kotlin.jvm.functions.Function0<kotlin.Unit> composable); |
| 42 | property public abstract androidx.ui.core.Density density; |
| 43 | property public abstract android.util.DisplayMetrics displayMetrics; |
| 44 | } |
| 45 | |
| 46 | public final class ComposeTestRuleKt { |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 47 | method public static androidx.ui.test.ComposeTestRule createComposeRule(boolean disableTransitions = false); |
| 48 | } |
| 49 | |
| 50 | public final class DisableTransitions implements org.junit.rules.TestRule { |
| 51 | ctor public DisableTransitions(); |
| 52 | method public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description? description); |
| 53 | } |
| 54 | |
| 55 | public final class DisableTransitions.DisableTransitionsStatement extends org.junit.runners.model.Statement { |
| 56 | ctor public DisableTransitions.DisableTransitionsStatement(org.junit.runners.model.Statement base); |
| 57 | method public void evaluate(); |
| 58 | } |
| 59 | |
| 60 | public final class FiltersKt { |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 61 | method public static boolean getHasClickAction(androidx.ui.core.semantics.SemanticsConfiguration); |
| 62 | method public static boolean isInMutuallyExclusiveGroup(androidx.ui.core.semantics.SemanticsConfiguration); |
| 63 | method public static boolean isToggleable(androidx.ui.core.semantics.SemanticsConfiguration); |
| 64 | } |
| 65 | |
| 66 | public final class FindersKt { |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 67 | method public static androidx.ui.test.SemanticsNodeInteraction find(kotlin.jvm.functions.Function1<? super androidx.ui.core.semantics.SemanticsConfiguration,java.lang.Boolean> selector); |
| 68 | method public static java.util.List<androidx.ui.test.SemanticsNodeInteraction> findAll(kotlin.jvm.functions.Function1<? super androidx.ui.core.semantics.SemanticsConfiguration,java.lang.Boolean> selector); |
| 69 | method public static java.util.List<androidx.ui.test.SemanticsNodeInteraction> findAllByTag(String testTag); |
| 70 | method public static androidx.ui.test.SemanticsNodeInteraction findByTag(String testTag); |
| 71 | method public static androidx.ui.test.SemanticsNodeInteraction findByText(String text, boolean ignoreCase = false); |
| 72 | } |
| 73 | |
| 74 | public final class GoldenSemanticsKt { |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 75 | method public static void assertEquals(androidx.ui.core.semantics.SemanticsConfiguration, androidx.ui.core.semantics.SemanticsConfiguration expected); |
| 76 | method public static androidx.ui.core.semantics.SemanticsConfiguration copyWith(androidx.ui.core.semantics.SemanticsConfiguration, kotlin.jvm.functions.Function1<? super androidx.ui.core.semantics.SemanticsConfiguration,kotlin.Unit> diff); |
| 77 | method public static androidx.ui.core.semantics.SemanticsConfiguration createFullSemantics(Boolean? isEnabled = null, String? value = null, androidx.ui.foundation.selection.ToggleableState? toggleableState = null, Boolean? inMutuallyExclusiveGroup = null, Boolean? isSelected = null); |
| 78 | } |
| 79 | |
| 80 | public final class OutputKt { |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 81 | method public static void dumpSemantics(androidx.ui.test.SemanticsNodeInteraction, kotlin.jvm.functions.Function1<? super java.lang.String,kotlin.Unit> consumer); |
| 82 | } |
| 83 | |
| 84 | public final class SemanticsNodeInteraction { |
| 85 | } |
| 86 | |
| 87 | public final class SemanticsTreeInteractionKt { |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 88 | } |
| 89 | |
| 90 | public final class SizesTestingKt { |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 91 | method public static androidx.ui.layout.DpConstraints getBigTestConstraints(); |
| 92 | method public static androidx.ui.test.CollectedSizes setContentAndCollectSizes(androidx.ui.test.ComposeTestRule, androidx.ui.layout.DpConstraints parentConstraints = BigTestConstraints, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 93 | method public static androidx.ui.core.PxSize setContentAndGetPixelSize(androidx.ui.test.ComposeTestRule, androidx.ui.layout.DpConstraints parentConstraints = BigTestConstraints, kotlin.jvm.functions.Function1<? super kotlin.jvm.functions.Function0<kotlin.Unit>,kotlin.Unit> performSetContent = { setContent(it) }, kotlin.jvm.functions.Function0<kotlin.Unit> children); |
| 94 | } |
| 95 | |
| 96 | } |
| 97 | |
| 98 | package androidx.ui.test.android { |
| 99 | |
| 100 | public final class AndroidComposeTestRule implements androidx.ui.test.ComposeTestRule { |
| 101 | ctor public AndroidComposeTestRule(boolean disableTransitions, boolean shouldThrowOnRecomposeTimeout); |
| 102 | ctor public AndroidComposeTestRule(); |
| 103 | method public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description? description); |
| 104 | method public androidx.test.rule.ActivityTestRule<androidx.ui.test.android.DefaultTestActivity> getActivityTestRule(); |
| 105 | method public androidx.ui.core.Density getDensity(); |
| 106 | method public android.util.DisplayMetrics getDisplayMetrics(); |
| 107 | method public void runOnUiThread(kotlin.jvm.functions.Function0<kotlin.Unit> action); |
| 108 | method public void setContent(kotlin.jvm.functions.Function0<kotlin.Unit> composable); |
| 109 | property public final androidx.test.rule.ActivityTestRule<androidx.ui.test.android.DefaultTestActivity> activityTestRule; |
| 110 | property public androidx.ui.core.Density density; |
| 111 | property public android.util.DisplayMetrics displayMetrics; |
| 112 | } |
| 113 | |
| 114 | public final class AndroidComposeTestRule.AndroidComposeStatement extends org.junit.runners.model.Statement { |
| 115 | ctor public AndroidComposeTestRule.AndroidComposeStatement(org.junit.runners.model.Statement base); |
| 116 | method public void evaluate(); |
| 117 | } |
| 118 | |
| 119 | public final class DefaultTestActivity extends android.app.Activity { |
| 120 | ctor public DefaultTestActivity(); |
| 121 | method public java.util.concurrent.CountDownLatch getHasFocusLatch(); |
| 122 | method public void setHasFocusLatch(java.util.concurrent.CountDownLatch p); |
| 123 | property public final java.util.concurrent.CountDownLatch hasFocusLatch; |
| 124 | } |
| 125 | |
| 126 | } |
| 127 | |
| 128 | package androidx.ui.test.android.fake { |
| 129 | |
| 130 | public final class FakeViewStructureKt { |
Nick Anthony | ec79ac6 | 2019-10-09 15:04:05 -0400 | [diff] [blame] | 131 | } |
| 132 | |
| 133 | } |
| 134 | |