History log of /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/WifiAssociationTestRunner.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
485ceb8506f8566f8cf2f48b40b5ed41233e9941 11-Sep-2014 Eric Rowe <erowe@google.com> Fix wifi association tests

Before fix, test assumed that it was already connected to wifi so remove
these assertions. Also, since association test may be used against
access points with no outside connectivity, remove the ping test to
8.8.8.8 at the end.

Change-Id: I3d4f3d752b72028f642da9f8e9adda4ad18a6a56
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/WifiAssociationTestRunner.java
d21f1c1e4d34306ab7aa99f5be1b886f6b4e07a8 19-Aug-2014 Guang Zhu <guangzhu@google.com> fixes for connectivity manager test suite

* reduced visibility of most util functions in
ConnectivityManagerTestBase
* reimplemented various waitFor... util function in base class:
instead of relying on received broadcast and synchronization
mechanism, we just poll for what we want with a fixed interval
and a max timeout
* minor style fixes
* removed state transition checks in all test cases of
ConnectivityManagerMobileTest: since exact state transitions
are not that interesting, we just care about if we reach a
particular state and if all network interfaces are in their
corresponding states
* clarified in comment what each test cases are testing, since
some of the test case names are not very straightforward
* any wait for DISCONNECTED checkes with ConnectivityManager are
temporarily commented out

Change-Id: I99cca95c33c6060909e0df684969b75c2dca23a9
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/WifiAssociationTestRunner.java
1c6911ac1d6c4cfecaaa1c1d6814707d77aed4be 21-May-2013 Xia Wang <xiaw@google.com> Add option to set frequency band

- The reason to add the test runner is to set frequency band when the runner
is created which happens before the test activity is actually launch.
As the test activity will disable/enable wifi when it
is created, this cycle will ensure the frequency is set successfully.

Change-Id: Ie9de3d8bab3dda7d4bb9ba604ddd5cb33164e397
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/WifiAssociationTestRunner.java