Permalink
Browse files

Use correct TestCase class name in JUnit XML so Jenkins sorts tests c…

…orrectly
  • Loading branch information...
1 parent 73cbae5 commit d305642722d059fd9e83394a4d75fd8c5676a473 @Pretz Pretz committed Jul 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/GHTest/GHTest+JUnitXML.m
  2. 0 Scripts/RunTests.sh
@@ -38,7 +38,7 @@ @implementation GHTest(JUnitXML)
- (NSString *)JUnitXML {
return [NSString stringWithFormat:
@"<testcase name=\"%@\" classname=\"%@\" time=\"%0.4f\">%@</testcase>",
- self.name, [self class], self.interval,
+ self.name, [self.target class], self.interval,
(self.exception ? [NSString stringWithFormat:@"<failure message=\"%@\">%@</failure>", [[self.exception description] gtm_stringBySanitizingAndEscapingForXML],
[[GHTesting descriptionForException:self.exception] gtm_stringBySanitizingAndEscapingForXML]] : @"")];
}
View
0 Scripts/RunTests.sh 100644 → 100755
No changes.

0 comments on commit d305642

Please sign in to comment.