org.sonar.api.test
Interface TestCase

All Known Subinterfaces:
MutableTestCase

public interface TestCase


Nested Class Summary
static class TestCase.Status
           
 
Field Summary
static String TYPE_INTEGRATION
           
static String TYPE_UNIT
           
 
Method Summary
 int countCoveredLines()
           
 CoverageBlock coverageBlock(Testable testable)
           
 Iterable<CoverageBlock> coverageBlocks()
           
 boolean doesCover()
           
 Long durationInMs()
          Duration in milliseconds
 String message()
           
 String name()
           
 String stackTrace()
           
 TestCase.Status status()
           
 TestPlan testPlan()
           
 String type()
           
 

Field Detail

TYPE_UNIT

static final String TYPE_UNIT
See Also:
Constant Field Values

TYPE_INTEGRATION

static final String TYPE_INTEGRATION
See Also:
Constant Field Values
Method Detail

durationInMs

Long durationInMs()
Duration in milliseconds


type

String type()

status

TestCase.Status status()

name

String name()

message

String message()

stackTrace

String stackTrace()

testPlan

TestPlan testPlan()

doesCover

boolean doesCover()

countCoveredLines

int countCoveredLines()

coverageBlocks

Iterable<CoverageBlock> coverageBlocks()

coverageBlock

CoverageBlock coverageBlock(Testable testable)


Copyright © 2009–2014 SonarSource. All rights reserved.