Page MenuHomeWildfire Games

Unit tests for JS Pack component
ClosedPublic

Authored by fatherbushido on Mar 20 2017, 10:16 PM.

Details

Reviewers
wraitii
Itms
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rP19350: Unit tests for JS Pack component
Summary

Unit tests.

Test Plan

Irrelevant.

Diff Detail

Repository
rP 0 A.D. Public Repository
Branch
/ps/trunk
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 833
Build 1312: Vulcan BuildJenkins
Build 1311: arc lint + arc unit

Event Timeline

fatherbushido created this revision.Mar 20 2017, 10:16 PM
Vulcan added a subscriber: Vulcan.Mar 20 2017, 11:01 PM

Build is green

Updating workspaces.
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (305 tests).................................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (305 tests).................................................................................................................................................................................................................................................................................................................OK!

http://jw:8080/job/phabricator/557/ for more details.

I just noticed a few missing semicolons.

binaries/data/mods/public/simulation/components/tests/test_Pack.js
81

Missing semicolon.

84

Missing semicolon.

106

Missing semicolon.

114

Missing semicolon.

117

Missing semicolon.

Missing semicolon noticed by Sandarac

Build is green

Updating workspaces.
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (305 tests).................................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (305 tests).................................................................................................................................................................................................................................................................................................................OK!

http://jw:8080/job/phabricator/559/ for more details.

Actually test unpack completion.

Owners added subscribers: Restricted Owners Package, Restricted Owners Package, Restricted Owners Package.Mar 22 2017, 1:27 PM

Build is green

Updating workspaces.
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (305 tests).................................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (305 tests).................................................................................................................................................................................................................................................................................................................OK!

http://jw:8080/job/phabricator/566/ for more details.

eol-style=native

Remove unrelated files

Build is green

Updating workspaces.
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (305 tests).................................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (305 tests).................................................................................................................................................................................................................................................................................................................OK!

http://jw:8080/job/phabricator/567/ for more details.

Build is green

Updating workspaces.
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (305 tests).................................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (305 tests).................................................................................................................................................................................................................................................................................................................OK!

http://jw:8080/job/phabricator/568/ for more details.

Explain the 250 const as suggested by wraitii

wraitii accepted this revision.Mar 27 2017, 1:32 PM
This revision is now accepted and ready to land.Mar 27 2017, 1:32 PM

Add native eol-style property

Build is green

Updating workspaces.
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (305 tests).................................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (305 tests).................................................................................................................................................................................................................................................................................................................OK!

http://jw:8080/job/phabricator/615/ for more details.

This revision was automatically updated to reflect the committed changes.

Build is green

Updating workspaces.
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (305 tests).................................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (305 tests).................................................................................................................................................................................................................................................................................................................OK!

http://jw:8080/job/phabricator/616/ for more details.