Rename Test trait to EfTest

This commit is contained in:
Paul Hauner
2019-05-15 11:27:22 +10:00
parent 57040efc2a
commit 4cb23dd342
5 changed files with 22 additions and 19 deletions

View File

@@ -3,6 +3,7 @@ use ethereum_types::{U128, U256};
use serde_derive::Deserialize;
use ssz::Decode;
use std::fmt::Debug;
use types::EthSpec;
pub use crate::case_result::*;
pub use crate::cases::*;
@@ -19,3 +20,10 @@ mod doc_header;
mod error;
mod eth_specs;
mod yaml_decode;
/// Defined where an object can return the results of some test(s) adhering to the Ethereum
/// Foundation testing format.
pub trait EfTest {
/// Returns the results of executing one or more tests.
fn test_results<E: EthSpec>(&self) -> Vec<CaseResult>;
}