History log of /system/connectivity/shill/testrunner.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
03e6719bae1e0903d94853b896673a033196bcf5 13-Oct-2015 Alex Vakulenko <avakulenko@google.com> shill: Rename "chromeos" -> "brillo" in include paths and namespaces

libchromeos is transitioning to libbrillo and chromeos namespaces
and include directory is changing to brillo.

Bug: 24872993
TEST=built for aosp and brillo, all unit tests pass on dragonboard

Change-Id: I804311e49ee780ca96e05f6a581e8c95709d4e1d
/system/connectivity/shill/testrunner.cc
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/testrunner.cc
dde57ef146d3868130cd8597e805b42395440c9a 14-Aug-2015 Peter Qiu <zqiu@chromium.org> shill: switch over to ChromeosDBusDaemon

This removes the dependency for glib's io handler and message loop.
All the signal handling and message loop setup is handled by chromeos::Daemon.
And all the DBus related setup is handled by chromeos::DBusServiceDaemon.

Daemon/Manager resources initailization are deferred until the bus is intialized.

BUG=chromium:517680
TEST=USE="chromeos_dbus asan clang -cellular" FEATURES=test emerge-$BOARD shill
TEST=wifi_matfunc test

Change-Id: I88928c5c1290403053d6a5cec392e3d459f5a7af
Reviewed-on: https://chromium-review.googlesource.com/293557
Commit-Ready: Zeping Qiu <zqiu@chromium.org>
Tested-by: Zeping Qiu <zqiu@chromium.org>
Reviewed-by: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/testrunner.cc
1a212a6b98b22ad1d69652bb26a9e94138635476 16-Jun-2015 Paul Stewart <pstew@chromium.org> shill: Top-level files n-v: Switch pointer/ref spacing

Switch to Chrome style spacing.

BUG=chromium:501026
TEST=Unit tests

Change-Id: I8bd6f66ea185ca3a2687986f6f2fd99be957dffe
Reviewed-on: https://chromium-review.googlesource.com/278070
Reviewed-by: Rebecca Silberstein <silberst@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/testrunner.cc
127f2565a985650963d6109fc3a32c3da6a17d32 02-Apr-2015 Alex Vakulenko <avakulenko@chromium.org> platform2: Explicitly use base:: namespace with CommandLine

The current revision of libchrome is removing CommandLine class
from global namespace and only retain the one in base::.

Sweep the code to use the correct namespace in anticpation of
libchrome revision roll.

BUG=None
TEST=./build_packages

Change-Id: Ib7ca448dac1204c1e36ab053e775a5a5214997ac
Reviewed-on: https://chromium-review.googlesource.com/263785
Trybot-Ready: Alex Vakulenko <avakulenko@chromium.org>
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Reviewed-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
/system/connectivity/shill/testrunner.cc
40a014862d79843026e06ef0cc0e3bc1463fe518 31-Oct-2014 Peter Qiu <zqiu@chromium.org> shill: remove glib dependency from libshill-net

Pull glib's IO handlers out from libshill-net to eliminate its dependency
on glib. This is desired since the applications that uses this library
might not want this extra dependency.

This is achieved by adding an IOHandlerFactoryContainer for setting/accessing
IOHandlerFactory. By default. the container will create an IOHandlerFactory
that create IOHandlers base on the libbase's FileDescriptorWatcher. The caller
can implement its own IOHandlerFactory and IOHandlers to overwrite this default
behavior. For example, shill's glib IOHandlers.

BUG=chromium:427982
TEST=unittests, run wifi_matfunc for shill regression test

Change-Id: I92b853309d520f499b9bb2736211cdd3bb3c268f
Reviewed-on: https://chromium-review.googlesource.com/226833
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Peter Qiu <zqiu@chromium.org>
Tested-by: Peter Qiu <zqiu@chromium.org>
/system/connectivity/shill/testrunner.cc
f002cdb1c378e78026a5a3d10415cc1ebb64f6fe 18-Sep-2014 Prathmesh Prabhu <pprabhu@chromium.org> shill: Add command line switch to control log level in shill_unittest.

This CL adds command line switches to shill_unittest similar to the shill daemon
to control the logging verbosity from different shill objects.

BUG=chromium:415368
TEST=manual.
- Run shill and shill_unittest with different log levels.
- For shill_unittest, make sure --gtest_filter and --log-level switches can
be used together.
- Run shill and shill_unittest with --help and check help message has
logging related messages.

Change-Id: I0793d098fd9b0ea2aaab81cc57ff4abeee40033c
Reviewed-on: https://chromium-review.googlesource.com/218757
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
/system/connectivity/shill/testrunner.cc
35694152dd616f5da76d6b383ad54efe7a541a62 18-Aug-2011 Darin Petkov <petkov@chromium.org> shill: Provide a way to control logging verbosity in unit tests.

BUG=none
TEST=GTEST_ARGS=--v=2 FEATURES=test emerge-x86-mario -1 shill

Change-Id: I2fd262081da4d989e61df0aea79e609ec15d5c01
Reviewed-on: http://gerrit.chromium.org/gerrit/6197
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Chris Masone <cmasone@chromium.org>
/system/connectivity/shill/testrunner.cc
0e1d10405dd18d5d3cf5fb6be8cf907469c2bded 10-May-2011 Chris Masone <cmasone@chromium.org> [shill] Switch from home-grown EventQueue to Chrome's MessageLoop

Many other chrome os daemons have borrowed chrome's message loop abstraction,
which supports posting Task and DelayedTask objects to the loop for later
processing. There are also Callback* objects in there that we can use for
other things, as I've done with the GlibIOInputHandler. Unit tests contain
some trivial examples.

More documentation in:
base/message_loop.h
base/task.h
base/callback.h

BUG=chromium-os:15105
TEST=build, unit tests

Change-Id: Ia53dcbdf70da45e4ceda7eed1debbc4bb507446e
Reviewed-on: http://gerrit.chromium.org/gerrit/713
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/testrunner.cc
ee929b7ab2a89bbf2d1aecf85bbd49e53fbea059 10-May-2011 Chris Masone <cmasone@chromium.org> [shill] Use base/logging.h, but with syslog support.

Also, go to base/command_line.h; I love gflags, but base/logging.h requires CommandLine, and having two
ways to handle command line flags seems bad. cros-disks does it, though...

BUG=None
TEST=unit tests

Change-Id: I2a88926366d324a102dfe50583d244c49f33af08
Reviewed-on: http://gerrit.chromium.org/gerrit/602
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
/system/connectivity/shill/testrunner.cc
de21bba06fee1b7b4083b9a85e5506dca87faa80 10-May-2011 Chris Masone <cmasone@chromium.org> [shill] Revert 7d45a3c9d1cd925e70b0896fd029590212efae6e - Migrate to glog/gflags

Glog conflicts with some stuff in base/ that we'd like to use, so we can't use it :-/

BUG=chromium-os:15105
TEST=build, unit test

Change-Id: Iab03aceee3c9bcfd43747d061bb580f675772b6b
Reviewed-on: http://gerrit.chromium.org/gerrit/598
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
/system/connectivity/shill/testrunner.cc
7d45a3c9d1cd925e70b0896fd029590212efae6e 09-May-2011 Chris Masone <cmasone@chromium.org> [shill] Migrate to glog/gflags

Using gflags and glog. Examples:

To log to syslog:
shill

To log all LOG() messages to syslog AND stderr:
shill --stderrthreshold=0

To log all LOG() messages to only stderr:
shill --logtostderr

To log all LOG() messages and VLOG(2) and higher to syslog AND stderr:
shill --stderrthreshold=0 --v=2

To log all LOG() messages and VLOG(2) and higher from manager.cc to only stderr:
shill --logtostderr --v=0 --vmodule="manager.cc=2"

BUG=chromium-os:15064
TEST=unit tests, also install on device and run with --logtostderr --v=2

Change-Id: Idbd38f418b2bb0ea698c2961ac9c3215b739cc31
Reviewed-on: http://gerrit.chromium.org/gerrit/534
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
/system/connectivity/shill/testrunner.cc
75897df1154ac38b7a4512a687241ad6a197ee40 27-Apr-2011 Paul Stewart <pstew@chromium.org> Add initial sketch to shill repository

BUG=chromium-os:12066
TEST=command-line

Change-Id: If1d01bf78fca80de4cc8a26e096e1967293d9738

Review URL: http://codereview.chromium.org//6575006
/system/connectivity/shill/testrunner.cc