pub enum TestType {
RevertTest {
expected_error: String,
condition: String,
},
StateChangeTest {
variable_name: String,
expected_change: String,
},
AccessControlTest {
role_required: String,
unauthorized_caller: String,
},
DeployerTest {
contract_name: String,
constructor_args: Vec<String>,
},
FuzzTest {
property: String,
input_constraints: Vec<String>,
},
}
Expand description
Enhanced test type representation
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TestType
impl<'de> Deserialize<'de> for TestType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TestType
impl RefUnwindSafe for TestType
impl Send for TestType
impl Sync for TestType
impl Unpin for TestType
impl UnwindSafe for TestType
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