This directory contains ACTS/sl4a test scripts to verify and characterize the Wi-Fi Aware implementation in Android.
There are 4 groups of tests (in 4 sub-directories):
The tests can be executed in several ways:
act.py -c <config> -tc {<test_class>|<test_class>:<test_name>}
Where a test file is any of the .py
files in any of the test sub-directories. If a test class is specified, then all tests within that test class are executed.
act.py -c <config> -tf <test_file>
Where <test_file>
is a file containing a list of tests. Each of the test group sub-directories contains a file with the same name as that of the directory which lists all tests in the directory. E.g. to execute all functional tests execute:
act.py -c <config> -tf ./tools/test/connectivity/acts_tests/tests/google/wifi/aware/functional/functional
The test configurations, the <config>
in the commands above, are stored in the config sub-directory. The configurations simply use all connected devices without listing specific serial numbers. Note that some tests use a single device while others use 2 devices. In addition, the configurations define the following key to configure the test:
INTERACTIVE
and NON_INTERACTIVE
.The following configurations are provided: