Buckets:
NaTo1000/termux-app-bucket / termux-shared /src /androidTest /java /com /termux /shared /ExampleInstrumentedTest.java
| package com.termux.shared; | |
| import android.content.Context; | |
| import androidx.test.platform.app.InstrumentationRegistry; | |
| import androidx.test.ext.junit.runners.AndroidJUnit4; | |
| import org.junit.Test; | |
| import org.junit.runner.RunWith; | |
| import static org.junit.Assert.*; | |
| /** | |
| * Instrumented test, which will execute on an Android device. | |
| * | |
| * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> | |
| */ | |
| public class ExampleInstrumentedTest { | |
| public void useAppContext() { | |
| // Context of the app under test. | |
| Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); | |
| assertEquals("com.termux.shared.test", appContext.getPackageName()); | |
| } | |
| } | |
Xet Storage Details
- Size:
- 754 Bytes
- Xet hash:
- 52e0e4aa1ab3d3bc99fbfdd6732998d66a1b80b47d0712be9b2a674f6e8eafb9
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.