OSDN Git Service

Settings: Fix assertThat in tests
authorAndreas Gampe <agampe@google.com>
Mon, 26 Feb 2018 19:28:21 +0000 (11:28 -0800)
committerAndreas Gampe <agampe@google.com>
Mon, 26 Feb 2018 20:26:36 +0000 (12:26 -0800)
commit72eb284ae7a29049c81a29f0926920a93e447830
tree5e5bdd33cd4cbe3b703adcc9a31a5b34b550935d
parent8378efc6af0d5fee9ad5094d3a0eb4a4f938b76f
Settings: Fix assertThat in tests

Truth.assertThat is a fluent-style API. Fix the tests to actually
do something.

Found by errorprone.

Bug: 73513670
Test: m RunSettingsRoboTests
Test: m javac-check RUN_ERROR_PRONE=true
Change-Id: Ie0ab35348fa56c73e6257477a50ff130450e74e7
tests/robotests/src/com/android/settings/applications/PictureInPictureSettingsTest.java