Skip to content

Merge pull request #318 from crashkonijn/fix/toggle-config-in-graph-v… #66

Merge pull request #318 from crashkonijn/fix/toggle-config-in-graph-v…

Merge pull request #318 from crashkonijn/fix/toggle-config-in-graph-v… #66

GitHub Actions / 2021.3.42f1 editmode Test Results completed Dec 5, 2024 in 0s

✅ 2021.3.42f1 editmode Test Results - 125/125 - Passed in 3.014s

✅ editmode-results.xml - 125/125 - Passed in 3.014s

Details

✅ editmode-results.xml - 125/125 - Passed in 3.014s
  • ✅ CrashKonijn.Goap.UnitTests.ActionRunnerTests - 21/21 - Passed in 0.511s
    • MoveBeforePerforming_WhenInRange_ShouldPerformAction - Passed in 0.378s
    • MoveBeforePerforming_WhenInRange_ShouldSetMoveStateToInRange - Passed in 0.005s
    • MoveBeforePerforming_WhenInRange_ShouldSetStateToPerformingAction - Passed in 0.004s
    • MoveBeforePerforming_WhenNotInRange_ShouldMove - Passed in 0.009s
    • MoveBeforePerforming_WhenNotInRange_ShouldSetMoveStateToOutOfRange - Passed in 0.004s
    • MoveBeforePerforming_WhenNotInRange_ShouldSetStateToMovingToTarget - Passed in 0.004s
    • MoveBeforePerforming_WhenNotInRangeAndStateIsPerformingAction_ShouldNotSetStateToMovingToTarget - Passed in 0.005s
    • PerformAction_ContinueRunState_ShouldPerformAction - Passed in 0.019s
    • PerformAction_IsCompletedRunState_ShouldNotPerformAction - Passed in 0.008s
    • PerformAction_NoRunState_ShouldPerformAction - Passed in 0.005s
    • PerformAction_ReturnedCompleteState_ShouldCompleteAction - Passed in 0.005s
    • PerformAction_ReturnedContinueState_ShouldContinueAction - Passed in 0.006s
    • PerformAction_ReturnedStopState_ShouldStopAction - Passed in 0.009s
    • PerformAction_ShouldStopRunState_ShouldNotPerformAction - Passed in 0.005s
    • PerformWhileMoving_WhenInRange_ShouldPerformAction - Passed in 0.005s
    • PerformWhileMoving_WhenInRange_ShouldSetMoveStateToInRange - Passed in 0.006s
    • PerformWhileMoving_WhenInRange_ShouldSetStateToPerformingAction - Passed in 0.006s
    • PerformWhileMoving_WhenNotInRange_ShouldMove - Passed in 0.006s
    • PerformWhileMoving_WhenNotInRange_ShouldSetMoveStateToOutOfRange - Passed in 0.009s
    • PerformWhileMoving_WhenNotInRange_ShouldSetStateToMovingWhilePerformingAction - Passed in 0.004s
    • Run_WhenRunIsNotValid_ShouldStopAction - Passed in 0.010s
  • ✅ CrashKonijn.Goap.UnitTests.AgentBehaviourTests - 18/18 - Passed in 0.400s
    • ActionPerform_WithRunStateStop_CallsEnd - Passed in 0.270s
    • EndAction_CallsActionEndEvent - Passed in 0.006s
    • EndAction_CallsEndOnAction - Passed in 0.010s
    • EndAction_ClearsAction - Passed in 0.017s
    • EndAction_ClearsActionData - Passed in 0.004s
    • EndAction_ShouldResolveAgent - Passed in 0.016s
    • OnDisable_CallsUnregister - Passed in 0.008s
    • OnEnable_CallsRegister - Passed in 0.009s
    • RequestGoal_ResolveFalse_DoesntCallResolve - Passed in 0.018s
    • RequestGoal_ResolveTrue_DoesCallResolve - Passed in 0.003s
    • RequestGoal_SetsGoalRequest - Passed in 0.009s
    • SetAction_CallsActionStartEvent - Passed in 0.004s
    • SetAction_CallsEndOnOldAction - Passed in 0.004s
    • SetAction_CallsGetData - Passed in 0.004s
    • SetAction_CallsStartOnAction - Passed in 0.004s
    • SetAction_SetsAction - Passed in 0.005s
    • SetAction_StoresData - Passed in 0.004s
    • SetAction_StoresPath - Passed in 0.006s
  • ✅ CrashKonijn.Goap.UnitTests.AgentTypeJobRunnerTests - 13/13 - Passed in 0.435s
    • Run_AgentHasCompletedGoal_CallsGoalCompleteEvent - Passed in 0.269s
    • Run_AgentHasCurrentGoalAndAction_ResolvingSameActionDoesntCallSet - Passed in 0.022s
    • Run_AgentHasCurrentGoalAndDoesHaveAction_Runs - Passed in 0.009s
    • Run_AgentHasCurrentGoalAndNoAction_Runs - Passed in 0.009s
    • Run_AgentHasCurrentGoalAndNoAction_RunsWithMultipleGoals - Passed in 0.058s
    • Run_AgentHasCurrentGoalAndNoAction_SetsTheActionOnAgent - Passed in 0.009s
    • Run_AgentHasNoCurrentGoalRequest_DoesNotRun - Passed in 0.012s
    • Run_AgentHasNotCompletedGoal_DoesntCallGoalCompleteEvent - Passed in 0.009s
    • Run_AgentWithMisMatchingAgentTypes_DoesntRun - Passed in 0.007s
    • Run_UpdatesSensorRunner - Passed in 0.010s
    • Run_WithAtLeastOneAgent_SensesGlobalSensors - Passed in 0.006s
    • Run_WithMultipleGoals_DoesntResolveCompletedGoal - Passed in 0.009s
    • Run_WithNoAgens_SensesGlobalSensors - Passed in 0.005s
  • ✅ CrashKonijn.Goap.UnitTests.ClassResolverTests - 3/3 - Passed in 0.062s
    • Load_LoadsGoal - Passed in 0.037s
    • Load_LoadsTargetSensorConfig - Passed in 0.012s
    • Load_LoadsWorldSensorConfig - Passed in 0.012s
  • ✅ CrashKonijn.Goap.UnitTests.ConditionObserverTests - 4/4 - Passed in 0.052s
    • IsMet_Negative_IsNotPresent - Passed in 0.033s
    • IsMet_Negative_IsPresent - Passed in 0.015s
    • IsMet_Positive_IsNotPresent - Passed in 0.002s
    • IsMet_Positive_IsPresent - Passed in 0.002s
  • ✅ CrashKonijn.Goap.UnitTests.GoapActionBaseTests.IsValid_ShouldCall_CustomIsValid - 4/4 - Passed in 0.036s
    • IsValid_ShouldCall_CustomIsValid(False) - Passed in 0.026s
    • IsValid_ShouldCall_CustomIsValid(True) - Passed in 0.001s
    • IsValid_ShouldCall_CustomIsValid(20.0f) - Passed in 0.008s
    • IsValid_ShouldCall_CustomIsValid(10.0f) - Passed in 0.001s
  • ✅ CrashKonijn.Goap.UnitTests.GoapActionProviderTests - 1/1 - Passed in 0.016s
    • SetAction_ShouldThrowGoalStartEvent - Passed in 0.016s
  • ✅ CrashKonijn.Goap.UnitTests.GraphBuilderTests - 4/4 - Passed in 0.108s
    • Build_GivenActions_ReturnsGraph - Passed in 0.094s
    • Build_GivenActionsWithConflictingConditions_ShouldNotConnect - Passed in 0.007s
    • Build_GivenActionWithUnmatchedEffects_ShouldBeUnconnected - Passed in 0.003s
    • Build_GivenOppositeConditions_ShouldNotBeConnected - Passed in 0.003s
  • ✅ CrashKonijn.Goap.UnitTests.GraphResolverTests.Resolve_Should_HandleMultipleStartIndex - 2/2 - Passed in 0.418s
    • Resolve_Should_HandleMultipleStartIndex(True) - Passed in 0.410s
    • Resolve_Should_HandleMultipleStartIndex(False) - Passed in 0.008s
  • ✅ CrashKonijn.Goap.UnitTests.GraphResolverTests.Resolve_ShouldNot_PickFirstItem - 4/4 - Passed in 0.033s
    • Resolve_ShouldNot_PickFirstItem(True,1.0f) - Passed in 0.020s
    • Resolve_ShouldNot_PickFirstItem(True,0.0f) - Passed in 0.005s
    • Resolve_ShouldNot_PickFirstItem(False,1.0f) - Passed in 0.006s
    • Resolve_ShouldNot_PickFirstItem(False,0.0f) - Passed in 0.002s
  • ✅ CrashKonijn.Goap.UnitTests.GraphResolverTests.Resolve_ShouldUseDistanceMultiplier - 2/2 - Passed in 0.008s
    • Resolve_ShouldUseDistanceMultiplier(True) - Passed in 0.005s
    • Resolve_ShouldUseDistanceMultiplier(False) - Passed in 0.003s
  • ✅ CrashKonijn.Goap.UnitTests.GraphResolverTests - 13/13 - Passed in 0.158s
    • Resolve_Should_UseDistanceCorrectly - Passed in 0.015s
    • Resolve_Should_UseUnmetConditionsInHeuristics - Passed in 0.010s
    • Resolve_ShouldIncludeCostHeuristics - Passed in 0.006s
    • Resolve_ShouldIncludeLocationHeuristics - Passed in 0.020s
    • Resolve_ShouldNotResolve_ActionWithFalseConditionWithoutConnections - Passed in 0.013s
    • Resolve_ShouldNotResolve_ChildOfDisabledAction - Passed in 0.012s
    • Resolve_ShouldNotResolve_CompletedCondition - Passed in 0.020s
    • Resolve_ShouldNotResolve_DisabledAction - Passed in 0.005s
    • Resolve_WithMultipleConnections_ReturnsExecutableAction - Passed in 0.005s
    • Resolve_WithNestedConnections_ReturnsExecutableAction - Passed in 0.025s
    • Resolve_WithNoActions_ReturnsEmptyList - Passed in 0.009s
    • Resolve_WithOneExecutableConnection_ReturnsAction - Passed in 0.009s
    • Resolve_WithOneExecutableConnection_ReturnsGoal - Passed in 0.008s
  • ✅ CrashKonijn.Goap.UnitTests.ManualControllerTests - 1/1 - Passed in 0.078s
    • OnAgentResolve_CallsRunAndComplete - Passed in 0.078s
  • ✅ CrashKonijn.Goap.UnitTests.MultiSensorBaseTests - 6/6 - Passed in 0.247s
    • AddLocalAndGlobalTargetSensor_AddsSensorsCorrectly - Passed in 0.087s
    • AddLocalAndGlobalWorldSensor_AddsSensorsCorrectly - Passed in 0.011s
    • GetSensors_ReturnsCorrectSensorNames - Passed in 0.025s
    • Sense_AddsGlobalDataCorrectly - Passed in 0.052s
    • Sense_AddsLocalDataCorrectly - Passed in 0.040s
    • Sense_CallsLocalAndGlobalSensors - Passed in 0.032s
  • ✅ CrashKonijn.Goap.UnitTests.ProactiveControllerTests - 4/4 - Passed in 0.060s
    • OnLateUpdate_CompleteCalledOnAgentTypeRunners - Passed in 0.012s
    • OnUpdate_ResolveActionCalledWhenResolveTimeExpired - Passed in 0.019s
    • OnUpdate_ResolveActionNotCalledWhenResolveTimeNotExpired - Passed in 0.011s
    • OnUpdate_RunCalledOnAgentTypeRunners - Passed in 0.018s
  • ✅ CrashKonijn.Goap.UnitTests.ReactiveControllerTests - 2/2 - Passed in 0.013s
    • OnLateUpdate_CompleteCalledOnAgentTypeRunners - Passed in 0.008s
    • OnUpdate_RunCalledOnAgentTypeRunners - Passed in 0.005s
  • ✅ CrashKonijn.Goap.UnitTests.SensorRunnerTests - 7/7 - Passed in 0.053s
    • SenseGlobal_GlobalSensor_CallsSense - Passed in 0.020s
    • SenseGlobal_LocalSensor_DoesntCallsSense - Passed in 0.007s
    • SenseGlobal_MultiSensor_CallsSense - Passed in 0.007s
    • SenseLocal_GlobalSensor_DoesntCallsSense - Passed in 0.005s
    • SenseLocal_LocalSensor_CallsSense - Passed in 0.003s
    • SenseLocal_MultiSensor_CallsSense - Passed in 0.003s
    • SenseLocal_WithAgent_OnlyRunsMatchingKey - Passed in 0.008s
  • ✅ CrashKonijn.Goap.UnitTests.Validators.TargetKeySensorsValidatorTests - 4/4 - Passed in 0.065s
    • Validate_MissingSensor_ShouldReturnWarning - Passed in 0.049s
    • Validate_NoMissingSensor_ShouldReturnNoWarning - Passed in 0.010s
    • Validate_WithNullSensorWorldKey_ShouldReturnNoWarnings - Passed in 0.003s
    • Validate_WithNullWorldKey_ShouldReturnNoWarnings - Passed in 0.003s
  • ✅ CrashKonijn.Goap.UnitTests.Validators.WorldKeySensorsValidatorTests - 4/4 - Passed in 0.036s
    • Validate_MissingSensor_ShouldReturnWarning - Passed in 0.019s
    • Validate_NoMissingSensor_ShouldReturnNoWarning - Passed in 0.010s
    • Validate_WithNullSensorWorldKey_ShouldReturnNoWarnings - Passed in 0.003s
    • Validate_WithNullWorldKey_ShouldReturnNoWarnings - Passed in 0.003s
  • ✅ CrashKonijn.Goap.UnitTests.WorldDataBaseTests - 8/8 - Passed in 0.042s
    • GetTarget_ReturnsCorrectTarget - Passed in 0.019s
    • IsTrue_Generic_ReturnsCorrectResult - Passed in 0.007s
    • IsTrue_Instance_ReturnsCorrectResult - Passed in 0.002s
    • SetParent_UpdatesStatesAndTargetsCorrectly - Passed in 0.005s
    • SetState_Generic_AddsStateCorrectly - Passed in 0.002s
    • SetState_Instance_AddsStateCorrectly - Passed in 0.002s
    • SetTarget_Generic_AddsTargetCorrectly - Passed in 0.002s
    • SetTarget_Instance_AddsTargetCorrectly - Passed in 0.004s