Examples of CategorizedReportEntry


Examples of org.apache.maven.surefire.report.CategorizedReportEntry

        }
        catch ( RuntimeException e )
        {
            StackTraceWriter stackTraceWriter =
                new LegacyPojoStackTraceWriter( "org.apache.tests.TestClass", "testMethod11", e );
            return new CategorizedReportEntry( "com.abc.TestClass", "testMethod", "aGroup", stackTraceWriter, 77 );
        }
    }
View Full Code Here

Examples of org.apache.maven.surefire.report.CategorizedReportEntry

        }
        catch ( RuntimeException e )
        {
            StackTraceWriter stackTraceWriter =
                new LegacyPojoStackTraceWriter( "org.apache.tests.TestClass", "testMethod11", e );
            return new CategorizedReportEntry( "com.abc.TestClass", "testMethod", "aGroup", stackTraceWriter, 77 );
        }
    }
View Full Code Here

Examples of org.apache.maven.surefire.report.CategorizedReportEntry

    public void onTestStart( ITestResult result )
    {
        String rawString = bundle.getString( "testStarting" );
        String group = groupString( result.getMethod().getGroups(), result.getTestClass().getName() );
        ReportEntry report =
            new CategorizedReportEntry( getSource( result ), getUserFriendlyTestName( result ), group );
        reporter.testStarting( report );
    }
View Full Code Here

Examples of org.apache.maven.surefire.report.CategorizedReportEntry

        }
    }

    private ReportEntry createReportEntry( ReportEntry reportEntry )
    {
        return new CategorizedReportEntry( reportEntry.getSourceName(), reportEntry.getName(), reportEntry.getGroup(),
                                           reportEntry.getStackTraceWriter(), getElapsed(), reportEntry.getMessage() );
    }
View Full Code Here

Examples of org.apache.maven.surefire.report.CategorizedReportEntry

    }

    private ReportEntry createReportEntry()
    {
        int elapsed = (int) ( endTime - startTime );
        return new CategorizedReportEntry( description.getSourceName(), description.getName(), description.getGroup(),
                                           description.getStackTraceWriter(), elapsed, description.getMessage() );
    }
View Full Code Here

Examples of org.apache.maven.surefire.report.CategorizedReportEntry

    public void onTestStart( ITestResult result )
    {
        String rawString = bundle.getString( "testStarting" );
        String group = groupString( result.getMethod().getGroups(), result.getTestClass().getName() );
        ReportEntry report =
            new CategorizedReportEntry( getSource( result ), getUserFriendlyTestName( result ), group );
        reporter.testStarting( report );
    }
View Full Code Here

Examples of org.apache.maven.surefire.report.CategorizedReportEntry

    this.consoleLogger = consoleLogger;
  }

  @Override
  public void notifyStart(TestContext<T> context) {
    rl.testStarting(new CategorizedReportEntry(
        underTest.getCanonicalName(), context.getFullTestName(),
        context.getTestCategories()));
  }
View Full Code Here

Examples of org.apache.maven.surefire.report.CategorizedReportEntry

        context.getTestCategories()));
  }

  @Override
  public void notifySuccess(TestContext<T> context) {
    rl.testSucceeded(new CategorizedReportEntry(underTest
        .getCanonicalName(), context.getFullTestName(), context
        .getTestCategories()));
  }
View Full Code Here

Examples of org.apache.maven.surefire.report.CategorizedReportEntry

        .getTestCategories()));
  }

  @Override
  public void notifyFailure(TestContext<T> context, Throwable cause) {
    rl.testFailed(new CategorizedReportEntry(underTest.getCanonicalName(),
        context.getFullTestName(), context.getTestCategories(),
        new LegacyPojoStackTraceWriter(underTest.getCanonicalName(),
            context.getFullTestName(), cause), null));
  }
View Full Code Here

Examples of org.apache.maven.surefire.report.CategorizedReportEntry

            context.getFullTestName(), cause), null));
  }

  @Override
  public void notifySetStart(String setName, String groups) {
    rl.testSetStarting(new CategorizedReportEntry(underTest
        .getCanonicalName(), setName, groups));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.