@@ -0,0 +1,1689 @@
+package com.farmerbb.taskbar.service;%0A%0Aimport android.content.SharedPreferences;%0A%0Aimport com.farmerbb.taskbar.util.U;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.robolectric.Robolectric;%0Aimport org.robolectric.RobolectricTestRunner;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertFalse;%0A%0A@RunWith(RobolectricTestRunner.class)%0Apublic class FavoriteAppTileServiceTest %7B%0A    private FavoriteApp1 app1;%0A    private SharedPreferences prefs;%0A%0A    @Before%0A    public void setUp() %7B%0A        app1 = Robolectric.setupService(FavoriteApp1.class);%0A        prefs = U.getSharedPreferences(app1);%0A    %7D%0A%0A    @Test%0A    public void testFavoriteApp1TileNumber() %7B%0A        assertEquals(1, app1.tileNumber());%0A    %7D%0A%0A    @Test%0A    public void testFavoriteApp2TileNumber() %7B%0A        FavoriteApp2 app2 = Robolectric.setupService(FavoriteApp2.class);%0A        assertEquals(2, app2.tileNumber());%0A    %7D%0A%0A    @Test%0A    public void testFavoriteApp3TileNumber() %7B%0A        FavoriteApp3 app3 = Robolectric.setupService(FavoriteApp3.class);%0A        assertEquals(3, app3.tileNumber());%0A    %7D%0A%0A    @Test%0A    public void testFavoriteApp4TileNumber() %7B%0A        FavoriteApp4 app4 = Robolectric.setupService(FavoriteApp4.class);%0A        assertEquals(4, app4.tileNumber());%0A    %7D%0A%0A    @Test%0A    public void testFavoriteApp5TileNumber() %7B%0A        FavoriteApp5 app5 = Robolectric.setupService(FavoriteApp5.class);%0A        assertEquals(5, app5.tileNumber());%0A    %7D%0A%0A    @Test%0A    public void testOnTileRemoved() %7B%0A        app1.onTileRemoved();%0A        assertFalse(prefs.getBoolean(%22qs_tile_%22 + app1.tileNumber() + %22_%22 + %22added%22, true));%0A    %7D%0A%7D%0A

Add basic tests for FavoriteApp*