This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.theozgurr.apparchitecture.common | |
import android.graphics.Bitmap | |
import androidx.compose.ui.graphics.asAndroidBitmap | |
import androidx.compose.ui.test.SemanticsNodeInteraction | |
import androidx.compose.ui.test.captureToImage | |
import androidx.test.platform.app.InstrumentationRegistry | |
import java.io.FileOutputStream | |
fun saveScreenshot( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.theozgurr.apparchitecture.ui.register | |
import androidx.compose.animation.ExperimentalAnimationApi | |
import androidx.compose.ui.ExperimentalComposeUiApi | |
import androidx.compose.ui.test.assertIsDisplayed | |
import androidx.compose.ui.test.junit4.createAndroidComposeRule | |
import androidx.compose.ui.test.onNodeWithTag | |
import androidx.compose.ui.test.onNodeWithText | |
import androidx.compose.ui.test.onRoot | |
import androidx.navigation.NavHostController |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.theozgurr.apparchitecture.common | |
import androidx.compose.animation.ExperimentalAnimationApi | |
import androidx.compose.ui.ExperimentalComposeUiApi | |
import androidx.compose.ui.test.junit4.AndroidComposeTestRule | |
import androidx.compose.ui.test.onNodeWithTag | |
import androidx.compose.ui.test.performClick | |
import androidx.compose.ui.test.performTextInput | |
import androidx.test.ext.junit.rules.ActivityScenarioRule | |
import com.theozgurr.apparchitecture.ui.MainActivity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# your package name | |
import android.Manifest | |
import android.content.Context | |
import android.content.Intent | |
import android.content.pm.PackageManager | |
import android.net.Uri | |
import android.os.Build | |
import android.provider.Settings | |
import android.util.Log |