# GdUnit generated TestSuite #warning-ignore-all:unused_argument #warning-ignore-all:return_value_discarded class_name JUnitXmlReportTest extends GdUnitTestSuite # TestSuite generated from const __source = 'res://addons/gdUnit4/src/report/JUnitXmlReport.gd' func test_to_time() -> void: assert_str(JUnitXmlReport.to_time(0)).is_equal("0.000") assert_str(JUnitXmlReport.to_time(1)).is_equal("0.001") assert_str(JUnitXmlReport.to_time(10)).is_equal("0.010") assert_str(JUnitXmlReport.to_time(100)).is_equal("0.100") assert_str(JUnitXmlReport.to_time(1000)).is_equal("1.000") assert_str(JUnitXmlReport.to_time(10123)).is_equal("10.123") func test_to_type() -> void: assert_str(JUnitXmlReport.to_type(GdUnitReport.SUCCESS)).is_equal("SUCCESS") assert_str(JUnitXmlReport.to_type(GdUnitReport.WARN)).is_equal("WARN") assert_str(JUnitXmlReport.to_type(GdUnitReport.FAILURE)).is_equal("FAILURE") assert_str(JUnitXmlReport.to_type(GdUnitReport.ORPHAN)).is_equal("ORPHAN") assert_str(JUnitXmlReport.to_type(GdUnitReport.TERMINATED)).is_equal("TERMINATED") assert_str(JUnitXmlReport.to_type(GdUnitReport.INTERUPTED)).is_equal("INTERUPTED") assert_str(JUnitXmlReport.to_type(GdUnitReport.ABORT)).is_equal("ABORT") assert_str(JUnitXmlReport.to_type(1000)).is_equal("UNKNOWN")