Skip to content

Merge pull request #118 from jonisavo/chore/2021.3.42f1 #177

Merge pull request #118 from jonisavo/chore/2021.3.42f1

Merge pull request #118 from jonisavo/chore/2021.3.42f1 #177

GitHub Actions / Test Results completed Aug 17, 2024 in 0s

✅ Test Results - 112/112 - Passed in 24.372s

✅ editmode-results.xml - 19/19 - Passed in 23.267s

✅ playmode-results.xml - 93/93 - Passed in 1.104s

Details

✅ editmode-results.xml - 19/19 - Passed in 23.267s
  • ✅ UIComponents.Benchmarks.AssetLoading.AddressablesAssetLoadBenchmarks - 1/1 - Passed in 2.628s
    • InitializeComponentWithColdCache - Passed in 2.628s
  • ✅ UIComponents.Benchmarks.AssetLoading.AssetDatabaseAssetLoadBenchmarks - 2/2 - Passed in 3.394s
    • InitializeComponentWithColdCache - Passed in 1.847s
    • InitializeComponentWithWarmCache - Passed in 1.547s
  • ✅ UIComponents.Benchmarks.AssetLoading.ResourcesAssetLoadBenchmarks - 2/2 - Passed in 3.328s
    • InitializeComponentWithColdCache - Passed in 1.205s
    • InitializeComponentWithWarmCache - Passed in 2.123s
  • ✅ UIComponents.Benchmarks.UIComponentInitBenchmarks - 4/4 - Passed in 8.018s
    • InitializeComponentWithDependencyWithColdCache - Passed in 1.978s
    • InitializeComponentWithDependencyWithWarmCache - Passed in 2.071s
    • InitializeEmptyComponentWithColdCache - Passed in 2.022s
    • InitializeEmptyComponentWithWarmCache - Passed in 1.947s
  • ✅ UIComponents.Tests.Editor.AssetDatabaseAssetResolverTests - 2/2 - Passed in 0.083s
    • Should_Be_Able_To_Load_Existing_Asset - Passed in 0.047s
    • Should_Be_Able_To_Tell_If_Asset_Exists - Passed in 0.037s
  • ✅ UIComponents.Tests.Editor.Interfaces.UIComponentInterfaceTests - 8/8 - Passed in 5.722s
    • IOnAttachToPanel_Registers_AttachToPanelEvent_Callback - Passed in 2.889s
    • IOnClick_Registers_ClickEvent_Callback - Passed in 0.423s
    • IOnDetachFromPanel_Registers_DetachFromPanelEvent_Callback - Passed in 0.386s
    • IOnGeometryChanged_Registers_GeometryChangedEvent_Callback - Passed in 0.386s
    • IOnMouseEnter_Registers_MouseEnterEvent_Callback - Passed in 0.414s
    • IOnMouseLeave_Registers_MouseLeaveEvent_Callback - Passed in 0.391s
    • IOnMyCustomEvent_Registers_MyCustomEvent_Callback - Passed in 0.443s
    • IOnNavigationMove_Registers_NavigationMoveEvent_Callback - Passed in 0.390s
✅ playmode-results.xml - 93/93 - Passed in 1.104s
  • ✅ UIComponents.Tests.DebugLoggerTests - 3/3 - Passed in 0.109s
    • Log_Uses_Debug_Log - Passed in 0.106s
    • LogError_Uses_Debug_LogError - Passed in 0.002s
    • LogWarning_Uses_Debug_LogWarning - Passed in 0.001s
  • ✅ UIComponents.Tests.DependencyConsumerTests - 6/6 - Passed in 0.009s
    • Concrete_Dependencies_Are_Provided - Passed in 0.004s
    • DependencyConsumers_Have_No_Dependencies_By_Default - Passed in 0.001s
    • TestBed_Works_With_DependencyConsumers - Passed in 0.001s
    • The_Correct_Class_Is_Provided_To_EmptyStringDependencyConsumer - Passed in 0.001s
    • The_Correct_Class_Is_Provided_To_StringDependencyConsumer - Passed in 0.000s
    • TryProvide_Works_For_EmptyStringDependencyConsumer - Passed in 0.001s
  • ✅ UIComponents.Tests.DependencyInjectorTests - 2/2 - Passed in 0.099s
    • Can_Be_Created_Using_Consumer - Passed in 0.098s
    • Can_Be_Created_Without_Consumer - Passed in 0.001s
  • ✅ UIComponents.Tests.DependencyInjectorTests+Provide - 3/3 - Passed in 0.007s
    • Returns_Desired_Dependency - Passed in 0.001s
    • Returns_Transient_Dependency_If_Singleton_And_Transient_Are_Registered - Passed in 0.001s
    • Throws_If_No_Provider_Exists - Passed in 0.005s
  • ✅ UIComponents.Tests.DependencyInjectorTests+SetConsumer - 1/1 - Passed in 0.001s
    • Refreshes_Transient_Dependencies - Passed in 0.001s
  • ✅ UIComponents.Tests.DependencyInjectorTests+SetTransientInstance - 1/1 - Passed in 0.001s
    • Switches_A_Transient_Instance - Passed in 0.001s
  • ✅ UIComponents.Tests.DependencyInjectorTests+TryProvide - 2/2 - Passed in 0.002s
    • Returns_If_Dependency_Could_Be_Provided - Passed in 0.001s
    • Yields_Null_If_Dependency_Can_Not_Be_Provided - Passed in 0.001s
  • ✅ UIComponents.Tests.DependencyTests - 7/7 - Passed in 0.007s
    • Allows_Creating_An_Instance - Passed in 0.000s
    • Allows_Fetching_Dependency_Type - Passed in 0.000s
    • Allows_Fetching_Implementation_Type - Passed in 0.000s
    • Allows_Fetching_Scope - Passed in 0.002s
    • Constructor_Throws_On_Null_Factory - Passed in 0.003s
    • SingletonFor_Returns_Singleton_Scope - Passed in 0.000s
    • TransientFor_Returns_Transient_Scope - Passed in 0.000s
  • ✅ UIComponents.Tests.DiContextTests - 5/5 - Passed in 0.010s
    • Allows_Changing_Current_Context - Passed in 0.000s
    • Allows_Checking_Whether_An_Initialized_Injector_Exists - Passed in 0.008s
    • Allows_Getting_Singleton_Instances - Passed in 0.000s
    • Allows_Resetting_Context - Passed in 0.001s
    • Does_Not_Allow_Changing_To_Null_Context - Passed in 0.000s
  • ✅ UIComponents.Tests.DiContextTests+GetInjector - 3/3 - Passed in 0.001s
    • It_Creates_A_New_Injector_If_One_Does_Not_Exist - Passed in 0.001s
    • It_Throws_If_Consumer_Type_Is_Null - Passed in 0.000s
    • It_Yields_Existing_Injector - Passed in 0.000s
  • ✅ UIComponents.Tests.DiContextTests+RegisterConsumer - 1/1 - Passed in 0.001s
    • It_Populates_Singleton_Instances - Passed in 0.001s
  • ✅ UIComponents.Tests.LayoutAttributeTests - 4/4 - Passed in 0.046s
    • Given_Layout_Is_Loaded - Passed in 0.039s
    • Null_Layout_Is_Handled - Passed in 0.002s
    • Superclass_Layout_Is_Loaded_If_It_Is_Not_Overridden - Passed in 0.002s
    • Superclass_Layout_Is_Not_Loaded_If_Overridden - Passed in 0.002s
  • ✅ UIComponents.Tests.ProvideAttributeTests - 4/4 - Passed in 0.005s
    • Allows_Providing_Dependencies_With_A_Cast - Passed in 0.003s
    • Logs_Error_On_Invalid_Cast - Passed in 0.001s
    • Logs_Error_When_Provider_Is_Missing - Passed in 0.001s
    • Provides_Dependencies_Automatically - Passed in 0.000s
  • ✅ UIComponents.Tests.QueryAttributeTests - 4/4 - Passed in 0.235s
    • Should_Log_Errors_If_Query_Yields_No_Results - Passed in 0.031s
    • Should_Not_Populate_Invalid_Fields - Passed in 0.196s
    • Should_Populate_Fields - Passed in 0.006s
    • Should_Populate_Inherited_Fields - Passed in 0.003s
  • ✅ UIComponents.Tests.QueryClassAttributeTests - 9/9 - Passed in 0.099s
    • Creates_Empty_List_And_Array_If_No_Elements_Are_Found - Passed in 0.081s
    • Leaves_Field_Null_If_No_Element_Is_Found - Passed in 0.002s
    • Populates_Array_With_All_Elements_With_Class - Passed in 0.002s
    • Populates_Array_With_All_Elements_With_Multiple_Classes - Passed in 0.005s
    • Populates_List_With_All_Elements_With_Class - Passed in 0.002s
    • Populates_Single_Element_With_First_Element_With_Class - Passed in 0.002s
    • Populates_Typed_Array_And_List_With_Elements_Of_Type_And_Class - Passed in 0.002s
    • Populates_Typed_Array_With_Multiple_Classes - Passed in 0.002s
    • Works_With_Both_Name_And_Class_Query - Passed in 0.002s
  • ✅ UIComponents.Tests.ResourcesAssetResolverTests - 2/2 - Passed in 0.007s
    • Should_Be_Able_To_Load_Existing_Asset - Passed in 0.003s
    • Should_Be_Able_To_Tell_If_Asset_Exists - Passed in 0.004s
  • ✅ UIComponents.Tests.RootClassAttributeTests - 2/2 - Passed in 0.003s
    • Adds_Class_To_Component - Passed in 0.002s
    • Adds_Class_To_Component_And_Child_Component - Passed in 0.002s
  • ✅ UIComponents.Tests.StylesheetAttributeTests - 3/3 - Passed in 0.013s
    • Given_Stylesheets_Are_Loaded - Passed in 0.008s
    • Inherited_Stylesheets_Are_Loaded - Passed in 0.003s
    • Invalid_Stylesheets_Output_Error_Message - Passed in 0.002s
  • ✅ UIComponents.Tests.TestBedTests - 6/6 - Passed in 0.007s
    • Allows_Changing_Singleton_Instance - Passed in 0.001s
    • Allows_Creating_Component_With_Singleton_Dependencies - Passed in 0.001s
    • Allows_Creating_Component_With_Transient_Dependencies - Passed in 0.001s
    • Allows_Fetching_Dependencies - Passed in 0.001s
    • Allows_Passing_Constructor_Arguments - Passed in 0.002s
    • Works_On_Non_UIComponent_Type - Passed in 0.001s
  • ✅ UIComponents.Tests.UIComponentDependencyTests - 5/5 - Passed in 0.004s
    • A_Missing_Dependency_Can_Be_Handled_With_TryProvide - Passed in 0.001s
    • Concrete_Dependencies_Are_Provided - Passed in 0.001s
    • The_Correct_Class_Is_Provided_To_Component - Passed in 0.001s
    • The_Correct_Class_Is_Provided_To_Component_When_Overridden - Passed in 0.001s
    • Transient_Dependencies_Are_Not_Cached - Passed in 0.001s
  • ✅ UIComponents.Tests.UIComponentEffectAttributeTests - 1/1 - Passed in 0.002s
    • Effects_Are_Sorted_By_Priority - Passed in 0.002s
  • ✅ UIComponents.Tests.UIComponentNoAttributesTests - 2/2 - Passed in 0.003s
    • No_Layout_Is_Loaded - Passed in 0.002s
    • No_Styles_Are_Loaded - Passed in 0.001s
  • ✅ UIComponents.Tests.UIComponentTests+Initialization - 8/8 - Passed in 0.012s
    • Allows_Waiting_For_Initialization - Passed in 0.003s
    • Asynchronous_Initialization_Happens_Once - Passed in 0.002s
    • Bare_Component_Initializes_Synchronously - Passed in 0.001s
    • Completes_Initialization_Task - Passed in 0.001s
    • Does_Not_Initialize_If_Children_Are_Uninitialized - Passed in 0.003s
    • Initializes_When_Children_Are_Initialized - Passed in 0.002s
    • Sets_The_Initialized_Value - Passed in 0.001s
    • Synchronous_Initialization_Happens_Once - Passed in 0.000s
  • ✅ UIComponents.Tests.Addressables.AddressableAssetResolverTests - 3/3 - Passed in 0.320s
    • Caches_Asset_Existence_Checks - Passed in 0.091s
    • Should_Be_Able_To_Load_Existing_Asset - Passed in 0.207s
    • Should_Be_Able_To_Tell_If_Asset_Exists - Passed in 0.022s
  • ✅ UIComponents.Tests.Roslyn.ProvideErrorTests - 2/2 - Passed in 0.003s
    • Error_Is_Printed_With_DebugLog - Passed in 0.002s
    • Error_Is_Printed_With_Logger - Passed in 0.001s
  • ✅ UIComponents.Tests.Roslyn.UxmlNameTests - 1/1 - Passed in 0.003s
    • Generates_Uxml_Factory_For_Name - Passed in 0.003s
  • ✅ UIComponents.Tests.Roslyn.UxmlTraitTests - 3/3 - Passed in 0.026s
    • Generates_Traits_For_Nested_Class - Passed in 0.001s
    • Generates_Traits_For_Non_UIComponent_Class - Passed in 0.009s
    • Generates_Traits_For_UIComponent_Class - Passed in 0.015s