org.tap4j.parser
Interface Parser

Package class diagram package Parser
All Known Implementing Classes:
Tap13Parser, Tap13YamlParser

public interface Parser

TAP regex parser.

Since:
1.0

Field Summary
static Pattern BAIL_OUT_PATTERN
          TAP Bail Out! Regex Pattern.
static Pattern COMMENT_PATTERN
          TAP Comment Regex Pattern.
static Pattern FOOTER_PATTERN
          TAP Footer Regex Pattern.
static Pattern HEADER_PATTERN
          TAP Header Regex Pattern.
static Pattern PLAN_PATTERN
          TAP Plan Regex Pattern.
static String REGEX_BAIL_OUT
          TAP Bail Out! Regex.
static String REGEX_COMMENT
          TAP Comment Regex.
static String REGEX_FOOTER
          TAP Footer Regex.
static String REGEX_HEADER
          TAP Header Regex.
static String REGEX_PLAN
          TAP Plan Regex.
static String REGEX_TEST_RESULT
          TAP Test Result Regex.
static Pattern TEST_RESULT_PATTERN
          TAP Test Result Regex Pattern.
 
Method Summary
 TestSet parseFile(File tapFile)
          Parses a TAP File.
 void parseLine(String tapLine)
          Parses a Test Result.
 TestSet parseTapStream(String tapStream)
          Parses a TAP Stream.
 

Field Detail

REGEX_HEADER

static final String REGEX_HEADER
TAP Header Regex.

See Also:
Constant Field Values

REGEX_PLAN

static final String REGEX_PLAN
TAP Plan Regex.

See Also:
Constant Field Values

REGEX_TEST_RESULT

static final String REGEX_TEST_RESULT
TAP Test Result Regex.

See Also:
Constant Field Values

REGEX_BAIL_OUT

static final String REGEX_BAIL_OUT
TAP Bail Out! Regex.

See Also:
Constant Field Values

REGEX_COMMENT

static final String REGEX_COMMENT
TAP Comment Regex.

See Also:
Constant Field Values

REGEX_FOOTER

static final String REGEX_FOOTER
TAP Footer Regex.

See Also:
Constant Field Values

HEADER_PATTERN

static final Pattern HEADER_PATTERN
TAP Header Regex Pattern.


PLAN_PATTERN

static final Pattern PLAN_PATTERN
TAP Plan Regex Pattern.


TEST_RESULT_PATTERN

static final Pattern TEST_RESULT_PATTERN
TAP Test Result Regex Pattern.


BAIL_OUT_PATTERN

static final Pattern BAIL_OUT_PATTERN
TAP Bail Out! Regex Pattern.


COMMENT_PATTERN

static final Pattern COMMENT_PATTERN
TAP Comment Regex Pattern.


FOOTER_PATTERN

static final Pattern FOOTER_PATTERN
TAP Footer Regex Pattern.

Method Detail

parseLine

void parseLine(String tapLine)
Parses a Test Result.

Parameters:
tapLine - TAP line

parseTapStream

TestSet parseTapStream(String tapStream)
Parses a TAP Stream.

Parameters:
tapStream - TAP Stream

parseFile

TestSet parseFile(File tapFile)
Parses a TAP File.

Parameters:
tapFile - TAP File


Copyright © 2010-2012 TupiLabs. All Rights Reserved.