Rename core module to result.

This commit is contained in:
jcamiel 2023-11-17 10:16:56 +01:00
parent 68e181d455
commit 481a13a3d6
No known key found for this signature in database
GPG Key ID: 07FF11CFD55356CC
8 changed files with 8 additions and 8 deletions

View File

@ -20,11 +20,11 @@ use std::collections::HashMap;
use hurl_core::ast::*;
use crate::http;
use crate::runner::core::AssertResult;
use crate::runner::error::{Error, RunnerError};
use crate::runner::filter::eval_filters;
use crate::runner::predicate::eval_predicate;
use crate::runner::query::eval_query;
use crate::runner::result::AssertResult;
use crate::runner::Value;
impl AssertResult {

View File

@ -20,10 +20,10 @@ use std::collections::HashMap;
use hurl_core::ast::*;
use crate::http;
use crate::runner::core::CaptureResult;
use crate::runner::error::{Error, RunnerError};
use crate::runner::filter::eval_filters;
use crate::runner::query::eval_query;
use crate::runner::result::CaptureResult;
use crate::runner::template::eval_template;
use crate::runner::Value;

View File

@ -22,10 +22,10 @@ use hurl_core::ast::*;
use crate::http;
use crate::http::ClientOptions;
use crate::runner::core::{AssertResult, EntryResult};
use crate::runner::error::{Error, RunnerError};
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::result::{AssertResult, EntryResult};
use crate::runner::runner_options::RunnerOptions;
use crate::runner::value::Value;
use crate::util::logger::{Logger, Verbosity};

View File

@ -26,7 +26,7 @@ use hurl_core::error::Error;
use hurl_core::parser;
use crate::http::Call;
use crate::runner::core::*;
use crate::runner::result::*;
use crate::runner::runner_options::RunnerOptions;
use crate::runner::{entry, options, Value};
use crate::util::logger::{ErrorFormat, Logger, LoggerOptions, LoggerOptionsBuilder};

View File

@ -18,17 +18,16 @@
//! 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::hurl_file::run;
pub use self::number::Number;
pub use self::result::{AssertResult, CaptureResult, EntryResult, HurlResult};
pub use self::runner_options::{RunnerOptions, RunnerOptionsBuilder};
pub use self::value::Value;
mod assert;
mod body;
mod capture;
mod core;
mod entry;
mod error;
mod expr;
@ -45,6 +44,7 @@ mod query;
mod regex;
mod request;
mod response;
mod result;
mod runner_options;
mod template;
mod value;

View File

@ -21,9 +21,9 @@ use std::collections::HashMap;
use hurl_core::ast::*;
use regex;
use crate::runner::core::PredicateResult;
use crate::runner::error::Error;
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::value::Value;
use crate::runner::{Number, RunnerError};

View File

@ -23,10 +23,10 @@ use crate::http;
use crate::runner::assert::eval_assert;
use crate::runner::body::eval_body;
use crate::runner::capture::eval_capture;
use crate::runner::core::{AssertResult, CaptureResult};
use crate::runner::error::{Error, RunnerError};
use crate::runner::json::eval_json_value;
use crate::runner::multiline::eval_multiline;
use crate::runner::result::{AssertResult, CaptureResult};
use crate::runner::template::eval_template;
use crate::runner::Value;
use crate::util::path::ContextDir;