mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
Exclude more args from coverage (#454)
This commit is contained in:
parent
0f7a09dd96
commit
8852ae9a40
2 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,7 @@ import androidx.navigation.NavGraphBuilder
|
||||||
import androidx.navigation.NavOptions
|
import androidx.navigation.NavOptions
|
||||||
import androidx.navigation.NavType
|
import androidx.navigation.NavType
|
||||||
import androidx.navigation.navArgument
|
import androidx.navigation.navArgument
|
||||||
|
import com.x8bit.bitwarden.data.platform.annotation.OmitFromCoverage
|
||||||
import com.x8bit.bitwarden.ui.platform.base.util.composableWithSlideTransitions
|
import com.x8bit.bitwarden.ui.platform.base.util.composableWithSlideTransitions
|
||||||
import com.x8bit.bitwarden.ui.vault.model.VaultAddEditType
|
import com.x8bit.bitwarden.ui.vault.model.VaultAddEditType
|
||||||
|
|
||||||
|
@ -22,6 +23,7 @@ private const val ADD_EDIT_ITEM_ROUTE: String =
|
||||||
/**
|
/**
|
||||||
* Class to retrieve vault add & edit arguments from the [SavedStateHandle].
|
* Class to retrieve vault add & edit arguments from the [SavedStateHandle].
|
||||||
*/
|
*/
|
||||||
|
@OmitFromCoverage
|
||||||
class VaultAddEditItemArgs(
|
class VaultAddEditItemArgs(
|
||||||
val vaultAddEditType: VaultAddEditType,
|
val vaultAddEditType: VaultAddEditType,
|
||||||
) {
|
) {
|
||||||
|
|
|
@ -6,6 +6,7 @@ import androidx.navigation.NavGraphBuilder
|
||||||
import androidx.navigation.NavOptions
|
import androidx.navigation.NavOptions
|
||||||
import androidx.navigation.NavType
|
import androidx.navigation.NavType
|
||||||
import androidx.navigation.navArgument
|
import androidx.navigation.navArgument
|
||||||
|
import com.x8bit.bitwarden.data.platform.annotation.OmitFromCoverage
|
||||||
import com.x8bit.bitwarden.ui.platform.base.util.composableWithPushTransitions
|
import com.x8bit.bitwarden.ui.platform.base.util.composableWithPushTransitions
|
||||||
import com.x8bit.bitwarden.ui.vault.model.VaultItemListingType
|
import com.x8bit.bitwarden.ui.vault.model.VaultItemListingType
|
||||||
|
|
||||||
|
@ -26,6 +27,7 @@ private const val VAULT_ITEM_LISTING_ROUTE: String =
|
||||||
/**
|
/**
|
||||||
* Class to retrieve vault item listing arguments from the [SavedStateHandle].
|
* Class to retrieve vault item listing arguments from the [SavedStateHandle].
|
||||||
*/
|
*/
|
||||||
|
@OmitFromCoverage
|
||||||
class VaultItemListingArgs(
|
class VaultItemListingArgs(
|
||||||
val vaultItemListingType: VaultItemListingType,
|
val vaultItemListingType: VaultItemListingType,
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in a new issue