Projet Darts  0.2
BTS SNIR LaSalle Avignon 2020
Référence de la classe projet.lasalle84.darts.ExampleInstrumentedTest
Graphe de collaboration de projet.lasalle84.darts.ExampleInstrumentedTest:
Collaboration graph

Fonctions membres publiques

void useAppContext ()
 

Description détaillée

Instrumented test, which will execute on an Android device.

Voir également
Testing documentation

Définition à la ligne 19 du fichier ExampleInstrumentedTest.java.

Documentation des fonctions membres

◆ useAppContext()

void projet.lasalle84.darts.ExampleInstrumentedTest.useAppContext ( )

Définition à la ligne 21 du fichier ExampleInstrumentedTest.java.

21  {
22  // Context of the app under test.
23  Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
24 
25  assertEquals("projet.lasalle84.darts", appContext.getPackageName());
26  }

La documentation de cette classe a été générée à partir du fichier suivant :