Pupil-24 Absence of backing up favorites feature

This commit is contained in:
tom5079
2019-12-01 16:58:29 +09:00
parent 8d16950f46
commit f98f45dc54
10 changed files with 154 additions and 9 deletions

View File

@@ -33,6 +33,7 @@ import xyz.quaver.hiyobi.createImgList
import xyz.quaver.hiyobi.getReader
import xyz.quaver.hiyobi.user_agent
import xyz.quaver.pupil.ui.LockActivity
import xyz.quaver.pupil.util.getDownloadDirectory
import java.net.URL
import javax.net.ssl.HttpsURLConnection
@@ -48,6 +49,7 @@ class ExampleInstrumentedTest {
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
Log.i("PUPILD", getDownloadDirectory(appContext).absolutePath ?: "")
assertEquals("xyz.quaver.pupil", appContext.packageName)
}
@@ -57,8 +59,6 @@ class ExampleInstrumentedTest {
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
activityTestRule.launchActivity(Intent())
while(true);
}
@Test
@@ -76,4 +76,4 @@ class ExampleInstrumentedTest {
Log.d("Pupil", data.size.toString())
}
}
}