From 9e8b3e397ac8c03e1b622248b861a6fca427950b Mon Sep 17 00:00:00 2001 From: Shi Chen Date: Sun, 1 Dec 2024 20:20:05 -0600 Subject: [PATCH] Testing for #2 --- .../grc_o_video_end_event_missing/Create_0.gml | 13 +------------ .../objects/grc_o_video_function_test/Create_0.gml | 14 +------------- .../grc_register_async_function_tests.gml | 4 ++-- 3 files changed, 4 insertions(+), 27 deletions(-) diff --git a/Ganary/objects/grc_o_video_end_event_missing/Create_0.gml b/Ganary/objects/grc_o_video_end_event_missing/Create_0.gml index 9cf908c..cc6cd58 100644 --- a/Ganary/objects/grc_o_video_end_event_missing/Create_0.gml +++ b/Ganary/objects/grc_o_video_end_event_missing/Create_0.gml @@ -1,12 +1 @@ -event_inherited() -if (os_type == os_windows) { - var device_info = os_get_info(); - var device_name = device_info[? "video_adapter_description"]; - if (device_name == "Microsoft Basic Render Driver"){ - show_debug_message("Running in GitHub Actions. Will complete the test in 2 seconds."); - call_later(2, time_source_units_seconds, function(){ - olympus_test_resolve(); - instance_destroy(); - }); - } -} \ No newline at end of file +event_inherited() \ No newline at end of file diff --git a/Ganary/objects/grc_o_video_function_test/Create_0.gml b/Ganary/objects/grc_o_video_function_test/Create_0.gml index 74c2250..db493ba 100644 --- a/Ganary/objects/grc_o_video_function_test/Create_0.gml +++ b/Ganary/objects/grc_o_video_function_test/Create_0.gml @@ -1,15 +1,3 @@ event_inherited() seeked = false; -seeked_position = 500; - -if (os_type == os_windows) { - var device_info = os_get_info(); - var device_name = device_info[? "video_adapter_description"]; - if (device_name == "Microsoft Basic Render Driver"){ - show_debug_message("Running in GitHub Actions. Will complete the test in 2 seconds."); - call_later(2, time_source_units_seconds, function(){ - olympus_test_resolve(); - instance_destroy(); - }); - } -} \ No newline at end of file +seeked_position = 500; \ No newline at end of file diff --git a/Ganary/scripts/grc_register_async_function_tests/grc_register_async_function_tests.gml b/Ganary/scripts/grc_register_async_function_tests/grc_register_async_function_tests.gml index 1a8041b..ed269fc 100644 --- a/Ganary/scripts/grc_register_async_function_tests/grc_register_async_function_tests.gml +++ b/Ganary/scripts/grc_register_async_function_tests/grc_register_async_function_tests.gml @@ -132,11 +132,11 @@ function grc_register_async_function_tests(){ grc_expect_eq(video_format_rgba, video_get_format(), "The format should be rgba"); grc_expect_eq(false, video_is_looping(), "the video should not be looping."); return grc_instance_create(grc_o_video_function_test); - }); + }).only(); olympus_add_async_test("video_end_event_missing", function(){ return grc_instance_create(grc_o_video_end_event_missing); - }); + }).only(); olympus_add_async_test("video_open_block", function(){ return grc_instance_create(grc_o_video_open_block);