Remove standard library implementation methods #261
❌️ Test Results 2022.2.1f1-StandaloneWindows64 - 73/74, failed: 1 - Failed in 13.930s
✅ editmode-results.xml - 29/29 - Passed in 9.445s
❌️ playmode-results.xml - 44/45, failed: 1 - Failed in 4.485s
Details
✅ editmode-results.xml - 29/29 - Passed in 9.445s
- ✅ Yarn.Unity.Tests.CodeAnalysisTests - 2/2 - Passed in 0.010s
- ✅ CodeAnalysis_CanGenerateSourceCode - Passed in 0.006s
- ✅ CodeAnalysis_GeneratedSourceCode_RegistersExpectedActions - Passed in 0.005s
- ✅ Yarn.Unity.Tests.DialogueReferenceTests - 3/3 - Passed in 0.048s
- ✅ DialogueReference_CanFindValidNode - Passed in 0.040s
- ✅ DialogueReference_CannotFindInvalidNode - Passed in 0.004s
- ✅ DialogueReference_IsNotValidWhenEmpty - Passed in 0.004s
- ✅ Yarn.Unity.Tests.YarnImporterTests - 24/24 - Passed in 8.955s
- ✅ YarnEditorUtility_HasValidEditorResources - Passed in 0.176s
- ✅ YarnImporter_CanCreateNewProjectFromScript - Passed in 0.502s
- ✅ YarnImporter_CanCreateNewScript - Passed in 0.164s
- ✅ YarnImporter_CanCreateProjectAndScriptSimultaneously - Passed in 0.247s
- ✅ YarnImporter_OnCreatingScriptNoLineIDs_HasNoImplicitLineIDs - Passed in 0.375s
- ✅ YarnImporter_OnCreatingScriptWithNoLineIDs_HasImplicitLineIDs - Passed in 0.333s
- ✅ YarnImporter_OnNonJSONProjectFormat_CanUpgrade - Passed in 0.453s
- ✅ YarnImporter_OnNonJSONProjectFormat_ProducesUsefulError - Passed in 0.165s
- ✅ YarnImporter_ProgramCacheIsInvalidatedAfterReimport - Passed in 0.473s
- ✅ YarnImporterUtility_CanUpdateLocalizedCSVs_WhenBaseScriptChanges - Passed in 0.899s
- ✅ YarnProjectImporter_OnImport_CreatesLocalizations - Passed in 0.312s
- ✅ YarnProjectImporter_OnInvalidYarnFile_ImportsButDoesNotCompile - Passed in 0.327s
- ✅ YarnProjectImporter_OnLocalizationsConfigured_LocatesAssets - Passed in 0.404s
- ✅ YarnProjectImporter_OnLocalizationsSupplied_GeneratesExpectedLocalizations - Passed in 0.439s
- ✅ YarnProjectImporter_OnNoLocalizationsSupplied_GeneratesExpectedLocalizations - Passed in 0.414s
- ✅ YarnProjectImporter_OnValidYarnFile_GetExpectedStrings - Passed in 0.308s
- ✅ YarnProjectImporter_OnValidYarnFile_ImportsAndCompilesSuccessfully - Passed in 0.305s
- ✅ YarnProjectImporter_OnValidYarnFileWithMetadata_GeneratesLineMetadata - Passed in 0.304s
- ✅ YarnProjectImporter_OnValidYarnFileWithMetadata_GetExpectedLineMetadata - Passed in 0.319s
- ✅ YarnProjectImporter_OnValidYarnFileWithNoLineTags_CannotGetStrings - Passed in 0.285s
- ✅ YarnProjectImporter_OnValidYarnFileWithoutMetadata_GeneratesEmptyLineMetadata - Passed in 0.296s
- ✅ YarnProjectImporter_UpdatesLineMetadata_WhenBaseScriptChanges - Passed in 0.470s
- ✅ YarnProjectImporter_UpdatesLineMetadata_WhenBaseScriptChangesWithoutMetadata - Passed in 0.467s
- ✅ YarnProjectUtility_OnGeneratingLinesFile_CreatesFile - Passed in 0.519s
❌️ playmode-results.xml - 44/45, failed: 1 - Failed in 4.485s
- ✅ Yarn.Unity.Tests.CommandDispatchTests - 1/1 - Passed in 0.039s
- ✅ CommandDispatch_Passes - Passed in 0.039s
- ✅ Yarn.Unity.Tests.DialogueRunnerTests.HandleCommand_DispatchesCommands - 13/13 - Passed in 0.354s
- ✅ HandleCommand_DispatchesCommands("testCommandInteger DialogueRunner 1 2","3") - Passed in 0.025s
- ✅ HandleCommand_DispatchesCommands("testCommandString DialogueRunner a b","ab") - Passed in 0.024s
- ✅ HandleCommand_DispatchesCommands("testCommandString DialogueRunner "a b" "c d"","a bc d") - Passed in 0.028s
- ✅ HandleCommand_DispatchesCommands("testCommandGameObject DialogueRunner Sphere","Sphere") - Passed in 0.033s
- ✅ HandleCommand_DispatchesCommands("testCommandComponent DialogueRunner Sphere","Sphere's MeshRenderer") - Passed in 0.031s
- ✅ HandleCommand_DispatchesCommands("testCommandGameObject DialogueRunner DoesNotExist","(null)") - Passed in 0.024s
- ✅ HandleCommand_DispatchesCommands("testCommandComponent DialogueRunner DoesNotExist","(null)") - Passed in 0.024s
- ✅ HandleCommand_DispatchesCommands("testCommandNoParameters DialogueRunner","success") - Passed in 0.028s
- ✅ HandleCommand_DispatchesCommands("testCommandOptionalParams DialogueRunner 1","3") - Passed in 0.033s
- ✅ HandleCommand_DispatchesCommands("testCommandOptionalParams DialogueRunner 1 3","4") - Passed in 0.031s
- ✅ HandleCommand_DispatchesCommands("testCommandDefaultName DialogueRunner","success") - Passed in 0.026s
- ✅ HandleCommand_DispatchesCommands("testStaticCommand","success") - Passed in 0.023s
- ✅ HandleCommand_DispatchesCommands("testExternalAssemblyCommand","success") - Passed in 0.024s
- ✅ Yarn.Unity.Tests.DialogueRunnerTests.HandleCommand_FailsWhenParameterCountNotCorrect - 2/2 - Passed in 0.047s
- ✅ HandleCommand_FailsWhenParameterCountNotCorrect("testCommandOptionalParams DialogueRunner","requires between 1 and 2 parameters, but 0 were provided") - Passed in 0.024s
- ✅ HandleCommand_FailsWhenParameterCountNotCorrect("testCommandOptionalParams DialogueRunner 1 2 3","requires between 1 and 2 parameters, but 3 were provided") - Passed in 0.023s
- ✅ Yarn.Unity.Tests.DialogueRunnerTests.HandleCommand_FailsWhenParameterTypesNotValid - 1/1 - Passed in 0.027s
- ✅ HandleCommand_FailsWhenParameterTypesNotValid("testCommandInteger DialogueRunner 1 not_an_integer","Can't convert the given parameter") - Passed in 0.027s
- ✅ Yarn.Unity.Tests.DialogueRunnerTests.SplitCommandText_SplitsTextCorrectly - 8/8 - Passed in 0.228s
- ✅ SplitCommandText_SplitsTextCorrectly("one two three four",System.String[]) - Passed in 0.033s
- ✅ SplitCommandText_SplitsTextCorrectly("one "two three" four",System.String[]) - Passed in 0.032s
- ✅ SplitCommandText_SplitsTextCorrectly("one "two three four",System.String[]) - Passed in 0.032s
- ✅ SplitCommandText_SplitsTextCorrectly("one "two \"three" four",System.String[]) - Passed in 0.026s
- ✅ SplitCommandText_SplitsTextCorrectly("one \two three four",System.String[]) - Passed in 0.024s
- ✅ SplitCommandText_SplitsTextCorrectly("one "two \\ three" four",System.String[]) - Passed in 0.022s
- ✅ SplitCommandText_SplitsTextCorrectly("one "two \1 three" four",System.String[]) - Passed in 0.028s
- ✅ SplitCommandText_SplitsTextCorrectly("one two",System.String[]) - Passed in 0.031s
- ❌️ Yarn.Unity.Tests.DialogueRunnerTests - 13/14, failed: 1 - Failed in 1.028s
-
✅ AddCommandHandler_RegistersCommands - Passed in 0.081s
-
✅ AddCommandHandler_RegistersCoroutineCommands - Passed in 0.038s
-
✅ DialogueRunner_CanAccessInitialValues - Passed in 0.030s
-
✅ DialogueRunner_CanAccessNodeHeaders - Passed in 0.033s
-
✅ DialogueRunner_CanAccessNodeNames - Passed in 0.032s
-
✅ DialogueRunner_OnDialogueStartAndStop_CallsEvents - Passed in 0.527s
-
✅ DialogueRunner_WhenRestoringInvalidKey_FailsToLoad - Passed in 0.039s
-
✅ DialogueRunner_WhenStateSaved_CanRestoreState - Passed in 0.046s
-
✅ DialogueRunner_WhenStateSaved_CanRestoreState_PlayerPrefs - Passed in 0.041s
-
✅ HandleCommand_DispatchedCommands_StartCoroutines - Passed in 0.031s
-
✅ HandleLine_OnValidYarnFile_SendCorrectLinesToUI - Passed in 0.031s
-
✅ HandleLine_OnViewsArrayContainingNullElement_SendCorrectLinesToUI - Passed in 0.026s
-
✅ SaveAndLoad_BadSave - Passed in 0.032s
-
❌️ VariableStorage_OnExternalChanges_ReturnsExpectedValue - Failed in 0.041s
System.InvalidOperationException : Function round is not present in the library.
Dialogue Runner has no LineProvider; creating a TextLineProvider.
Running node VariableTest
Running node VariableTest
Running node FunctionTest
Running node FunctionTest2
Running node ExternalFunctionTest
Running node BuiltinsTestat Yarn.Library.GetFunction (System.String name) [0x00020] in <015661c7468d41c3b0a915d84199b7f6>:0 at Yarn.VirtualMachine.RunInstruction (Yarn.Instruction i) [0x00333] in <015661c7468d41c3b0a915d84199b7f6>:0 at Yarn.VirtualMachine.Continue () [0x0003f] in <015661c7468d41c3b0a915d84199b7f6>:0 at Yarn.Dialogue.Continue () [0x0000f] in <015661c7468d41c3b0a915d84199b7f6>:0 at Yarn.Unity.DialogueRunner.ContinueDialogue (System.Boolean dontRestart) [0x00025] in YarnSpinner/Packages/YarnSpinner/Runtime/DialogueRunner.cs:1123 at Yarn.Unity.DialogueRunner.StartDialogue (System.String startNode) [0x00170] in YarnSpinner/Packages/YarnSpinner/Runtime/DialogueRunner.cs:358 at Yarn.Unity.Tests.DialogueRunnerTests+<VariableStorage_OnExternalChanges_ReturnsExpectedValue>d__22.MoveNext () [0x00211] in YarnSpinner/Packages/YarnSpinner/Tests/Runtime/DialogueRunnerTests/DialogueRunnerTests.cs:486 at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in YarnSpinner/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
-
- ✅ Yarn.Unity.Tests.VariableStorageTests - 6/6 - Passed in 2.712s
- ✅ TestLoadingAndSettingAllVariables - Passed in 2.469s
- ✅ TestLoadingDefaultValues - Passed in 0.045s
- ✅ TestSavingAndLoadingFile - Passed in 0.072s
- ✅ TestSavingAndLoadingFile_PlayerPrefs - Passed in 0.046s
- ✅ TestVariableValuesFromYarnScript - Passed in 0.045s
- ✅ VariableStorage_OnUsingValueWithInvalidName_ThrowsError - Passed in 0.035s
Annotations
Check failure on line 1123 in YarnSpinner/Packages/YarnSpinner/Runtime/DialogueRunner.cs
github-actions / Test Results 2022.2.1f1-StandaloneWindows64
Yarn.Unity.Tests.DialogueRunnerTests.VariableStorage_OnExternalChanges_ReturnsExpectedValue
System.InvalidOperationException : Function round is not present in the library.
Raw output
Dialogue Runner has no LineProvider; creating a TextLineProvider.
Running node VariableTest
Running node VariableTest
Running node FunctionTest
Running node FunctionTest2
Running node ExternalFunctionTest
Running node BuiltinsTest
at Yarn.Library.GetFunction (System.String name) [0x00020] in <015661c7468d41c3b0a915d84199b7f6>:0
at Yarn.VirtualMachine.RunInstruction (Yarn.Instruction i) [0x00333] in <015661c7468d41c3b0a915d84199b7f6>:0
at Yarn.VirtualMachine.Continue () [0x0003f] in <015661c7468d41c3b0a915d84199b7f6>:0
at Yarn.Dialogue.Continue () [0x0000f] in <015661c7468d41c3b0a915d84199b7f6>:0
at Yarn.Unity.DialogueRunner.ContinueDialogue (System.Boolean dontRestart) [0x00025] in /github/workspace/YarnSpinner/Packages/YarnSpinner/Runtime/DialogueRunner.cs:1123
at Yarn.Unity.DialogueRunner.StartDialogue (System.String startNode) [0x00170] in /github/workspace/YarnSpinner/Packages/YarnSpinner/Runtime/DialogueRunner.cs:358
at Yarn.Unity.Tests.DialogueRunnerTests+<VariableStorage_OnExternalChanges_ReturnsExpectedValue>d__22.MoveNext () [0x00211] in /github/workspace/YarnSpinner/Packages/YarnSpinner/Tests/Runtime/DialogueRunnerTests/DialogueRunnerTests.cs:486
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in /github/workspace/YarnSpinner/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46