Home | History | Annotate | only in /tools/test/connectivity/acts/tests/google/wifi/aware
Up to higher level directory
NameDateSize
config/21-Aug-2018
functional/21-Aug-2018
ota/21-Aug-2018
performance/21-Aug-2018
README.md21-Aug-20182.4K
stress/21-Aug-2018

README.md

      1 # Wi-Fi Aware Integrated (ACTS/sl4a) Test Suite
      2 
      3 This directory contains ACTS/sl4a test scripts to verify and characterize
      4 the Wi-Fi Aware implementation in Android.
      5 
      6 There are 4 groups of tests (in 4 sub-directories):
      7 
      8 * functional: Functional tests that each implementation must pass. These
      9 are pass/fail tests.
     10 * performance: Tests which measure performance of an implementation - e.g.
     11 latency or throughput. Some of the tests may not have pass/fail results -
     12 they just record the measured performance. Even when tests do have a pass/
     13 fail criteria - that criteria may not apply to all implementations.
     14 * stress: Tests which run through a large number of iterations to stress
     15 test the implementation. Considering that some failures are expected,
     16 especially in an over-the-air situation, pass/fail criteria are either
     17 not provided or may not apply to all implementations or test environments.
     18 * ota (over-the-air): A small number of tests which configure the device
     19 in a particular mode and expect the tester to capture an over-the-air
     20 sniffer trace and analyze it for validity. These tests are **not** automated.
     21 
     22 The tests can be executed in several ways:
     23 
     24 1. Individual test(s): `act.py -c <config> -tc {<test_class>|<test_class>:<test_name>}`
     25 
     26 Where a test file is any of the `.py` files in any of the test sub-directories.
     27 If a test class is specified, then all tests within that test class are executed.
     28 
     29 2. All tests in a test group: `act.py -c <config> -tf <test_file>`
     30 
     31 Where `<test_file>` is a file containing a list of tests. Each of the test
     32 group sub-directories contains a file with the same name as that of the
     33 directory which lists all tests in the directory. E.g. to execute all functional
     34 tests execute:
     35 
     36 `act.py -c <config> -tf ./tools/test/connectivity/acts/tests/google/wifi/aware/functional/functional`
     37 
     38 ## Test Configurations
     39 The test configurations, the `<config>` in the commands above, are stored in
     40 the *config* sub-directory. The configurations simply use all connected
     41 devices without listing specific serial numbers. Note that some tests use a
     42 single device while others use 2 devices. In addition, the configurations
     43 define the following key to configure the test:
     44 
     45 * **aware_default_power_mode**: The power mode in which to run all tests. Options
     46 are `INTERACTIVE` and `NON_INTERACTIVE`.
     47 
     48 The following configurations are provided:
     49 * wifi_aware.json: Normal (high power/interactive) test mode.
     50 * wifi_aware_non_interactive.json: Low power (non-interactive) test mode.
     51