aboutsummaryrefslogtreecommitdiff
path: root/src/provider
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-10-24 22:32:42 +0200
committerHampusM <hampus@hampusmat.com>2022-10-24 22:32:42 +0200
commit8c6431fd834337be7f6b88e3c8a29c6a17e0b9cf (patch)
treeed64a10a89307f30ecfde6dfc2cde10126fcc00a /src/provider
parent494d905bcbc50b536de892ecb3fa285dc6b8a727 (diff)
test: add binding configurator unit tests
Diffstat (limited to 'src/provider')
-rw-r--r--src/provider/async.rs1
-rw-r--r--src/provider/blocking.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/provider/async.rs b/src/provider/async.rs
index 06e1d1d..53cadc8 100644
--- a/src/provider/async.rs
+++ b/src/provider/async.rs
@@ -36,6 +36,7 @@ where
}
#[async_trait]
+#[cfg_attr(test, mockall::automock, allow(dead_code))]
pub trait IAsyncProvider<DIContainerType>: Send + Sync
where
DIContainerType: IAsyncDIContainer,
diff --git a/src/provider/blocking.rs b/src/provider/blocking.rs
index 435a8e5..3de77e4 100644
--- a/src/provider/blocking.rs
+++ b/src/provider/blocking.rs
@@ -21,6 +21,7 @@ where
),
}
+#[cfg_attr(test, mockall::automock, allow(dead_code))]
pub trait IProvider<DIContainerType>
where
DIContainerType: IDIContainer,