@@ -0,0 +1,1022 @@
+package mobi.cangol.mobile.utils;%0A%0Aimport android.test.AndroidTestCase;%0A%0A/**%0A * Created by weixuewu on 16/6/12.%0A */%0Apublic class StorageUtilsTest extends AndroidTestCase %7B%0A%0A    public void testGetExternalStorageDir() throws Exception %7B%0A        assertNotNull(StorageUtils.getExternalStorageDir(getContext(),%22test%22));%0A    %7D%0A%0A    public void testGetFileDir() throws Exception %7B%0A        assertNotNull(StorageUtils.getFileDir(getContext(),%22test%22));%0A    %7D%0A%0A    public void testIsExternalStorageRemovable() throws Exception %7B%0A       StorageUtils.isExternalStorageRemovable();%0A    %7D%0A%0A    public void testGetExternalFileDir() throws Exception %7B%0A        assertNotNull(StorageUtils.getExternalFileDir(getContext(),%22test%22));%0A    %7D%0A%0A    public void testGetExternalCacheDir() throws Exception %7B%0A        assertNotNull(StorageUtils.getExternalCacheDir(getContext()));%0A    %7D%0A%0A    public void testGetUsableSpace() throws Exception %7B%0A        assertNotNull(StorageUtils.getUsableSpace(StorageUtils.getExternalCacheDir(getContext())));%0A    %7D%0A%7D

update StorageUtils Test