mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-25 03:52:09 +03:00
Rename core module to result.
This commit is contained in:
parent
68e181d455
commit
481a13a3d6
@ -20,11 +20,11 @@ use std::collections::HashMap;
|
|||||||
use hurl_core::ast::*;
|
use hurl_core::ast::*;
|
||||||
|
|
||||||
use crate::http;
|
use crate::http;
|
||||||
use crate::runner::core::AssertResult;
|
|
||||||
use crate::runner::error::{Error, RunnerError};
|
use crate::runner::error::{Error, RunnerError};
|
||||||
use crate::runner::filter::eval_filters;
|
use crate::runner::filter::eval_filters;
|
||||||
use crate::runner::predicate::eval_predicate;
|
use crate::runner::predicate::eval_predicate;
|
||||||
use crate::runner::query::eval_query;
|
use crate::runner::query::eval_query;
|
||||||
|
use crate::runner::result::AssertResult;
|
||||||
use crate::runner::Value;
|
use crate::runner::Value;
|
||||||
|
|
||||||
impl AssertResult {
|
impl AssertResult {
|
||||||
|
@ -20,10 +20,10 @@ use std::collections::HashMap;
|
|||||||
use hurl_core::ast::*;
|
use hurl_core::ast::*;
|
||||||
|
|
||||||
use crate::http;
|
use crate::http;
|
||||||
use crate::runner::core::CaptureResult;
|
|
||||||
use crate::runner::error::{Error, RunnerError};
|
use crate::runner::error::{Error, RunnerError};
|
||||||
use crate::runner::filter::eval_filters;
|
use crate::runner::filter::eval_filters;
|
||||||
use crate::runner::query::eval_query;
|
use crate::runner::query::eval_query;
|
||||||
|
use crate::runner::result::CaptureResult;
|
||||||
use crate::runner::template::eval_template;
|
use crate::runner::template::eval_template;
|
||||||
use crate::runner::Value;
|
use crate::runner::Value;
|
||||||
|
|
||||||
|
@ -22,10 +22,10 @@ use hurl_core::ast::*;
|
|||||||
|
|
||||||
use crate::http;
|
use crate::http;
|
||||||
use crate::http::ClientOptions;
|
use crate::http::ClientOptions;
|
||||||
use crate::runner::core::{AssertResult, EntryResult};
|
|
||||||
use crate::runner::error::{Error, RunnerError};
|
use crate::runner::error::{Error, RunnerError};
|
||||||
use crate::runner::request::{cookie_storage_clear, cookie_storage_set, eval_request};
|
use crate::runner::request::{cookie_storage_clear, cookie_storage_set, eval_request};
|
||||||
use crate::runner::response::{eval_asserts, eval_captures, eval_version_status_asserts};
|
use crate::runner::response::{eval_asserts, eval_captures, eval_version_status_asserts};
|
||||||
|
use crate::runner::result::{AssertResult, EntryResult};
|
||||||
use crate::runner::runner_options::RunnerOptions;
|
use crate::runner::runner_options::RunnerOptions;
|
||||||
use crate::runner::value::Value;
|
use crate::runner::value::Value;
|
||||||
use crate::util::logger::{Logger, Verbosity};
|
use crate::util::logger::{Logger, Verbosity};
|
||||||
|
@ -26,7 +26,7 @@ use hurl_core::error::Error;
|
|||||||
use hurl_core::parser;
|
use hurl_core::parser;
|
||||||
|
|
||||||
use crate::http::Call;
|
use crate::http::Call;
|
||||||
use crate::runner::core::*;
|
use crate::runner::result::*;
|
||||||
use crate::runner::runner_options::RunnerOptions;
|
use crate::runner::runner_options::RunnerOptions;
|
||||||
use crate::runner::{entry, options, Value};
|
use crate::runner::{entry, options, Value};
|
||||||
use crate::util::logger::{ErrorFormat, Logger, LoggerOptions, LoggerOptionsBuilder};
|
use crate::util::logger::{ErrorFormat, Logger, LoggerOptions, LoggerOptionsBuilder};
|
||||||
|
@ -18,17 +18,16 @@
|
|||||||
|
|
||||||
//! A runner for Hurl files. If you want to execute an Hurl file, this is the right place.
|
//! A runner for Hurl files. If you want to execute an Hurl file, this is the right place.
|
||||||
|
|
||||||
pub use self::core::{AssertResult, CaptureResult, EntryResult, HurlResult};
|
|
||||||
pub use self::error::{Error, RunnerError};
|
pub use self::error::{Error, RunnerError};
|
||||||
pub use self::hurl_file::run;
|
pub use self::hurl_file::run;
|
||||||
pub use self::number::Number;
|
pub use self::number::Number;
|
||||||
|
pub use self::result::{AssertResult, CaptureResult, EntryResult, HurlResult};
|
||||||
pub use self::runner_options::{RunnerOptions, RunnerOptionsBuilder};
|
pub use self::runner_options::{RunnerOptions, RunnerOptionsBuilder};
|
||||||
pub use self::value::Value;
|
pub use self::value::Value;
|
||||||
|
|
||||||
mod assert;
|
mod assert;
|
||||||
mod body;
|
mod body;
|
||||||
mod capture;
|
mod capture;
|
||||||
mod core;
|
|
||||||
mod entry;
|
mod entry;
|
||||||
mod error;
|
mod error;
|
||||||
mod expr;
|
mod expr;
|
||||||
@ -45,6 +44,7 @@ mod query;
|
|||||||
mod regex;
|
mod regex;
|
||||||
mod request;
|
mod request;
|
||||||
mod response;
|
mod response;
|
||||||
|
mod result;
|
||||||
mod runner_options;
|
mod runner_options;
|
||||||
mod template;
|
mod template;
|
||||||
mod value;
|
mod value;
|
||||||
|
@ -21,9 +21,9 @@ use std::collections::HashMap;
|
|||||||
use hurl_core::ast::*;
|
use hurl_core::ast::*;
|
||||||
use regex;
|
use regex;
|
||||||
|
|
||||||
use crate::runner::core::PredicateResult;
|
|
||||||
use crate::runner::error::Error;
|
use crate::runner::error::Error;
|
||||||
use crate::runner::predicate_value::{eval_predicate_value, eval_predicate_value_template};
|
use crate::runner::predicate_value::{eval_predicate_value, eval_predicate_value_template};
|
||||||
|
use crate::runner::result::PredicateResult;
|
||||||
use crate::runner::template::eval_template;
|
use crate::runner::template::eval_template;
|
||||||
use crate::runner::value::Value;
|
use crate::runner::value::Value;
|
||||||
use crate::runner::{Number, RunnerError};
|
use crate::runner::{Number, RunnerError};
|
||||||
|
@ -23,10 +23,10 @@ use crate::http;
|
|||||||
use crate::runner::assert::eval_assert;
|
use crate::runner::assert::eval_assert;
|
||||||
use crate::runner::body::eval_body;
|
use crate::runner::body::eval_body;
|
||||||
use crate::runner::capture::eval_capture;
|
use crate::runner::capture::eval_capture;
|
||||||
use crate::runner::core::{AssertResult, CaptureResult};
|
|
||||||
use crate::runner::error::{Error, RunnerError};
|
use crate::runner::error::{Error, RunnerError};
|
||||||
use crate::runner::json::eval_json_value;
|
use crate::runner::json::eval_json_value;
|
||||||
use crate::runner::multiline::eval_multiline;
|
use crate::runner::multiline::eval_multiline;
|
||||||
|
use crate::runner::result::{AssertResult, CaptureResult};
|
||||||
use crate::runner::template::eval_template;
|
use crate::runner::template::eval_template;
|
||||||
use crate::runner::Value;
|
use crate::runner::Value;
|
||||||
use crate::util::path::ContextDir;
|
use crate::util::path::ContextDir;
|
||||||
|
Loading…
Reference in New Issue
Block a user