#4124 closed enhancement (fixed)
[PATCH] Auras Tests
Reported by: | fatherbushido | Owned by: | elexis |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 22 |
Component: | UI & Simulation | Keywords: | patch |
Cc: | Patch: |
Description
Some Auras component tests.
Attachments (1)
Change History (5)
comment:2 by , 8 years ago
Milestone: | Alpha 21 → Alpha 22 |
---|
comment:4 by , 8 years ago
Keywords: | rfc removed |
---|
switch(name)
->switch (name)
- Some missing quotes
- Missing newlines after
name, cmpAuras) => {
- Some mixed leading whitespace if it wasn't my addition
- Removed duplicate
DataTemplateManager
object code. If you further need to distinguish that object in future tests, you could usevar tests = [ { "DataTemplateManager": { ... }, "test_function": (foo) => bar }, ... ];
Note:
See TracTickets
for help on using tickets.
The patch currently tests different auras types.
I plan to tests ownership changes, team bonus (player as aura source, diplomacy changes), required techs and finally add some regression tests about old weird sneakies bugs we encountered.