History log of /external/autotest/client/cros/netprotos/zeroconf_unittest.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
074f65c0504cfba2062b934269b96e82e08f8cd9 13-Oct-2014 Christopher Wiley <wiley@chromium.org> autotest: Add register_service helper method to ZeroconfDaemon

This allows us to easily register all the records needed to expose a
'service' in the Avahi sense of the word.

BUG=chromium:418738
TEST=A pending test consumes this functionality without obvious issue.

Change-Id: I6cb6be8652d41076cf88b7ca73aa7e953bd40c5c
Reviewed-on: https://chromium-review.googlesource.com/223095
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/cros/netprotos/zeroconf_unittest.py
90000536174d9c752a91e48a0514a8eb2dd64441 16-Jan-2014 Alex Deymo <deymo@chromium.org> netprotos: Process authoritative answers on mDNS queries

A mDNS query can contain a list of authoritative answers separated
from the list of known answers to the sent queries. This patch
makes the ZeroconfDaemon process those answers when they are
seen on a query packet and includes a unittest for that case.

BUG=chromium:328078
TEST=unittests and p2p_ServeFiles still passes.

Change-Id: I0609d35a2eaf08118d30f3ed68ed89754e803a42
Reviewed-on: https://chromium-review.googlesource.com/182731
Tested-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
/external/autotest/client/cros/netprotos/zeroconf_unittest.py
dd874b90d66b46deb889ee21438f5c27a9ca7647 15-Jan-2014 Alex Deymo <deymo@chromium.org> netprotos: Add initial unittests for Zeroconf module.

The ZeroconfDaemon class provides a partial python implementation of
the Zeroconf protocol used for integration testing of P2P features.
The implementation is based on the lansim simulator but it can be run
independently with a different underlying Host class with the same
interface.

This patch adds a new FakeHost and basic unit tests for the
ZeroconfDaemon class.

BUG=chromium:328078
TEST=./utils/unittest_suite.py --debug client.cros.netprotos.zeroconf_unittest

Change-Id: Ie081f8ba9a78bc42603d7397c4e9be5ebe439a2e
Reviewed-on: https://chromium-review.googlesource.com/182730
Tested-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
/external/autotest/client/cros/netprotos/zeroconf_unittest.py