~ubuntu-branches/ubuntu/raring/testng/raring

« back to all changes in this revision

Viewing changes to src/main/org/testng/reporters/TestHTMLReporter.java

  • Committer: Bazaar Package Importer
  • Author(s): Marcus Better
  • Date: 2010-04-25 09:42:04 UTC
  • mfrom: (1.1.2 upstream) (2.1.3 maverick)
  • Revision ID: james.westby@ubuntu.com-20100425094204-rg6mw229trcyyd63
* New upstream version.
* Switch to source format 3.0 (quilt). Thanks to Raphael
  Hertzog. (Closes: #538708)
* Disable tests that fail with qdox 1.11. Thanks to Daniel Schepler
  (Closes: #577477).
* debian/control: Bump standards-version (no changed needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
314
314
  
315
315
  private static class NameComparator implements Comparator<ITestResult> {
316
316
    public int compare(ITestResult o1, ITestResult o2) {
317
 
      String c1 = o1.getName();
318
 
      String c2 = o2.getName();
 
317
      String c1 = o1.getMethod().getMethodName();
 
318
      String c2 = o2.getMethod().getMethodName();
319
319
      return c1.compareTo(c2);
320
320
    }
321
321