[MT] New Maptool java contributor
Posted: Fri Apr 17, 2015 7:56 pm
Hello everyone!
I've only quite recently found out about Maptool and I'm already quite fond of it. I've been on the lookout for an open-soure project that I can contribute towards for quite some time. So it was with great delight that I discovered Maptool!
Short introduction: I'm a 26 year old male from Lund in Sweden. I'm in my final year of acquiring a bachelor's degree in computer science. However, long before I even considered a career in computer science I was having fun with my friends role playing. It started out with Vampire: the Masquerade and GURPS Bunnies & Burrows. Since then I've had the time to try out a lot of different role playing games including D&D4e and a couple of different indie games.
I have snagged task 15.5 (setTokenheight/width) and it's almost complete. I have a couple of questions though:
1. Are there any specific style guides I should follow? I've been looking at the code and trying to follow its example, but it seems to be inconsistent in places.
2. What kind of Object is the method childEvaluate in TokenPropertyFunctions supposed to return? More specifically in this case where the function is a "set-method"?
3. All JUnit test cases don't pass when I try to run them, despite using an unmodified clone of the repository. Is the repo "dirty" or is there something wrong on my end?
4. How do we handle automatic regression testing? I'm trying to write a JUnit test case for task 15.5 but I keep getting errors/exceptions.
I've only quite recently found out about Maptool and I'm already quite fond of it. I've been on the lookout for an open-soure project that I can contribute towards for quite some time. So it was with great delight that I discovered Maptool!
Short introduction: I'm a 26 year old male from Lund in Sweden. I'm in my final year of acquiring a bachelor's degree in computer science. However, long before I even considered a career in computer science I was having fun with my friends role playing. It started out with Vampire: the Masquerade and GURPS Bunnies & Burrows. Since then I've had the time to try out a lot of different role playing games including D&D4e and a couple of different indie games.
I have snagged task 15.5 (setTokenheight/width) and it's almost complete. I have a couple of questions though:
1. Are there any specific style guides I should follow? I've been looking at the code and trying to follow its example, but it seems to be inconsistent in places.
2. What kind of Object is the method childEvaluate in TokenPropertyFunctions supposed to return? More specifically in this case where the function is a "set-method"?
3. All JUnit test cases don't pass when I try to run them, despite using an unmodified clone of the repository. Is the repo "dirty" or is there something wrong on my end?
4. How do we handle automatic regression testing? I'm trying to write a JUnit test case for task 15.5 but I keep getting errors/exceptions.