Skip to content

Use correct path separators when checking if a Yarn file is part of a… #295

Use correct path separators when checking if a Yarn file is part of a…

Use correct path separators when checking if a Yarn file is part of a… #295

GitHub Actions / Test Results 2021.3.1f1-StandaloneWindows64 completed Apr 16, 2024 in 0s

✅ Test Results 2021.3.1f1-StandaloneWindows64 - 76/76 - Passed in 18.375s

✅ editmode-results.xml - 31/31 - Passed in 14.045s

✅ playmode-results.xml - 45/45 - Passed in 4.330s

Details

✅ editmode-results.xml - 31/31 - Passed in 14.045s
  • ✅ Yarn.Unity.Tests.CodeAnalysisTests - 2/2 - Passed in 0.010s
    • CodeAnalysis_CanGenerateSourceCode - Passed in 0.005s
    • CodeAnalysis_GeneratedSourceCode_RegistersExpectedActions - Passed in 0.004s
  • ✅ Yarn.Unity.Tests.DialogueReferenceTests - 3/3 - Passed in 0.030s
    • DialogueReference_CanFindValidNode - Passed in 0.030s
    • DialogueReference_CannotFindInvalidNode - Passed in 0.001s
    • DialogueReference_IsNotValidWhenEmpty - Passed in 0.000s
  • ✅ Yarn.Unity.Tests.UnityLocalisationTests - 2/2 - Passed in 0.591s
    • UnityLocalisation_FormerImplictLinesAreRemovedFromStringTables - Passed in 0.590s
    • UnityLocalisation_ImplicitStringsImportedCorrectly - Passed in 0.001s
  • ✅ Yarn.Unity.Tests.YarnImporterTests - 24/24 - Passed in 12.746s
    • YarnEditorUtility_HasValidEditorResources - Passed in 0.132s
    • YarnImporter_CanCreateNewProjectFromScript - Passed in 0.572s
    • YarnImporter_CanCreateNewScript - Passed in 0.260s
    • YarnImporter_CanCreateProjectAndScriptSimultaneously - Passed in 0.369s
    • YarnImporter_OnCreatingScriptNoLineIDs_HasNoImplicitLineIDs - Passed in 0.508s
    • YarnImporter_OnCreatingScriptWithNoLineIDs_HasImplicitLineIDs - Passed in 0.483s
    • YarnImporter_OnNonJSONProjectFormat_CanUpgrade - Passed in 0.546s
    • YarnImporter_OnNonJSONProjectFormat_ProducesUsefulError - Passed in 0.235s
    • YarnImporter_ProgramCacheIsInvalidatedAfterReimport - Passed in 0.653s
    • YarnImporterUtility_CanUpdateLocalizedCSVs_WhenBaseScriptChanges - Passed in 1.181s
    • YarnProjectImporter_OnImport_CreatesLocalizations - Passed in 0.445s
    • YarnProjectImporter_OnInvalidYarnFile_ImportsButDoesNotCompile - Passed in 0.516s
    • YarnProjectImporter_OnLocalizationsConfigured_LocatesAssets - Passed in 0.593s
    • YarnProjectImporter_OnLocalizationsSupplied_GeneratesExpectedLocalizations - Passed in 0.628s
    • YarnProjectImporter_OnNoLocalizationsSupplied_GeneratesExpectedLocalizations - Passed in 0.628s
    • YarnProjectImporter_OnValidYarnFile_GetExpectedStrings - Passed in 0.477s
    • YarnProjectImporter_OnValidYarnFile_ImportsAndCompilesSuccessfully - Passed in 0.526s
    • YarnProjectImporter_OnValidYarnFileWithMetadata_GeneratesLineMetadata - Passed in 0.471s
    • YarnProjectImporter_OnValidYarnFileWithMetadata_GetExpectedLineMetadata - Passed in 0.464s
    • YarnProjectImporter_OnValidYarnFileWithNoLineTags_CannotGetStrings - Passed in 0.447s
    • YarnProjectImporter_OnValidYarnFileWithoutMetadata_GeneratesEmptyLineMetadata - Passed in 0.468s
    • YarnProjectImporter_UpdatesLineMetadata_WhenBaseScriptChanges - Passed in 0.695s
    • YarnProjectImporter_UpdatesLineMetadata_WhenBaseScriptChangesWithoutMetadata - Passed in 0.692s
    • YarnProjectUtility_OnGeneratingLinesFile_CreatesFile - Passed in 0.760s
✅ playmode-results.xml - 45/45 - Passed in 4.330s
  • ✅ Yarn.Unity.Tests.CommandDispatchTests - 1/1 - Passed in 0.041s
    • CommandDispatch_Passes - Passed in 0.041s
  • ✅ Yarn.Unity.Tests.DialogueRunnerTests.HandleCommand_DispatchesCommands - 13/13 - Passed in 0.236s
    • HandleCommand_DispatchesCommands("testCommandInteger DialogueRunner 1 2","3") - Passed in 0.019s
    • HandleCommand_DispatchesCommands("testCommandString DialogueRunner a b","ab") - Passed in 0.018s
    • HandleCommand_DispatchesCommands("testCommandString DialogueRunner "a b" "c d"","a bc d") - Passed in 0.018s
    • HandleCommand_DispatchesCommands("testCommandGameObject DialogueRunner Sphere","Sphere") - Passed in 0.018s
    • HandleCommand_DispatchesCommands("testCommandComponent DialogueRunner Sphere","Sphere's MeshRenderer") - Passed in 0.018s
    • HandleCommand_DispatchesCommands("testCommandGameObject DialogueRunner DoesNotExist","(null)") - Passed in 0.018s
    • HandleCommand_DispatchesCommands("testCommandComponent DialogueRunner DoesNotExist","(null)") - Passed in 0.018s
    • HandleCommand_DispatchesCommands("testCommandNoParameters DialogueRunner","success") - Passed in 0.019s
    • HandleCommand_DispatchesCommands("testCommandOptionalParams DialogueRunner 1","3") - Passed in 0.018s
    • HandleCommand_DispatchesCommands("testCommandOptionalParams DialogueRunner 1 3","4") - Passed in 0.017s
    • HandleCommand_DispatchesCommands("testCommandDefaultName DialogueRunner","success") - Passed in 0.018s
    • HandleCommand_DispatchesCommands("testStaticCommand","success") - Passed in 0.018s
    • HandleCommand_DispatchesCommands("testExternalAssemblyCommand","success") - Passed in 0.019s
  • ✅ Yarn.Unity.Tests.DialogueRunnerTests.HandleCommand_FailsWhenParameterCountNotCorrect - 2/2 - Passed in 0.037s
    • HandleCommand_FailsWhenParameterCountNotCorrect("testCommandOptionalParams DialogueRunner","requires between 1 and 2 parameters, but 0 were provided") - Passed in 0.019s
    • HandleCommand_FailsWhenParameterCountNotCorrect("testCommandOptionalParams DialogueRunner 1 2 3","requires between 1 and 2 parameters, but 3 were provided") - Passed in 0.018s
  • ✅ Yarn.Unity.Tests.DialogueRunnerTests.HandleCommand_FailsWhenParameterTypesNotValid - 1/1 - Passed in 0.022s
    • HandleCommand_FailsWhenParameterTypesNotValid("testCommandInteger DialogueRunner 1 not_an_integer","Can't convert the given parameter") - Passed in 0.022s
  • ✅ Yarn.Unity.Tests.DialogueRunnerTests.SplitCommandText_SplitsTextCorrectly - 8/8 - Passed in 0.156s
    • SplitCommandText_SplitsTextCorrectly("one two three four",System.String[]) - Passed in 0.019s
    • SplitCommandText_SplitsTextCorrectly("one "two three" four",System.String[]) - Passed in 0.018s
    • SplitCommandText_SplitsTextCorrectly("one "two three four",System.String[]) - Passed in 0.021s
    • SplitCommandText_SplitsTextCorrectly("one "two \"three" four",System.String[]) - Passed in 0.020s
    • SplitCommandText_SplitsTextCorrectly("one \two three four",System.String[]) - Passed in 0.018s
    • SplitCommandText_SplitsTextCorrectly("one "two \\ three" four",System.String[]) - Passed in 0.018s
    • SplitCommandText_SplitsTextCorrectly("one "two \1 three" four",System.String[]) - Passed in 0.018s
    • SplitCommandText_SplitsTextCorrectly("one two",System.String[]) - Passed in 0.024s
  • ✅ Yarn.Unity.Tests.DialogueRunnerTests - 14/14 - Passed in 0.921s
    • AddCommandHandler_RegistersCommands - Passed in 0.081s
    • AddCommandHandler_RegistersCoroutineCommands - Passed in 0.031s
    • DialogueRunner_CanAccessInitialValues - Passed in 0.023s
    • DialogueRunner_CanAccessNodeHeaders - Passed in 0.029s
    • DialogueRunner_CanAccessNodeNames - Passed in 0.027s
    • DialogueRunner_OnDialogueStartAndStop_CallsEvents - Passed in 0.525s
    • DialogueRunner_WhenRestoringInvalidKey_FailsToLoad - Passed in 0.030s
    • DialogueRunner_WhenStateSaved_CanRestoreState - Passed in 0.027s
    • DialogueRunner_WhenStateSaved_CanRestoreState_PlayerPrefs - Passed in 0.025s
    • HandleCommand_DispatchedCommands_StartCoroutines - Passed in 0.020s
    • HandleLine_OnValidYarnFile_SendCorrectLinesToUI - Passed in 0.025s
    • HandleLine_OnViewsArrayContainingNullElement_SendCorrectLinesToUI - Passed in 0.025s
    • SaveAndLoad_BadSave - Passed in 0.020s
    • VariableStorage_OnExternalChanges_ReturnsExpectedValue - Passed in 0.034s
  • ✅ Yarn.Unity.Tests.VariableStorageTests - 6/6 - Passed in 2.870s
    • TestLoadingAndSettingAllVariables - Passed in 2.645s
    • TestLoadingDefaultValues - Passed in 0.039s
    • TestSavingAndLoadingFile - Passed in 0.067s
    • TestSavingAndLoadingFile_PlayerPrefs - Passed in 0.045s
    • TestVariableValuesFromYarnScript - Passed in 0.044s
    • VariableStorage_OnUsingValueWithInvalidName_ThrowsError - Passed in 0.031s