Spaces:
Paused
Paused
ML Intern deploy
Deploy httpSMS gateway to Hugging Face Spaces (Docker SDK): nginx :7860 -> Go API :8000, Nuxt SPA, Android APK, bootstrap-mode entrypoint
83a59ca Download android/app/src/androidTest/java/com/httpsms/ExampleInstrumentedTest.kt from red-kit/httpsms-gateway: direct link, hf CLI and curl.
- Browser
- Download file 650 Bytes
-
https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/83a59cae175e3c9a43b6f5d3f8749ca61b6b5072/android/app/src/androidTest/java/com/httpsms/ExampleInstrumentedTest.kt
- Command line
-
hf download hf://spaces/red-kit/httpsms-gateway@83a59cae175e3c9a43b6f5d3f8749ca61b6b5072/android/app/src/androidTest/java/com/httpsms/ExampleInstrumentedTest.kt
-
curl -L -o ExampleInstrumentedTest.kt https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/83a59cae175e3c9a43b6f5d3f8749ca61b6b5072/android/app/src/androidTest/java/com/httpsms/ExampleInstrumentedTest.kt
650 Bytes
| package com.httpsms | |
| import androidx.test.platform.app.InstrumentationRegistry | |
| import androidx.test.ext.junit.runners.AndroidJUnit4 | |
| import org.junit.Test | |
| import org.junit.runner.RunWith | |
| import org.junit.Assert.* | |
| /** | |
| * Instrumented test, which will execute on an Android device. | |
| * | |
| * See [testing documentation](http://d.android.com/tools/testing). | |
| */ | |
| class ExampleInstrumentedTest { | |
| fun useAppContext() { | |
| // Context of the app under test. | |
| val appContext = InstrumentationRegistry.getInstrumentation().targetContext | |
| assertEquals("com.httpsms", appContext.packageName) | |
| } | |
| } | |