Home
last modified time | relevance | path

Searched refs:billingCycleSettings (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DBillingCycleSettingsTest.java130 final BillingCycleSettings billingCycleSettings = spy(new BillingCycleSettings()); in testDataUsageSummary_shouldBeNull() local
131 when(billingCycleSettings.getContext()).thenReturn(mContext); in testDataUsageSummary_shouldBeNull()
132 billingCycleSettings.setUpForTest(mNetworkPolicyEditor, mBillingCycle, in testDataUsageSummary_shouldBeNull()
135 doReturn("some-string").when(billingCycleSettings).getString(anyInt(), anyInt()); in testDataUsageSummary_shouldBeNull()
140 billingCycleSettings.updatePrefs(); in testDataUsageSummary_shouldBeNull()
149 final BillingCycleSettings billingCycleSettings = spy(new BillingCycleSettings()); in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate() local
150 when(billingCycleSettings.getContext()).thenReturn(mContext); in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate()
151 when(billingCycleSettings.getArguments()).thenReturn(Bundle.EMPTY); in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate()
153 when(billingCycleSettings.getActivity()).thenReturn(activity); in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate()
156 doNothing().when(billingCycleSettings) in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate()
[all …]