Loading cmds/uiautomator/api/current.txt +10 −10 Original line number Diff line number Diff line package com.android.uiautomator.core { public final class Configurator { public final deprecated class Configurator { method public long getActionAcknowledgmentTimeout(); method public static com.android.uiautomator.core.Configurator getInstance(); method public long getKeyInjectionDelay(); Loading @@ -14,7 +14,7 @@ package com.android.uiautomator.core { method public com.android.uiautomator.core.Configurator setWaitForSelectorTimeout(long); } public class UiCollection extends com.android.uiautomator.core.UiObject { public deprecated class UiCollection extends com.android.uiautomator.core.UiObject { ctor public UiCollection(com.android.uiautomator.core.UiSelector); method public com.android.uiautomator.core.UiObject getChildByDescription(com.android.uiautomator.core.UiSelector, java.lang.String) throws com.android.uiautomator.core.UiObjectNotFoundException; method public com.android.uiautomator.core.UiObject getChildByInstance(com.android.uiautomator.core.UiSelector, int) throws com.android.uiautomator.core.UiObjectNotFoundException; Loading @@ -22,7 +22,7 @@ package com.android.uiautomator.core { method public int getChildCount(com.android.uiautomator.core.UiSelector); } public class UiDevice { public deprecated class UiDevice { method public void clearLastTraversedText(); method public boolean click(int, int); method public boolean drag(int, int, int, int, int); Loading Loading @@ -77,7 +77,7 @@ package com.android.uiautomator.core { method public void wakeUp() throws android.os.RemoteException; } public class UiObject { public deprecated class UiObject { ctor public UiObject(com.android.uiautomator.core.UiSelector); method public void clearTextField() throws com.android.uiautomator.core.UiObjectNotFoundException; method public boolean click() throws com.android.uiautomator.core.UiObjectNotFoundException; Loading Loading @@ -130,13 +130,13 @@ package com.android.uiautomator.core { field protected static final long WAIT_FOR_WINDOW_TMEOUT = 5500L; // 0x157cL } public class UiObjectNotFoundException extends java.lang.Exception { public deprecated class UiObjectNotFoundException extends java.lang.Exception { ctor public UiObjectNotFoundException(java.lang.String); ctor public UiObjectNotFoundException(java.lang.String, java.lang.Throwable); ctor public UiObjectNotFoundException(java.lang.Throwable); } public class UiScrollable extends com.android.uiautomator.core.UiCollection { public deprecated class UiScrollable extends com.android.uiautomator.core.UiCollection { ctor public UiScrollable(com.android.uiautomator.core.UiSelector); method protected boolean exists(com.android.uiautomator.core.UiSelector); method public boolean flingBackward() throws com.android.uiautomator.core.UiObjectNotFoundException; Loading Loading @@ -165,7 +165,7 @@ package com.android.uiautomator.core { method public com.android.uiautomator.core.UiScrollable setSwipeDeadZonePercentage(double); } public class UiSelector { public deprecated class UiSelector { ctor public UiSelector(); method public com.android.uiautomator.core.UiSelector checkable(boolean); method public com.android.uiautomator.core.UiSelector checked(boolean); Loading Loading @@ -198,7 +198,7 @@ package com.android.uiautomator.core { method public com.android.uiautomator.core.UiSelector textStartsWith(java.lang.String); } public abstract interface UiWatcher { public abstract deprecated interface UiWatcher { method public abstract boolean checkForCondition(); } Loading @@ -206,11 +206,11 @@ package com.android.uiautomator.core { package com.android.uiautomator.testrunner { public abstract interface IAutomationSupport { public abstract deprecated interface IAutomationSupport { method public abstract void sendStatus(int, android.os.Bundle); } public class UiAutomatorTestCase extends junit.framework.TestCase { public deprecated class UiAutomatorTestCase extends junit.framework.TestCase { ctor public UiAutomatorTestCase(); method public com.android.uiautomator.testrunner.IAutomationSupport getAutomationSupport(); method public android.os.Bundle getParams(); Loading cmds/uiautomator/cmds/uiautomator/uiautomator +5 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,11 @@ jars= # special case pre-processing for 'runtest' command if [ "${cmd}" == "runtest" ]; then # Print deprecation warning echo "Warning: This version of UI Automator is deprecated. New tests should be written using" echo "UI Automator 2.0 which is available as part of the Android Testing Support Library." echo "See https://developer.android.com/training/testing/ui-testing/uiautomator-testing.html" echo "for more details." # first parse the jar paths while [ true ]; do if [ -z "${1}" ] && [ -z "${jars}" ]; then Loading cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/IAutomationSupport.java +3 −0 Original line number Diff line number Diff line Loading @@ -22,7 +22,10 @@ import android.os.Bundle; * Provides auxiliary support for running test cases * * @since API Level 16 * @deprecated New tests should be written using UI Automator 2.0 which is available as part of the * Android Testing Support Library. */ @Deprecated public interface IAutomationSupport { /** Loading cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/UiAutomatorInstrumentationTestRunner.java +3 −0 Original line number Diff line number Diff line Loading @@ -28,7 +28,10 @@ import junit.framework.TestListener; /** * Test runner for {@link UiAutomatorTestCase}s. Such tests are executed * on the device and have access to an applications context. * @deprecated New tests should be written using UI Automator 2.0 which is available as part of the * Android Testing Support Library. */ @Deprecated public class UiAutomatorInstrumentationTestRunner extends InstrumentationTestRunner { @Override Loading cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/UiAutomatorTestCase.java +3 −0 Original line number Diff line number Diff line Loading @@ -26,7 +26,10 @@ import com.android.uiautomator.core.UiDevice; /** * UI Automator test case that is executed on the device. * @deprecated New tests should be written using UI Automator 2.0 which is available as part of the * Android Testing Support Library. */ @Deprecated public class UiAutomatorTestCase extends InstrumentationTestCase { private Bundle mParams; Loading Loading
cmds/uiautomator/api/current.txt +10 −10 Original line number Diff line number Diff line package com.android.uiautomator.core { public final class Configurator { public final deprecated class Configurator { method public long getActionAcknowledgmentTimeout(); method public static com.android.uiautomator.core.Configurator getInstance(); method public long getKeyInjectionDelay(); Loading @@ -14,7 +14,7 @@ package com.android.uiautomator.core { method public com.android.uiautomator.core.Configurator setWaitForSelectorTimeout(long); } public class UiCollection extends com.android.uiautomator.core.UiObject { public deprecated class UiCollection extends com.android.uiautomator.core.UiObject { ctor public UiCollection(com.android.uiautomator.core.UiSelector); method public com.android.uiautomator.core.UiObject getChildByDescription(com.android.uiautomator.core.UiSelector, java.lang.String) throws com.android.uiautomator.core.UiObjectNotFoundException; method public com.android.uiautomator.core.UiObject getChildByInstance(com.android.uiautomator.core.UiSelector, int) throws com.android.uiautomator.core.UiObjectNotFoundException; Loading @@ -22,7 +22,7 @@ package com.android.uiautomator.core { method public int getChildCount(com.android.uiautomator.core.UiSelector); } public class UiDevice { public deprecated class UiDevice { method public void clearLastTraversedText(); method public boolean click(int, int); method public boolean drag(int, int, int, int, int); Loading Loading @@ -77,7 +77,7 @@ package com.android.uiautomator.core { method public void wakeUp() throws android.os.RemoteException; } public class UiObject { public deprecated class UiObject { ctor public UiObject(com.android.uiautomator.core.UiSelector); method public void clearTextField() throws com.android.uiautomator.core.UiObjectNotFoundException; method public boolean click() throws com.android.uiautomator.core.UiObjectNotFoundException; Loading Loading @@ -130,13 +130,13 @@ package com.android.uiautomator.core { field protected static final long WAIT_FOR_WINDOW_TMEOUT = 5500L; // 0x157cL } public class UiObjectNotFoundException extends java.lang.Exception { public deprecated class UiObjectNotFoundException extends java.lang.Exception { ctor public UiObjectNotFoundException(java.lang.String); ctor public UiObjectNotFoundException(java.lang.String, java.lang.Throwable); ctor public UiObjectNotFoundException(java.lang.Throwable); } public class UiScrollable extends com.android.uiautomator.core.UiCollection { public deprecated class UiScrollable extends com.android.uiautomator.core.UiCollection { ctor public UiScrollable(com.android.uiautomator.core.UiSelector); method protected boolean exists(com.android.uiautomator.core.UiSelector); method public boolean flingBackward() throws com.android.uiautomator.core.UiObjectNotFoundException; Loading Loading @@ -165,7 +165,7 @@ package com.android.uiautomator.core { method public com.android.uiautomator.core.UiScrollable setSwipeDeadZonePercentage(double); } public class UiSelector { public deprecated class UiSelector { ctor public UiSelector(); method public com.android.uiautomator.core.UiSelector checkable(boolean); method public com.android.uiautomator.core.UiSelector checked(boolean); Loading Loading @@ -198,7 +198,7 @@ package com.android.uiautomator.core { method public com.android.uiautomator.core.UiSelector textStartsWith(java.lang.String); } public abstract interface UiWatcher { public abstract deprecated interface UiWatcher { method public abstract boolean checkForCondition(); } Loading @@ -206,11 +206,11 @@ package com.android.uiautomator.core { package com.android.uiautomator.testrunner { public abstract interface IAutomationSupport { public abstract deprecated interface IAutomationSupport { method public abstract void sendStatus(int, android.os.Bundle); } public class UiAutomatorTestCase extends junit.framework.TestCase { public deprecated class UiAutomatorTestCase extends junit.framework.TestCase { ctor public UiAutomatorTestCase(); method public com.android.uiautomator.testrunner.IAutomationSupport getAutomationSupport(); method public android.os.Bundle getParams(); Loading
cmds/uiautomator/cmds/uiautomator/uiautomator +5 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,11 @@ jars= # special case pre-processing for 'runtest' command if [ "${cmd}" == "runtest" ]; then # Print deprecation warning echo "Warning: This version of UI Automator is deprecated. New tests should be written using" echo "UI Automator 2.0 which is available as part of the Android Testing Support Library." echo "See https://developer.android.com/training/testing/ui-testing/uiautomator-testing.html" echo "for more details." # first parse the jar paths while [ true ]; do if [ -z "${1}" ] && [ -z "${jars}" ]; then Loading
cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/IAutomationSupport.java +3 −0 Original line number Diff line number Diff line Loading @@ -22,7 +22,10 @@ import android.os.Bundle; * Provides auxiliary support for running test cases * * @since API Level 16 * @deprecated New tests should be written using UI Automator 2.0 which is available as part of the * Android Testing Support Library. */ @Deprecated public interface IAutomationSupport { /** Loading
cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/UiAutomatorInstrumentationTestRunner.java +3 −0 Original line number Diff line number Diff line Loading @@ -28,7 +28,10 @@ import junit.framework.TestListener; /** * Test runner for {@link UiAutomatorTestCase}s. Such tests are executed * on the device and have access to an applications context. * @deprecated New tests should be written using UI Automator 2.0 which is available as part of the * Android Testing Support Library. */ @Deprecated public class UiAutomatorInstrumentationTestRunner extends InstrumentationTestRunner { @Override Loading
cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/UiAutomatorTestCase.java +3 −0 Original line number Diff line number Diff line Loading @@ -26,7 +26,10 @@ import com.android.uiautomator.core.UiDevice; /** * UI Automator test case that is executed on the device. * @deprecated New tests should be written using UI Automator 2.0 which is available as part of the * Android Testing Support Library. */ @Deprecated public class UiAutomatorTestCase extends InstrumentationTestCase { private Bundle mParams; Loading