| 23 | } |
| 24 | |
| 25 | Error test_json_export_report(const Ref<ExportReport> &export_report) { |
| 26 | Error err = OK; |
| 27 | Dictionary json = export_report->to_json(); |
| 28 | Ref<ExportReport> export_report2 = ExportReport::from_json(json); |
| 29 | CHECK(export_report->is_equal_to(export_report2)); |
| 30 | return err; |
| 31 | } |
| 32 | |
| 33 | String get_test_projects_path() { |
| 34 | return get_gdsdecomp_path().path_join("tests/test_projects"); |
no test coverage detected