OSDN Git Service

Merge "Added horizontal seperator in Face Settings" into qt-qpr1-dev
[android-x86/packages-apps-Settings.git] / tests / robotests / src / com / android / settings / privacy / PrivacyDashboardFragmentTest.java
index 482eaeb..80f3900 100644 (file)
@@ -80,10 +80,10 @@ public class PrivacyDashboardFragmentTest {
     }
 
     @Test
-    public void onViewCreated_shouldCallStyleActionBar() {
+    public void onViewCreated_shouldSetActionBarShadowAnimation() {
         mFragment.onViewCreated(new View(mContext), new Bundle());
 
-        verify(mFragment).styleActionBar();
+        assertThat(mFragment.getActivity().getActionBar().getElevation()).isEqualTo(0.f);
     }
 
     @Test