pub struct Test(/* private fields */);Implementations§
Source§impl Test
impl Test
pub fn assert( &self, success__38: bool, message__39: Arc<dyn Fn() -> Arc<String> + Send + Sync>, )
pub fn assert_hard( &self, success__42: bool, message__43: Arc<dyn Fn() -> Arc<String> + Send + Sync>, ) -> Result<()>
pub fn soft_fail_to_hard(&self) -> Result<()>
pub fn passing(&self) -> bool
pub fn messages(&self) -> List<Arc<String>>
pub fn failed_on_assert(&self) -> bool
pub fn has_unhandled_fail(&self) -> bool
pub fn messages_combined(&self) -> Option<Arc<String>>
pub fn new() -> Test
Trait Implementations§
Source§impl AnyValueTrait for Test
impl AnyValueTrait for Test
Source§impl AsAnyValue for Test
impl AsAnyValue for Test
fn as_any_value(&self) -> AnyValue
Auto Trait Implementations§
impl Freeze for Test
impl RefUnwindSafe for Test
impl Send for Test
impl Sync for Test
impl Unpin for Test
impl UnwindSafe for Test
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more