Skip to content

Yarn attributed methods can now use consts as their attribute names. #275

Yarn attributed methods can now use consts as their attribute names.

Yarn attributed methods can now use consts as their attribute names. #275

GitHub Actions / Test Results 2023.1.1f1-StandaloneWindows64 completed Jan 25, 2024 in 0s

✅ Test Results 2023.1.1f1-StandaloneWindows64 - 74/74 - Passed in 11.059s

✅ editmode-results.xml - 29/29 - Passed in 7.667s

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

Details

✅ editmode-results.xml - 29/29 - Passed in 7.667s
  • ✅ Yarn.Unity.Tests.CodeAnalysisTests - 2/2 - Passed in 25.064s
    • CodeAnalysis_CanGenerateSourceCode - Passed in 12.078s
    • CodeAnalysis_GeneratedSourceCode_RegistersExpectedActions - Passed in 12.986s
  • ✅ Yarn.Unity.Tests.DialogueReferenceTests - 3/3 - Passed in 0.031s
    • DialogueReference_CanFindValidNode - Passed in 0.031s
    • DialogueReference_CannotFindInvalidNode - Passed in 0.001s
    • DialogueReference_IsNotValidWhenEmpty - Passed in 0.000s
  • ✅ Yarn.Unity.Tests.YarnImporterTests - 24/24 - Passed in 7.510s
    • YarnEditorUtility_HasValidEditorResources - Passed in 0.101s
    • YarnImporter_CanCreateNewProjectFromScript - Passed in 0.426s
    • YarnImporter_CanCreateNewScript - Passed in 0.128s
    • YarnImporter_CanCreateProjectAndScriptSimultaneously - Passed in 0.206s
    • YarnImporter_OnCreatingScriptNoLineIDs_HasNoImplicitLineIDs - Passed in 0.342s
    • YarnImporter_OnCreatingScriptWithNoLineIDs_HasImplicitLineIDs - Passed in 0.283s
    • YarnImporter_OnNonJSONProjectFormat_CanUpgrade - Passed in 0.401s
    • YarnImporter_OnNonJSONProjectFormat_ProducesUsefulError - Passed in 0.145s
    • YarnImporter_ProgramCacheIsInvalidatedAfterReimport - Passed in 0.392s
    • YarnImporterUtility_CanUpdateLocalizedCSVs_WhenBaseScriptChanges - Passed in 0.787s
    • YarnProjectImporter_OnImport_CreatesLocalizations - Passed in 0.240s
    • YarnProjectImporter_OnInvalidYarnFile_ImportsButDoesNotCompile - Passed in 0.272s
    • YarnProjectImporter_OnLocalizationsConfigured_LocatesAssets - Passed in 0.325s
    • YarnProjectImporter_OnLocalizationsSupplied_GeneratesExpectedLocalizations - Passed in 0.383s
    • YarnProjectImporter_OnNoLocalizationsSupplied_GeneratesExpectedLocalizations - Passed in 0.345s
    • YarnProjectImporter_OnValidYarnFile_GetExpectedStrings - Passed in 0.258s
    • YarnProjectImporter_OnValidYarnFile_ImportsAndCompilesSuccessfully - Passed in 0.246s
    • YarnProjectImporter_OnValidYarnFileWithMetadata_GeneratesLineMetadata - Passed in 0.241s
    • YarnProjectImporter_OnValidYarnFileWithMetadata_GetExpectedLineMetadata - Passed in 0.261s
    • YarnProjectImporter_OnValidYarnFileWithNoLineTags_CannotGetStrings - Passed in 0.230s
    • YarnProjectImporter_OnValidYarnFileWithoutMetadata_GeneratesEmptyLineMetadata - Passed in 0.259s
    • YarnProjectImporter_UpdatesLineMetadata_WhenBaseScriptChanges - Passed in 0.397s
    • YarnProjectImporter_UpdatesLineMetadata_WhenBaseScriptChangesWithoutMetadata - Passed in 0.395s
    • YarnProjectUtility_OnGeneratingLinesFile_CreatesFile - Passed in 0.445s
✅ playmode-results.xml - 45/45 - Passed in 3.392s
  • ✅ Yarn.Unity.Tests.CommandDispatchTests - 1/1 - Passed in 0.036s
    • CommandDispatch_Passes - Passed in 0.036s
  • ✅ Yarn.Unity.Tests.DialogueRunnerTests.HandleCommand_DispatchesCommands - 13/13 - Passed in 0.309s
    • HandleCommand_DispatchesCommands("testCommandInteger DialogueRunner 1 2","3") - Passed in 0.024s
    • HandleCommand_DispatchesCommands("testCommandString DialogueRunner a b","ab") - Passed in 0.022s
    • HandleCommand_DispatchesCommands("testCommandString DialogueRunner "a b" "c d"","a bc d") - Passed in 0.024s
    • HandleCommand_DispatchesCommands("testCommandGameObject DialogueRunner Sphere","Sphere") - Passed in 0.024s
    • HandleCommand_DispatchesCommands("testCommandComponent DialogueRunner Sphere","Sphere's MeshRenderer") - Passed in 0.024s
    • HandleCommand_DispatchesCommands("testCommandGameObject DialogueRunner DoesNotExist","(null)") - Passed in 0.023s
    • HandleCommand_DispatchesCommands("testCommandComponent DialogueRunner DoesNotExist","(null)") - Passed in 0.022s
    • HandleCommand_DispatchesCommands("testCommandNoParameters DialogueRunner","success") - Passed in 0.023s
    • HandleCommand_DispatchesCommands("testCommandOptionalParams DialogueRunner 1","3") - Passed in 0.022s
    • HandleCommand_DispatchesCommands("testCommandOptionalParams DialogueRunner 1 3","4") - Passed in 0.022s
    • HandleCommand_DispatchesCommands("testCommandDefaultName DialogueRunner","success") - Passed in 0.027s
    • HandleCommand_DispatchesCommands("testStaticCommand","success") - Passed in 0.029s
    • HandleCommand_DispatchesCommands("testExternalAssemblyCommand","success") - Passed in 0.022s
  • ✅ Yarn.Unity.Tests.DialogueRunnerTests.HandleCommand_FailsWhenParameterCountNotCorrect - 2/2 - Passed in 0.053s
    • HandleCommand_FailsWhenParameterCountNotCorrect("testCommandOptionalParams DialogueRunner","requires between 1 and 2 parameters, but 0 were provided") - Passed in 0.026s
    • HandleCommand_FailsWhenParameterCountNotCorrect("testCommandOptionalParams DialogueRunner 1 2 3","requires between 1 and 2 parameters, but 3 were provided") - Passed in 0.027s
  • ✅ Yarn.Unity.Tests.DialogueRunnerTests.HandleCommand_FailsWhenParameterTypesNotValid - 1/1 - Passed in 0.025s
    • HandleCommand_FailsWhenParameterTypesNotValid("testCommandInteger DialogueRunner 1 not_an_integer","Can't convert the given parameter") - Passed in 0.025s
  • ✅ Yarn.Unity.Tests.DialogueRunnerTests.SplitCommandText_SplitsTextCorrectly - 8/8 - Passed in 0.167s
    • SplitCommandText_SplitsTextCorrectly("one two three four",System.String[]) - Passed in 0.022s
    • SplitCommandText_SplitsTextCorrectly("one "two three" four",System.String[]) - Passed in 0.020s
    • SplitCommandText_SplitsTextCorrectly("one "two three four",System.String[]) - Passed in 0.021s
    • 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.021s
    • SplitCommandText_SplitsTextCorrectly("one "two \1 three" four",System.String[]) - Passed in 0.021s
    • SplitCommandText_SplitsTextCorrectly("one two",System.String[]) - Passed in 0.020s
  • ✅ Yarn.Unity.Tests.DialogueRunnerTests - 14/14 - Passed in 0.916s
    • AddCommandHandler_RegistersCommands - Passed in 0.060s
    • AddCommandHandler_RegistersCoroutineCommands - Passed in 0.038s
    • DialogueRunner_CanAccessInitialValues - Passed in 0.027s
    • DialogueRunner_CanAccessNodeHeaders - Passed in 0.024s
    • DialogueRunner_CanAccessNodeNames - Passed in 0.024s
    • DialogueRunner_OnDialogueStartAndStop_CallsEvents - Passed in 0.524s
    • DialogueRunner_WhenRestoringInvalidKey_FailsToLoad - Passed in 0.029s
    • DialogueRunner_WhenStateSaved_CanRestoreState - Passed in 0.033s
    • DialogueRunner_WhenStateSaved_CanRestoreState_PlayerPrefs - Passed in 0.027s
    • HandleCommand_DispatchedCommands_StartCoroutines - Passed in 0.025s
    • HandleLine_OnValidYarnFile_SendCorrectLinesToUI - Passed in 0.024s
    • HandleLine_OnViewsArrayContainingNullElement_SendCorrectLinesToUI - Passed in 0.022s
    • SaveAndLoad_BadSave - Passed in 0.023s
    • VariableStorage_OnExternalChanges_ReturnsExpectedValue - Passed in 0.038s
  • ✅ Yarn.Unity.Tests.VariableStorageTests - 6/6 - Passed in 1.837s
    • TestLoadingAndSettingAllVariables - Passed in 1.528s
    • TestLoadingDefaultValues - Passed in 0.040s
    • TestSavingAndLoadingFile - Passed in 0.087s
    • TestSavingAndLoadingFile_PlayerPrefs - Passed in 0.057s
    • TestVariableValuesFromYarnScript - Passed in 0.082s
    • VariableStorage_OnUsingValueWithInvalidName_ThrowsError - Passed in 0.044s