History log of /system/connectivity/shill/test-scripts/list-profiles
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5 03-Sep-2015 Peter Qiu <zqiu@google.com> License shill to Apache2

This patch automatically replaced the license on all text files from
Chromium OS (BSD style) to AOSP (Apache2), keeping the original year as
a reference.

The license header was added to .gyp and .gypi, the NOTICE was added with a copy
of the Apache2 license and MODULE_LICENSE_* file was added.

BUG=23587594
TEST=grep 'Chromium OS Authors' doesn't find anything.

Change-Id: If41ede586c2465f5831fb7fee270ff41dbfdb596
/system/connectivity/shill/test-scripts/list-profiles
18213652e2ce4c6e4354951e5b665097b7a7aa6b 22-Apr-2015 Peter Qiu <zqiu@chromium.org> shill: remove dependency for ProfileDBusPropertyExporter

Currently, Profile.GetEntry uses ProfileDBusPropertyExporter to
retrieve entry settings for a service entry that's not registered to the
manager or loaded from a different profile. ProfileDBusPropertyExporter
duplicates logics from Service and its subclasses for loading settings
from the profile.

Instead, create a temporary service for profile to load entry settings
into for such service entry, and then retrieve the service settings
(properties) directly. When creating a temporary service, the profile entry
will be validated for fields required by the corresponding service type.

Also added couple test scripts for testing purpose.

BUG=chromium:208736
TEST=USE="asan clang wimax" FEATURES=test emerge-$BOARD shill
Manual Test:
1. Bootup a DUT (wolf) without logging in, connect to a wifi network
WiFi-A.
2. Logged in with an user account, connect to a different managed wifi
network WiFi-B.
3. Invoke command "/usr/local/lib/flimflam/test/list-profiles", verify
there is an entry in both default profile "/profile/default" and
user profile "/profile/chronos/shill".
3. Use the get-profile-entry command to retrieve entry from both default
and user profile, verify entries are retrieved successfully.
"/usr/local/lib/flimflam/test/get-profile-entry default <entry_name>"
"/usr/local/lib/flimflam/test/get-profile-entry shill <entry_name>"

Change-Id: If6c22fbca0e4e47dd42761b047d57fff14c2e658
Reviewed-on: https://chromium-review.googlesource.com/266751
Tested-by: Zeping Qiu <zqiu@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/test-scripts/list-profiles
e6ecf6ed7d25e4b80728f782f425e353f44f7205 29-Mar-2013 Christopher Wiley <wiley@chromium.org> shill-test: Refactor profile scripts

With this change, all test script profile manipulation is done through
ShillProxy rather than FlimFlam. The profile commands are moved into
one logical place, 'profile' so that:

create-profile test
push-profile test
pop-profile test
rm-profile test
clean-profiles
list-profiles
list-entries

become:

profile create test
profile push test
profile pop test
profile remove test
profile clean
profile list
profile list-entries

Also, I'm removing set-profile-property without replacement. It seems
that most of our profile properties are either read only or have
non-string value types, which breaks the existing set-profile-property.

TEST=Ran scripts by hand on DUT. Accompanying CL updates usages in
autotest to call modified scripts correctly.
BUG=chromium:224989
CQ-DEPEND:CL:46896

Change-Id: I011477cb7442449e62d524b10e90f9bc8f936775
Reviewed-on: https://gerrit.chromium.org/gerrit/46894
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/system/connectivity/shill/test-scripts/list-profiles
2f48d9572459c2c90d68e8b017b86eb843fe2a74 22-Feb-2013 Christopher Wiley <wiley@chromium.org> shill: Copy test scripts out of flimflam/test

Directly copy scripts from third_party/flimflam/test to
platform/shill/test-scripts. This will allow us to make shill changes
in parallel with test tooling changes. It also allows us to fully
deprecate flimflam/flimflam-test. This change leaves swindle behind,
since it has decayed to a point where it makes little sense to bring it
over, and no one has used it in many moons anyway.

TEST=None. This has no effect until the ebuilds are changed to install
the scripts from shill rather than flimflam. Even then, since
we're not changing the install path, there shouldn't be any user
visible changes.
BUG=chromium-os:39146

Change-Id: I6d74cc4b3bba6ca80dbd05c17af8fc3e428b8d5e
Reviewed-on: https://gerrit.chromium.org/gerrit/43791
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/system/connectivity/shill/test-scripts/list-profiles