File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
firebase-common/src/test/java/com/google/firebase/heartbeatinfo Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 3535@ RunWith (AndroidJUnit4 .class )
3636public class HeartBeatInfoStorageTest {
3737 private final Preferences .Key <Long > testSdk = PreferencesKeys .longKey ("testSdk" );
38- private final Preferences .Key <Long > GLOBAL = PreferencesKeys .longKey ("fire-global" );
38+ private static final Preferences .Key <Long > GLOBAL = PreferencesKeys .longKey ("fire-global" );
3939 private static final int HEART_BEAT_COUNT_LIMIT = 30 ;
40- private static Context applicationContext = ApplicationProvider .getApplicationContext ();
41- private static JavaDataStorage heartBeatDataStore =
40+ private static final Context applicationContext = ApplicationProvider .getApplicationContext ();
41+ private static final JavaDataStorage heartBeatDataStore =
4242 new JavaDataStorage (applicationContext , "testHeartBeat" );
43- private HeartBeatInfoStorage heartBeatInfoStorage = new HeartBeatInfoStorage (heartBeatDataStore );
43+ private final HeartBeatInfoStorage heartBeatInfoStorage =
44+ new HeartBeatInfoStorage (heartBeatDataStore );
4445
4546 @ Before
4647 public void setUp () {
You can’t perform that action at this time.
0 commit comments