DynamoDS / RevitTestFramework

Unit Testing on Revit
124 stars 81 forks source link

Fix an issue that RTF fails to run some test cases #13

Closed Randy-Ma closed 10 years ago

Randy-Ma commented 10 years ago

@ikeough

If a test case does not belong to any category, the Category property will be null. An attempt to access the property will throw an exception and the test case will not run.

Also when the category information is read in, the first test case in the category will be set with a category of null by mistake.

This submission fixes the two errors.

Randy-Ma commented 10 years ago

@ikeough

As the issues are blocking some test cases from running, I will merge the code first. Could you help review the code? If there is anything wrong, I will make a new submission.

ikeough commented 10 years ago

Thanks @Randy-Ma. You merged this before I could get to it :)