History log of /frameworks/base/tests/net/java/com/android/server/net/NetworkStatsAccessTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b6f77c87c75a210a13c98e42a27364187b81e22d 22-May-2017 Hugo Benichi <hugobenichi@google.com> Fix NetworkStatsAccessTest

This patch fixes NetworkStatsAccessTest by taking into account
DEVICESUMMARY which was added in commit
3a8b343ce5220086c4f71e63f5d42f2d28434c4b.

Doing $ git revert 3a8b343ce5220086c4f71e63f5d42f2d28434c4b shows that
the existing assertions of NetworkStatsAccessTest passed before that
commit.

This patch also changes NetworkStatsAccessTest to use up-to-date testing
style and not depend on the deprecated junit.framework.TestCase.

Bug: 32561414
Test: runtest -x frameworks/base/../NetworkStatsAccessTest.java
Change-Id: Ib78f137578cf35e1c766b377b7f812a09173c49e
/frameworks/base/tests/net/java/com/android/server/net/NetworkStatsAccessTest.java
e7e10303f3bc545a9763fab7a7e89da9120bedfa 15-May-2017 Hugo Benichi <hugobenichi@google.com> Finish moving NetworkStats tests to tests/net

Follow-up of commit c86013be936f36c61fa0cdfad95141f6de3c6ef7.

Also add @SmallTest annotation to classes moved to tests/net.

Test: no functional change
Bug: 32561414
Change-Id: I0a0e8865d37ba7bae06ce352d3fc385989adc300
/frameworks/base/tests/net/java/com/android/server/net/NetworkStatsAccessTest.java