Skip to content

Linux Workflow (Unit tests and Android build) #1467

Linux Workflow (Unit tests and Android build)

Linux Workflow (Unit tests and Android build) #1467

GitHub Actions / Test Results completed Mar 1, 2024 in 0s

❌️ Test Results - 95/96, failed: 1 - Failed in 22.237s

✅ editmode-results.xml - 61/61 - Passed in 1.537s

❌️ playmode-results.xml - 34/35, failed: 1 - Failed in 20.699s

Details

✅ editmode-results.xml - 61/61 - Passed in 1.537s
  • ✅ Tests.ActionListItemTests - 9/9 - Passed in 0.256s
    • UpdateView_ContentNotSet_BackgroundColorStandard - Passed in 0.154s
    • UpdateView_ContentNotSet_CaptionEmpty - Passed in 0.017s
    • UpdateView_ContentNotSet_GameObjectNameSetToUnused - Passed in 0.014s
    • UpdateView_ContentNotSet_NumberLabelEmpty - Passed in 0.012s
    • UpdateView_ContentSet_CaptionLabelSetToTitle - Passed in 0.014s
    • UpdateView_ContentSet_GameObjectNameSetToId - Passed in 0.011s
    • UpdateView_ContentSet_NumberLabelSetToDataIndex - Passed in 0.011s
    • UpdateView_ContentSetToCompletedAction_CompletedBackgroundColorSet - Passed in 0.012s
    • UpdateView_ContentSetToIncompleteAction_StandardBackgroundColorSet - Passed in 0.011s
  • ✅ Tests.ActivityParserTests - 3/3 - Passed in 0.030s
    • JsonFile_NoneEmptyValues_Test - Passed in 0.009s
    • JsonFile_SessionObjectInTheScene_Test - Passed in 0.011s
    • JsonFile_workplaceFileExist_Test - Passed in 0.010s
  • ✅ Tests.HololensSensorDataFrameTests - 1/1 - Passed in 0.003s
    • Constructor_AssignsParametersCorrectly - Passed in 0.003s
  • ✅ Tests.HTKTextToSpeechServiceTests - 5/5 - Passed in 0.325s
    • Constructor_VoiceGiven_VoiceSet - Passed in 0.011s
    • Initialize_TextToSpeechObjectCreated - Passed in 0.283s
    • Initialize_VoiceAssignedInConstructor_VoiceApplied - Passed in 0.013s
    • Voice_VoiceAssignedAfterInitialize_VoiceApplied - Passed in 0.010s
    • Voice_VoiceAssignedBeforeInitialize_VoiceApplied - Passed in 0.009s
  • ✅ Tests.MaggieManagerTests - 10/10 - Passed in 0.365s
    • ActivityReady_SpeaksActivityReadyMessage - Passed in 0.198s
    • Constructor_NoTts_TtsInitialized - Passed in 0.013s
    • Constructor_TtsGiven_TtsUsed - Passed in 0.010s
    • Error_SpeaksErrorMessage - Passed in 0.032s
    • Ok_SpeaksOkMessage - Passed in 0.033s
    • Speak_EmptyText_DoNotSpeak - Passed in 0.025s
    • Speak_NonEmptyText_Speaks - Passed in 0.022s
    • Speak_StillSpeaking_DoNotSpeak - Passed in 0.011s
    • Speak_TextGiven_StopsSpeakingFirst - Passed in 0.010s
    • Stop_StopsTTS - Passed in 0.010s
  • ✅ Tests.PlayerUtilitiesTests - 26/26 - Passed in 0.286s
    • CreateObject_ParentGiven_ParentSet - Passed in 0.013s
    • CreateObject_ParentNameDoesNotExist_ReturnsNull - Passed in 0.016s
    • CreateObject_ParentNameExists_SetsParent - Passed in 0.015s
    • CreateObject_ParentNull_IdSetAsGameObjectName - Passed in 0.012s
    • CreateObject_ParentNull_NoParentSet - Passed in 0.011s
    • FindDeepChild_ChildOnLevel1_ReturnsChild - Passed in 0.014s
    • FindDeepChild_ChildOnLevel2_ReturnsChild - Passed in 0.012s
    • FindDeepChild_NoChildren_ReturnsNull - Passed in 0.011s
    • FindDeepChildTag_ChildOnLevel1_ReturnsChild - Passed in 0.011s
    • FindDeepChildTag_ChildOnLevel2_ReturnsChild - Passed in 0.012s
    • FindDeepChildTag_NoChildren_ReturnsNull - Passed in 0.011s
    • ParseStringToQuaternion_EmptyString_ThrowsArgumentException - Passed in 0.014s
    • ParseStringToQuaternion_QuaternionWithFloats_ReturnsQuaternion - Passed in 0.013s
    • ParseStringToVector3_EmptyInput_ThrowsArgumentException - Passed in 0.010s
    • ParseStringToVector3_VectorWithFloats_ReturnsVector - Passed in 0.010s
    • ParseStringToVector3_VectorWithInts_ReturnsVector - Passed in 0.010s
    • TryParseStringToQuaternion_EmptyString_DefaultQuaternion - Passed in 0.009s
    • TryParseStringToQuaternion_EmptyString_ReturnsFalse - Passed in 0.010s
    • TryParseStringToQuaternion_QuaternionWithFloats_CorrectQuaternion - Passed in 0.010s
    • TryParseStringToQuaternion_QuaternionWithFloats_ReturnsTrue - Passed in 0.009s
    • TryParseStringToVector3_EmptyString_ReturnsFalse - Passed in 0.009s
    • TryParseStringToVector3_EmptyString_VectorDefault - Passed in 0.009s
    • TryParseStringToVector3_VectorWithFloats_ReturnsTrue - Passed in 0.009s
    • TryParseStringToVector3_VectorWithFloats_VectorCorrect - Passed in 0.009s
    • TryParseStringToVector3_VectorWithInts_ReturnsTrue - Passed in 0.009s
    • TryParseStringToVector3_VectorWithInts_VectorCorrect - Passed in 0.009s
  • ✅ Tests.TagLockTests - 2/2 - Passed in 0.028s
    • Tag_LockPosition_Test - Passed in 0.014s
    • Tag_ReleasePosition_Test - Passed in 0.014s
  • ✅ Tests.TappableTests - 2/2 - Passed in 0.021s
    • Tap_OnPointerEnter_Test - Passed in 0.010s
    • Tap_OnPointerExit_Test - Passed in 0.011s
  • ✅ Tests.UIPolygonTests - 3/3 - Passed in 0.031s
    • DrawPolygon_Test - Passed in 0.009s
    • mainTexture_IsNotNull_Test - Passed in 0.010s
    • SetVbo_Test - Passed in 0.012s
❌️ playmode-results.xml - 34/35, failed: 1 - Failed in 20.699s
  • ✅ Tests.ActionListItemTests - 9/9 - Passed in 0.247s
    • OnActivateAction_ContentNotSet_BackgroundColorStandard - Passed in 0.236s
    • OnActivateAction_ContentNotSet_CaptionEmpty - Passed in 0.002s
    • OnActivateAction_ContentNotSet_GameObjectNameSetToUnused - Passed in 0.001s
    • OnActivateAction_ContentNotSet_NumberLabelEmpty - Passed in 0.001s
    • OnActivateAction_ContentSet_CaptionLabelSetToTitle - Passed in 0.003s
    • OnActivateAction_ContentSet_GameObjectNameSetToId - Passed in 0.001s
    • OnActivateAction_ContentSet_NumberLabelSetToDataIndex - Passed in 0.001s
    • OnActivateAction_ContentSetToCompletedAction_CompletedBackgroundColorSet - Passed in 0.002s
    • OnActivateAction_ContentSetToIncompleteAction_StandardBackgroundColorSet - Passed in 0.001s
  • ❌️ Tests.CalibrationTests - 18/19, failed: 1 - Failed in 17.297s
    • Activity_LoadResources - Passed in 11.010s

    • ARLEM_ParseAndStartActivity - Passed in 0.002s

    • ❌️ CalibrateAnchors_PlayerMode - Failed in 5.016s
      Expected: True
      But was: False

        Text to Speech not supported in editor.
      "Workplace is now calibrated."
      Text to Speech not supported in editor.
      "Activity loaded and ready to be started."
      
      at Tests.CalibrationTests+<CalibrateAnchors_PlayerMode>d__42.MoveNext () [0x000f8] in Assets/UnitTests/PlayModeTests/CalibrationTests.cs:361
      at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
      
    • CheckArlemFileLength_Activity - Passed in 0.827s

    • CheckArlemFileLength_Workplace - Passed in 0.387s

    • CountWorkplaceObjects_Detectables - Passed in 0.005s

    • CountWorkplaceObjects_Places - Passed in 0.003s

    • CountWorkplaceObjects_Things - Passed in 0.002s

    • FocusOnDetectables_CheckLocalPositions_x - Passed in 0.004s

    • FocusOnDetectables_CheckLocalPositions_y - Passed in 0.003s

    • FocusOnDetectables_CheckLocalPositions_z - Passed in 0.003s

    • FocusOnDetectables_CheckLocalRotations - Passed in 0.008s

    • FocusOnPois_CheckLocalPositions_x - Passed in 0.003s

    • FocusOnPois_CheckLocalPositions_y - Passed in 0.003s

    • FocusOnPois_CheckLocalPositions_z - Passed in 0.006s

    • FocusOnPois_CheckLocalRotations - Passed in 0.007s

    • FocusOnPois_CheckLocalScales_x - Passed in 0.003s

    • FocusOnPois_CheckLocalScales_y - Passed in 0.003s

    • FocusOnPois_CheckLocalScales_z - Passed in 0.003s

  • ✅ Tests.SetStartingPositionTests - 7/7 - Passed in 1.014s
    • OnPlayerReset_PositionUpdated - Passed in 0.503s
    • OnPlayerReset_RotationUpdated - Passed in 0.502s
    • OnWorkplaceLoaded_PositionUpdated - Passed in 0.002s
    • OnWorkplaceLoaded_RotationUpdated - Passed in 0.002s
    • Start_SetRotationToUserViewport - Passed in 0.002s
    • Start_SetsPositionToUserViewport - Passed in 0.002s
    • Start_ZRotationStaysZero - Passed in 0.002s

Annotations

Check failure on line 361 in Assets/UnitTests/PlayModeTests/CalibrationTests.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results

Tests.CalibrationTests.CalibrateAnchors_PlayerMode

  Expected: True
  But was:  False
Raw output
Text to Speech not supported in editor.
"Workplace is now calibrated."
Text to Speech not supported in editor.
"Activity loaded and ready to be started."

at Tests.CalibrationTests+<CalibrateAnchors_PlayerMode>d__42.MoveNext () [0x000f8] in /github/workspace/Assets/UnitTests/PlayModeTests/CalibrationTests.cs:361
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in /github/workspace/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46