Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CreateSceneAttribute tests #19

Merged
merged 2 commits into from
Oct 22, 2023

Fix tests

4cbd683
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Fix CreateSceneAttribute tests #19

Fix tests
4cbd683
Select commit
Loading
Failed to load commit list.
GitHub Actions / test result (2023.1.16f1) completed Oct 22, 2023 in 0s

⚠️ test result (2023.1.16f1) - 53/57, skipped: 4 - Passed in 7.920s

✅ editmode-results.xml - 3/3 - Passed in 0.265s

⚠️ playmode-results.xml - 50/54, skipped: 4 - Passed in 7.656s

Details

✅ editmode-results.xml - 3/3 - Passed in 0.265s
  • ✅ TestHelper.Editor.CreateSceneAttributeTest - 1/1 - Passed in 0.047s
    • Attach_CreateNewSceneWithCameraAndLight - Passed in 0.047s
  • ✅ TestHelper.Editor.LoadSceneAttributeTest - 1/1 - Passed in 0.068s
    • Attach_AlreadyLoadedSceneNotInBuild - Passed in 0.068s
  • ✅ TestHelper.Editor.TemporaryBuildScenesUsingInTestTest - 1/1 - Passed in 0.011s
    • GetScenesUsingInTest_AttachedToMethod_ReturnScenesSpecifiedByAttribute - Passed in 0.011s
⚠️ playmode-results.xml - 50/54, skipped: 4 - Passed in 7.656s
  • ✅ TestHelper.Attributes.CreateSceneAttributeTest.AttachToParameterizedTest_CreateNewScene - 2/2 - Passed in 0.003s
    • AttachToParameterizedTest_CreateNewScene(0) - Passed in 0.002s
    • AttachToParameterizedTest_CreateNewScene(1) - Passed in 0.002s
  • ✅ TestHelper.Attributes.CreateSceneAttributeTest - 5/5 - Passed in 0.058s
    • Attach_CreateNewSceneWithoutCameraAndLight - Passed in 0.026s
    • Attach_WithCamera_CreateNewSceneWithCamera - Passed in 0.012s
    • Attach_WithLight_CreateNewSceneWithLight - Passed in 0.003s
    • AttachToAsyncTest_CreateNewScene - Passed in 0.011s
    • AttachToUnityTest_CreateNewScene - Passed in 0.007s
  • ⚠️ TestHelper.Attributes.FocusGameViewAttributeTest - 3/4, skipped: 1 - Passed in 1.953s
    • ⚠️ Attach_GameViewHasFocus - Skipped
    • Attach_KeepBatchmode - Passed in 0.467s
    • AttachToAsyncTest_Normally - Passed in 1.366s
    • AttachToUnityTest_Normally - Passed in 0.120s
  • ✅ TestHelper.Attributes.GameViewResolutionAttributeTest - 2/2 - Passed in 0.354s
    • AttachToAsyncTest_SetScreenSizeToFullHD - Passed in 0.212s
    • AttachToUnityTest_SetScreenSizeToVGA - Passed in 0.142s
  • ⚠️ TestHelper.Attributes.IgnoreBatchModeAttributeTest - 0/3, skipped: 3 - Passed in 0.000s
    • ⚠️ Attach_SkipOnBatchMode - Skipped
    • ⚠️ AttachToAsyncTest_SkipOnBatchMode - Skipped
    • ⚠️ AttachToUnityTest_SkipOnBatchMode - Skipped
  • ✅ TestHelper.Attributes.IgnoreWindowModeAttributeTest - 3/3 - Passed in 0.345s
    • Attach_SkipOnWindowMode - Passed in 0.001s
    • AttachToAsyncTest_SkipOnWindowMode - Passed in 0.233s
    • AttachToUnityTest_SkipOnWindowMode - Passed in 0.112s
  • ✅ TestHelper.Attributes.LoadSceneAttributeTest - 3/3 - Passed in 2.520s
    • Attach_AlreadyLoadedSceneNotInBuild - Passed in 0.229s
    • AttachToAsyncTest_AlreadyLoadedSceneNotInBuild - Passed in 1.901s
    • AttachToUnityTest_AlreadyLoadedSceneNotInBuild - Passed in 0.390s
  • ✅ TestHelper.Constraints.DestroyedConstraintTest - 6/6 - Passed in 0.011s
    • IsDestroyed_DestroyedGameObject_Success - Passed in 0.002s
    • IsDestroyed_NotDestroyedGameObject_Failure - Passed in 0.006s
    • IsDestroyed_NotGameObject_Failure - Passed in 0.001s
    • IsDestroyed_Null_Failure - Passed in 0.001s
    • IsNotDestroyed_DestroyedGameObject_Failure - Passed in 0.001s
    • IsNotDestroyed_NotDestroyedGameObject_Success - Passed in 0.001s
  • ✅ TestHelper.Random.RandomExtensionsTest - 3/3 - Passed in 0.008s
    • NextNormalizedVector2_InRange - Passed in 0.004s
    • NextNormalizedVector3_InRange - Passed in 0.002s
    • NextScreenPosition_InRange - Passed in 0.002s
  • ✅ TestHelper.Random.RandomWrapperTest - 3/3 - Passed in 0.013s
    • Constructor - Passed in 0.001s
    • Constructor_NegativeSeedValue_UsingAbsoluteValue - Passed in 0.012s
    • DefaultConstructor_UsingTickCount - Passed in 0.001s
  • ✅ TestHelper.Random.StubRandomTest - 2/2 - Passed in 0.002s
    • Next_ReturnSpecifiedValues - Passed in 0.002s
    • ToString_ReturnName - Passed in 0.001s
  • ✅ TestHelper.Wrappers.UnityEditor.GameViewSizeGroupWrapperTest - 7/7 - Passed in 0.007s
    • AddCustomSize_Added - Passed in 0.001s
    • IndexOf_FoundAddedSize - Passed in 0.001s
    • RemoveCustomSize_Removed - Passed in 0.001s
    • CreateInstance_Instantiate - Passed in 0.001s
    • GetGameViewSize_GotGameViewSize - Passed in 0.001s
    • GetTotalCount_GotCount - Passed in 0.002s
    • IndexOf_NotFound - Passed in 0.001s
  • ✅ TestHelper.Wrappers.UnityEditor.GameViewSizesWrapperTest - 2/2 - Passed in 0.001s
    • CreateInstance_Instantiate - Passed in 0.001s
    • CurrentGroup_GetGameViewSizeGroupInstance - Passed in 0.000s
  • ✅ TestHelper.Wrappers.UnityEditor.GameViewSizeWrapperTest - 7/7 - Passed in 0.006s
    • CreateInstance_Instantiate - Passed in 0.001s
    • Equals_DifferentHeight_NotEquals - Passed in 0.001s
    • Equals_DifferentType_NotEquals - Passed in 0.002s
    • Equals_DifferentWidth_NotEquals - Passed in 0.000s
    • Equals_InnerObjectIsNull_NotEquals - Passed in 0.000s
    • Equals_SameSizeButDifferentName_Equals - Passed in 0.000s
    • Equals_WrapperObjectIsNull_NotEquals - Passed in 0.000s
  • ✅ TestHelper.Wrappers.UnityEditor.GameViewWrapperTest - 2/2 - Passed in 0.002s
    • GetWindow - Passed in 0.001s
    • SelectedSizeIndex - Passed in 0.002s