Commit Graph

31 Commits

Author SHA1 Message Date
Michael Rausch 24f9607e5a Added tests for the RaceTimerController #test #story[16] 2017-03-23 14:18:27 +13:00
Haoming Yin a2d06909c9 Finished config parser to read race info from external xml file
- created config parser unit test.
- modified config.xml file
- write unit test for config parser

#story[422]
2017-03-23 00:21:18 +13:00
Haoming Yin b88cf6a101 Merge branch 'refactor-file-parser' 2017-03-18 21:38:38 +13:00
Haoming Yin d10985f890 Finished team parser to read team info from external xml file
- created team parser unit test
- refactored team parser functions

#fix #refactor #implement
2017-03-18 21:32:12 +13:00
zyt10 c08504293b Created canvas and race controllers to display boats on canvas and modified marks and parsers to support them.
#story[377] #pair[zyt10, ptg19]
2017-03-17 18:21:11 +13:00
Haoming Yin 8fd06c84ac Merged the refactored mark related class with course parser.
#fix #refactor #story[9] #story[10] #story[11]
2017-03-17 15:56:37 +13:00
Haoming Yin 23b163e6c1 Merge branch 'master' into refactor-file-parser
# Conflicts:
#	src/main/java/seng302/models/GateMark.java
2017-03-17 15:44:16 +13:00
Haoming Yin 0b3ebf229f Refactor mark related classes.
- Mark is an abstract class which containing its name and type
- Single Mark is a sub class of Mark which containing only one GPS location
- Gate Mark is a sub class of Mark which containing two Single Marks

#refactor #fix #story[10] #story[11] #story[12]
2017-03-17 15:21:04 +13:00
Michael Rausch d6fe155d4d Changed distance calculation to use latitude and longitude
Tags: #fix
2017-03-17 11:08:35 +13:00
Ryan Tan 44d4f25413 Implemented Color Enum & boat will call function from enum to get next color. Using static colour cycling for now.
#story[377]
2017-03-17 00:57:50 +13:00
Haoming Yin e7ba9d962d Deleted and modified previous sprint parser to cater the sprint2’s new requirement
- also added new method for GateMark

#story[9] #story[10] #fix
2017-03-17 00:53:08 +13:00
Haoming Yin b7631c0b46 Create unit test for course parser, and modified course xml file
#implement #fix #story[10] #story[9]
2017-03-17 00:51:16 +13:00
Michael Rausch 94e4e853c3 Removed Legs from the race, using coordinates instead
Tags: #implement #refactor #test #story[9]
2017-03-16 20:29:17 +13:00
Peter 11c5e1e9ba Added gate mark and refactored marker to mark #story[378] 2017-03-16 16:11:48 +13:00
Peter 550812d8e1 Currently displaying basic javafx window with canvas. Also changed the file structure a bit.
At this point the javafx is not tied to the old code in any way #story[377]
2017-03-15 18:16:43 +13:00
Haoming Yin debe2c0cca Fixed documentation for FileParserTest and LegTest
#document #fix
2017-03-09 14:52:13 +13:00
Michael Rausch 8d85557e10 Added tests
Tags: #test
2017-03-09 12:22:38 +13:00
Haoming Yin b0cd7c8c08 Reformatted doctring and import statements 2017-03-08 14:45:06 +13:00
Haoming Yin 245fbc75c2 Fixed file parser test 2017-03-08 14:25:41 +13:00
Michael Rausch ab1445f1c2 Race events now display the boats heading and direction
- The boats velocity is being read from the config file
- The event text is now being printed when the leg starts #fix

Tags: #story[7] #implement
2017-03-08 12:31:31 +13:00
Haoming Yin 17fbb1212d Added Event class and junit test
- event class contains the time of specific event, related team/boat and even location eg. leg.

#implement #story[5]
2017-03-07 20:30:23 +13:00
Haoming Yin 0e562a38e2 Merge branch 'update-parser' into 'master'
Update parser



See merge request !7
2017-03-06 21:51:02 +13:00
Haoming Yin c9b0942e07 Updated unit test for future FileParser
- changed valid file test case

#test
2017-03-06 21:39:53 +13:00
Haoming Yin 90aed14ddc Updated test file for unit test
- added race size represented the number of teams who would compete in a race
- changed teams to an array containing maps of each team within team name and boat velocity

#test #story[8] #story[6]
2017-03-06 21:38:25 +13:00
Michael Rausch 8c0cc67ae3 Add tests for the Leg class
Tags: #test #story[4]
2017-03-06 19:29:47 +13:00
Haoming Yin b9b3409591 Added tests for FileParser class, as well as test files 2017-03-05 21:21:22 +13:00
Michael Rausch e6d899f7b1 Fixed a test for the Race class
- Fixed a typo causing the test to fail
- #test #fix
2017-03-04 19:34:36 +13:00
Michael Rausch 1b345d4747 Added tests for the Race class
- Added a test to ensure all boats entered into the race also finish it
- #test
2017-03-04 19:30:00 +13:00
Michael Rausch 4b2141190d Added tests for the Race class #test 2017-03-03 18:23:24 +13:00
Michael Rausch 527afdb4a9 Created boat class & tests 2017-03-03 16:22:31 +13:00
SENG302 9649f67863 initial commit 2016-03-01 19:08:07 +13:00