Searched refs:setForTests (Results 1 – 8 of 8) sorted by relevance
58 ApplicationContextSingleton.setForTests(mPreviousContext); in restorePreviousContext()85 ApplicationContextSingleton.setForTests(contextBefore); in testApplicationContextSetDuringTestAndResetAtTheEnd()110 ApplicationContextSingleton.setForTests(contextBefore); in testApplicationContextSetDuringTestAndResetAtTheEndEvenWhenTestFails()143 ApplicationContextSingleton.setForTests(contextBefore); in testApplicationContextSetDuringTestAndDontResetAtTheEnd()168 ApplicationContextSingleton.setForTests(contextBefore); in testApplicationContextSetDuringTestAndDontResetAtTheEndEvenWhenTestFails()
85 ApplicationContextSingleton.setForTests(context); in set()103 ApplicationContextSingleton.setForTests(mContext); in apply()113 ApplicationContextSingleton.setForTests(previousContext); in apply()
41 ApplicationContextSingleton.setForTests(/* context= */ null); in resetState()105 ApplicationContextSingleton.setForTests(mMockContext); in testSetForTests()
70 ApplicationContextSingleton.setForTests(/* context= */ null); in testOnCreate_setsSingleton()
47 ApplicationContextSingleton.setForTests(contextBefore); in testSetApplicationContextSingleton()
40 ApplicationContextSingleton.setForTests(context); in setApplicationContextSingleton()
109 public static void setForTests(Context context) { in setForTests() method in ApplicationContextSingleton
39 ApplicationContextSingleton.setForTests(/* context=*/ null); in testDump_appContextSingletonNotSet()