History log of /external/autotest/client/cros/cellular/pseudomodem/state_machine_factory.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c43ea562a0447330b26eeec3c7b1fb935958e985 08-Feb-2014 Prathmesh Prabhu <pprabhu@chromium.org> pseudomodem: Some simple style fixes.

Fix where this doesn't hold:
- Two lines between top level classes, functions, class methods.
- No lines between @param/@returns/@raises in docstrings
- One blank line at the end of docstring, unless it's a one line docstring.
- Uniformity: Change to @returns and @raises.

BUG=chromium:339312
TEST=None.

Change-Id: I959aa27875531644fd0f34a54d0046a059dbf164
Reviewed-on: https://chromium-review.googlesource.com/185475
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/client/cros/cellular/pseudomodem/state_machine_factory.py
c569e99b922542e7ddbbc4cd465fc8328ec16214 22-Jan-2014 Thieu Le <thieule@chromium.org> cellular: Refactor pseudomodem mm1.py into constants and errors.

cros/cellular/mm1_constants.py: This module contains ModemManager
specific constants which are used by the pseudomodem and a future
ModemManager proxy.

cros/cellular/pseudomodem/pm_constants.py: Pseudomodem specific
constants (eg. testing interface, state machine names)

cros/cellular/pseudomodem/pm_errors.py: Pseudomodem specific exception
classes.

BUG=chromium:219144
TEST=network_3GDisconnectFailure/control
network_3GDisableWhileConnecting/control.pseudomodem
network_3GFailedConnect/control.pseudomodem
network_3GIdentifiers/control.pseudomodem
network_3GModemControl/control.pseudomodem
network_3GModemPresent/control.pseudomodem
network_3GSafetyDance/control.pseudomodem
network_3GScanningProperty/control
network_3GSmokeTest/control.pseudomodem
network_3GStressEnable/control.pseudomodem
network_CDMAActivate/control
network_ChromeCellularNetworkPresent/control
network_ChromeCellularNetworkProperties/control
network_ChromeCellularSmokeTest/control
network_LTEActivate/control
network_SIMLocking/control

Change-Id: I7b02cf0ee6b1b73fb1eb7fcf0f10068e7515e465
Reviewed-on: https://chromium-review.googlesource.com/183526
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Thieu Le <thieule@chromium.org>
Commit-Queue: Thieu Le <thieule@chromium.org>
/external/autotest/client/cros/cellular/pseudomodem/state_machine_factory.py
4b64e9ff090ace27a336d1444a120f22fba15cc9 05-Dec-2013 Prathmesh Prabhu <pprabhu@chromium.org> pseudomodem: Add interactive state machines

This CL adds an option to run pseudomodem machines in interactive mode. When a
state machine is run in this mode, it exports a new testing object on a testing
interface, and waits for an |Advance| call on this testing interface before
taking each step. This is intended to allow tests fine grained control on the
progress of the state machine.

Specifically, this CL,
(1) Extends StateMachine to support interactive mode
(2) Adds a StateMachineFactory to increase flexibility in how state machines
are instantiated by the Modem.
(3) Extends the standalone mode of pseudomodem to run with some or all state
machines in interactive mode.
(4) Extends Client to add basic functionality to allow interacting with a
machine from the cli.

BUG=chromium:326439
TEST=(1) Run pseudomodem in standalone mode and interactive mode with
interactive state machines.
(2) Run existing pseudomodem tests.
Change-Id: Ic448be4958904842a683bd441362ae0262c1c3bc
Reviewed-on: https://chromium-review.googlesource.com/179070
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/client/cros/cellular/pseudomodem/state_machine_factory.py