Opened 8 years ago
Closed 8 years ago
#3614 closed defect (fixed)
Test fail - cmpAttack.GetPreference is not a function
Reported by: | elexis | Owned by: | mimo |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 19 |
Component: | UI & Simulation | Keywords: | |
Cc: | mimo | Patch: |
Description
Since r17264 the tests fail:
ERROR: JavaScript error: simulation/components/UnitAI.js line 5854 TypeError: cmpAttack.GetPreference is not a function UnitAI.prototype.AttackEntitiesByPreference@simulation/components/UnitAI.js:5854:7 UnitAI.prototype.FindNewTargets@simulation/components/UnitAI.js:5346:2 UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.IDLE.enter@simulation/components/UnitAI.js:1471:1 FSM.prototype.SwitchToNextState@simulation/helpers/FSM.js:376:1 FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:284:4 UnitAI.prototype.SetFormationController@simulation/components/UnitAI.js:4681:39 Formation.prototype.Disband@simulation/components/Formation.js:427:3 TestFormationExiting@simulation/components/tests/test_UnitAI.js:156:2 @simulation/components/tests/test_UnitAI.js:316:1 In TestComponentScripts::test_scripts: /0ad/source/simulation2/components/tests/test_scripts.h:44: Error: Test failed: L"Running script simulation/components/tests/test_UnitAI.js" /0ad/source/simulation2/components/tests/test_scripts.h:44: Error: Assertion failed: scriptInterface.LoadScript(pathname, content
Reported by Bichtiades.
Change History (1)
comment:1 by , 8 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 17266: