Namespaces | |
| namespace | anonymous_namespace{oracle_validation_view_model.cc} |
Classes | |
| struct | OracleRunResult |
| struct | PreflightError |
| struct | PreflightOptions |
| struct | PreflightResult |
| struct | SmokeD3 |
| struct | SmokeD4 |
| struct | SmokeD6 |
| struct | SmokeOptions |
| struct | SmokeResult |
Enumerations | |
| enum class | RunMode { kStructural , kStrictReadiness , kPreflight } |
Functions | |
| std::string | CurrentTimestamp () |
| std::vector< std::string > | BuildSmokeArgs (const SmokeOptions &opts) |
| std::vector< std::string > | BuildPreflightArgs (const PreflightOptions &opts) |
| std::string | BuildCliCommand (const std::string &command_name, const std::vector< std::string > &args) |
| absl::StatusOr< SmokeResult > | ParseSmokeCheckOutput (const std::string &json_str) |
| absl::StatusOr< PreflightResult > | ParsePreflightOutput (const std::string &json_str) |
|
strong |
| Enumerator | |
|---|---|
| kStructural | |
| kStrictReadiness | |
| kPreflight | |
Definition at line 68 of file oracle_validation_view_model.h.
| std::string yaze::editor::oracle_validation::CurrentTimestamp | ( | ) |
Definition at line 13 of file oracle_validation_view_model.cc.
Referenced by yaze::editor::OracleValidationPanel::LaunchRun().
| std::vector< std::string > yaze::editor::oracle_validation::BuildSmokeArgs | ( | const SmokeOptions & | opts | ) |
Definition at line 27 of file oracle_validation_view_model.cc.
References yaze::editor::oracle_validation::SmokeOptions::min_d6_track_rooms, yaze::editor::oracle_validation::SmokeOptions::report_path, yaze::editor::oracle_validation::SmokeOptions::rom_path, and yaze::editor::oracle_validation::SmokeOptions::strict_readiness.
Referenced by yaze::editor::OracleValidationPanel::LaunchRun().
| std::vector< std::string > yaze::editor::oracle_validation::BuildPreflightArgs | ( | const PreflightOptions & | opts | ) |
Definition at line 46 of file oracle_validation_view_model.cc.
References yaze::editor::oracle_validation::PreflightOptions::report_path, yaze::editor::oracle_validation::PreflightOptions::require_write_support, yaze::editor::oracle_validation::PreflightOptions::required_collision_rooms, yaze::editor::oracle_validation::PreflightOptions::rom_path, and yaze::editor::oracle_validation::PreflightOptions::skip_collision_maps.
Referenced by yaze::editor::OracleValidationPanel::LaunchRun().
| std::string yaze::editor::oracle_validation::BuildCliCommand | ( | const std::string & | command_name, |
| const std::vector< std::string > & | args ) |
Definition at line 68 of file oracle_validation_view_model.cc.
Referenced by yaze::editor::OracleValidationPanel::LaunchRun().
| absl::StatusOr< SmokeResult > yaze::editor::oracle_validation::ParseSmokeCheckOutput | ( | const std::string & | json_str | ) |
Definition at line 77 of file oracle_validation_view_model.cc.
References yaze::editor::oracle_validation::SmokeResult::d3, yaze::editor::oracle_validation::SmokeResult::d4, yaze::editor::oracle_validation::SmokeResult::d6, yaze::editor::oracle_validation::SmokeD6::meets_min_track_rooms, yaze::editor::oracle_validation::SmokeD6::min_track_rooms, yaze::editor::oracle_validation::SmokeD6::ok, yaze::editor::oracle_validation::SmokeD3::ok, yaze::editor::oracle_validation::SmokeResult::ok, yaze::editor::oracle_validation::SmokeD3::readiness_check, yaze::editor::oracle_validation::SmokeD4::required_rooms_check, yaze::editor::oracle_validation::SmokeD4::required_rooms_ok, yaze::editor::oracle_validation::SmokeResult::status, yaze::editor::oracle_validation::SmokeResult::strict_readiness, yaze::editor::oracle_validation::SmokeD4::structural_ok, and yaze::editor::oracle_validation::SmokeD6::track_rooms_found.
Referenced by yaze::editor::OracleValidationPanel::LaunchRun().
| absl::StatusOr< PreflightResult > yaze::editor::oracle_validation::ParsePreflightOutput | ( | const std::string & | json_str | ) |
Definition at line 118 of file oracle_validation_view_model.cc.
References yaze::editor::oracle_validation::PreflightError::code, yaze::editor::oracle_validation::PreflightResult::custom_collision_maps_ok, yaze::editor::oracle_validation::PreflightResult::error_count, yaze::editor::oracle_validation::PreflightResult::errors, yaze::editor::oracle_validation::PreflightError::message, yaze::editor::oracle_validation::PreflightResult::ok, yaze::editor::oracle_validation::PreflightResult::required_rooms_check, yaze::editor::oracle_validation::PreflightResult::required_rooms_ok, yaze::editor::oracle_validation::PreflightError::room_id, yaze::editor::oracle_validation::PreflightResult::status, yaze::editor::oracle_validation::PreflightError::status_code, yaze::editor::oracle_validation::PreflightResult::water_fill_region_ok, and yaze::editor::oracle_validation::PreflightResult::water_fill_table_ok.
Referenced by yaze::editor::OracleValidationPanel::LaunchRun().