Mountain/Environment/
TestProvider.rs1#![allow(non_snake_case, non_camel_case_types)]
7
8use Common::{Error::CommonError::CommonError, Testing::TestController::TestController};
9use async_trait::async_trait;
10use log::warn;
11use serde_json::Value;
12
13use super::MountainEnvironment::MountainEnvironment;
14
15#[async_trait]
16impl TestController for MountainEnvironment {
17 async fn RegisterTestController(&self, ControllerId:String, Label:String) -> Result<(), CommonError> {
18 warn!(
19 "[TestProvider] RegisterTestController for '{}' ('{}') is not implemented.",
20 ControllerId, Label
21 );
22
23 Ok(())
27 }
28
29 async fn RunTests(&self, ControllerId:String, TestRunRequest:Value) -> Result<(), CommonError> {
30 warn!(
31 "[TestProvider] RunTests for '{}' ({:?}) is not implemented.",
32 ControllerId, TestRunRequest
33 );
34
35 Ok(())
42 }
43}