Exclude more args from coverage (#454)

This commit is contained in:
Brian Yencho 2023-12-29 11:17:23 -06:00 committed by Álison Fernandes
parent 0f7a09dd96
commit 8852ae9a40
2 changed files with 4 additions and 0 deletions

View file

@ -6,6 +6,7 @@ import androidx.navigation.NavGraphBuilder
import androidx.navigation.NavOptions
import androidx.navigation.NavType
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.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].
*/
@OmitFromCoverage
class VaultAddEditItemArgs(
val vaultAddEditType: VaultAddEditType,
) {

View file

@ -6,6 +6,7 @@ import androidx.navigation.NavGraphBuilder
import androidx.navigation.NavOptions
import androidx.navigation.NavType
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.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].
*/
@OmitFromCoverage
class VaultItemListingArgs(
val vaultItemListingType: VaultItemListingType,
) {