pub struct IntegrationTestSuite { /* private fields */ }Expand description
Integration test suite
Implementations§
Source§impl IntegrationTestSuite
impl IntegrationTestSuite
Sourcepub fn add_test_case(&mut self, test_case: ExploitTestCase)
pub fn add_test_case(&mut self, test_case: ExploitTestCase)
Add test case
Sourcepub fn run_tests<F>(&mut self, detector_fn: F) -> IntegrationTestResults
pub fn run_tests<F>(&mut self, detector_fn: F) -> IntegrationTestResults
Run integration tests
Sourcepub fn get_result(&self, h_code: &str) -> Option<&IntegrationTestResult>
pub fn get_result(&self, h_code: &str) -> Option<&IntegrationTestResult>
Get result for H-code
Auto Trait Implementations§
impl Freeze for IntegrationTestSuite
impl RefUnwindSafe for IntegrationTestSuite
impl Send for IntegrationTestSuite
impl Sync for IntegrationTestSuite
impl Unpin for IntegrationTestSuite
impl UnsafeUnpin for IntegrationTestSuite
impl UnwindSafe for IntegrationTestSuite
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