Searched refs:spyResources (Results 1 – 5 of 5) sorted by relevance
50 private val spyResources = spy(spyContext.resources) constant60 on { resources } doReturn spyResources in setUp()137 spyResources.stub { in warning_wifiAndHasSim_displayNonCarrierWarning()155 spyResources.stub { in warning_wifiAndNoSim_noWarning()
112 Resources spyResources = spy(mSpyContext.getResources()); in testconsumePermitLocked_decrementsToMinOf0() local113 doReturn(spyResources).when(mSpyContext).getResources(); in testconsumePermitLocked_decrementsToMinOf0()114 doReturn(lowMaxPermits).when(spyResources).getInteger( in testconsumePermitLocked_decrementsToMinOf0()
221 Resources spyResources = spy(spyContext.getResources()); in testInit_bindsToServicesInXmlConfig() local222 doReturn(spyResources).when(spyContext).getResources(); in testInit_bindsToServicesInXmlConfig()223 doReturn(new String[]{SERVICE_BIND_GAZE_SUPPLIER}).when(spyResources).getStringArray( in testInit_bindsToServicesInXmlConfig()
243 val spyResources = spy(activity.resources) in getActivityWith() constant244 whenever(activity.resources).thenReturn(spyResources) in getActivityWith()245 whenever(spyResources.getBoolean(R.bool.auto_confirm_bluetooth_activation_dialog)) in getActivityWith()
173 Resources spyResources = spy(mSpyContext.getResources()); in testLoadConfig_UseDefaultConfigWhenNoSavedConfigFileNoXml() local174 doReturn(spyResources).when(mSpyContext).getResources(); in testLoadConfig_UseDefaultConfigWhenNoSavedConfigFileNoXml()175 doReturn(null).when(spyResources).getXml(anyInt()); in testLoadConfig_UseDefaultConfigWhenNoSavedConfigFileNoXml()