matrix-sdk: Disable the tarpaulin skip lines since it fails to run with them.

master
Damir Jelić 2020-06-24 11:25:31 +02:00
parent 6a670163d3
commit 676d547161
5 changed files with 11 additions and 11 deletions

View File

@ -66,7 +66,7 @@ pub struct Client {
pub(crate) base_client: BaseClient, pub(crate) base_client: BaseClient,
} }
#[cfg_attr(tarpaulin, skip)] // #[cfg_attr(tarpaulin, skip)]
impl Debug for Client { impl Debug for Client {
fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> StdResult<(), fmt::Error> { fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> StdResult<(), fmt::Error> {
write!(fmt, "Client {{ homeserver: {} }}", self.homeserver) write!(fmt, "Client {{ homeserver: {} }}", self.homeserver)
@ -106,7 +106,7 @@ pub struct ClientConfig {
base_config: BaseClientConfig, base_config: BaseClientConfig,
} }
#[cfg_attr(tarpaulin, skip)] // #[cfg_attr(tarpaulin, skip)]
impl Debug for ClientConfig { impl Debug for ClientConfig {
fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
let mut res = fmt.debug_struct("ClientConfig"); let mut res = fmt.debug_struct("ClientConfig");

View File

@ -205,7 +205,7 @@ pub struct BaseClient {
store_passphrase: Arc<Zeroizing<String>>, store_passphrase: Arc<Zeroizing<String>>,
} }
#[cfg_attr(tarpaulin, skip)] // #[cfg_attr(tarpaulin, skip)]
impl fmt::Debug for BaseClient { impl fmt::Debug for BaseClient {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("Client") f.debug_struct("Client")
@ -239,7 +239,7 @@ pub struct BaseClientConfig {
passphrase: Option<Zeroizing<String>>, passphrase: Option<Zeroizing<String>>,
} }
#[cfg_attr(tarpaulin, skip)] // #[cfg_attr(tarpaulin, skip)]
impl std::fmt::Debug for BaseClientConfig { impl std::fmt::Debug for BaseClientConfig {
fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> StdResult<(), std::fmt::Error> { fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> StdResult<(), std::fmt::Error> {
fmt.debug_struct("BaseClientConfig").finish() fmt.debug_struct("BaseClientConfig").finish()

View File

@ -84,7 +84,7 @@ pub struct OlmMachine {
outbound_group_sessions: HashMap<RoomId, OutboundGroupSession>, outbound_group_sessions: HashMap<RoomId, OutboundGroupSession>,
} }
#[cfg_attr(tarpaulin, skip)] // #[cfg_attr(tarpaulin, skip)]
impl std::fmt::Debug for OlmMachine { impl std::fmt::Debug for OlmMachine {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("OlmMachine") f.debug_struct("OlmMachine")

View File

@ -48,7 +48,7 @@ pub struct Account {
shared: Arc<AtomicBool>, shared: Arc<AtomicBool>,
} }
#[cfg_attr(tarpaulin, skip)] // #[cfg_attr(tarpaulin, skip)]
impl fmt::Debug for Account { impl fmt::Debug for Account {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("Account") f.debug_struct("Account")
@ -58,7 +58,7 @@ impl fmt::Debug for Account {
} }
} }
#[cfg_attr(tarpaulin, skip)] // #[cfg_attr(tarpaulin, skip)]
impl Default for Account { impl Default for Account {
fn default() -> Self { fn default() -> Self {
Self::new() Self::new()
@ -253,7 +253,7 @@ pub struct Session {
pub(crate) last_use_time: Arc<Instant>, pub(crate) last_use_time: Arc<Instant>,
} }
#[cfg_attr(tarpaulin, skip)] // #[cfg_attr(tarpaulin, skip)]
impl fmt::Debug for Session { impl fmt::Debug for Session {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("Session") f.debug_struct("Session")
@ -502,7 +502,7 @@ impl InboundGroupSession {
} }
} }
#[cfg_attr(tarpaulin, skip)] // #[cfg_attr(tarpaulin, skip)]
impl fmt::Debug for InboundGroupSession { impl fmt::Debug for InboundGroupSession {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("InboundGroupSession") f.debug_struct("InboundGroupSession")
@ -611,7 +611,7 @@ impl OutboundGroupSession {
} }
} }
#[cfg_attr(tarpaulin, skip)] // #[cfg_attr(tarpaulin, skip)]
impl std::fmt::Debug for OutboundGroupSession { impl std::fmt::Debug for OutboundGroupSession {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("OutboundGroupSession") f.debug_struct("OutboundGroupSession")

View File

@ -772,7 +772,7 @@ impl CryptoStore for SqliteStore {
} }
} }
#[cfg_attr(tarpaulin, skip)] // #[cfg_attr(tarpaulin, skip)]
impl std::fmt::Debug for SqliteStore { impl std::fmt::Debug for SqliteStore {
fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> StdResult<(), std::fmt::Error> { fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> StdResult<(), std::fmt::Error> {
fmt.debug_struct("SqliteStore") fmt.debug_struct("SqliteStore")