pFUnit
Public Member Functions | List of all members
testParser.TestParseLine Class Reference
Inheritance diagram for testParser.TestParseLine:

Public Member Functions

def testCppSetLineAndFile (self)
 
def testGetSubroutineName (self)
 
def testGetSelfObjectName (self)
 
def testGetTypeName (self)
 
def testAtTest (self)
 
def testAtTestNoParens (self)
 
def testAtTestFail (self)
 
def testAtTestSkipComment (self)
 
def testAtMpiTest (self)
 
def testMatchAtTestCase (self)
 
def testMatchAtAssertEqual (self)
 
def testParseArgsFirstRest (self)
 
def testParseArgsFirstSecondRest (self)
 
def testMatchAtAssertAssociated (self)
 
def testMatchAtAssertAssociatedOverloaded1 (self)
 
def testMatchAtAssertAssociatedOverloaded2 (self)
 
def testMatchAtAssertUnAssociated (self)
 
def testMatchAtAssertUnAssociatedWith (self)
 
def testMatchAtAssertNotassociated (self)
 
def testMatchAtAssertNotassociatedWith (self)
 
def testMatchAtAssertEqualUserDefined (self)
 
def testMatchAtAssertEqualUserDefinedWithMessage (self)
 
def testMatchAtAssertEquivalent (self)
 
def testMatchAtAssertOther (self)
 
def testMatchAtMpiAssert (self)
 
def testMatchAtBefore (self)
 
def testMatchAtAfter (self)
 
def testMatchAtSuite (self)
 

Member Function Documentation

◆ testAtMpiTest()

def testParser.TestParseLine.testAtMpiTest (   self)
Check that a line starting with '@mpitest' is detected as an
annotation and that optional parameters are collected.

◆ testAtTest()

def testParser.TestParseLine.testAtTest (   self)
Check that a line starting with '@test' is detected as an
annotation.

◆ testAtTestFail()

def testParser.TestParseLine.testAtTestFail (   self)
Check that useful error is sent if next line is not properly formatted.

◆ testAtTestNoParens()

def testParser.TestParseLine.testAtTestNoParens (   self)
Check that test procedure with no parens is accepted.

◆ testAtTestSkipComment()

def testParser.TestParseLine.testAtTestSkipComment (   self)
Ignore comment lines between @test and subroutine foo().

◆ testMatchAtAfter()

def testParser.TestParseLine.testMatchAtAfter (   self)
Check that a line starting with '@after*' ...

◆ testMatchAtAssertAssociated()

def testParser.TestParseLine.testMatchAtAssertAssociated (   self)
Check that a line starting with '@assertAssociated' is detected
as an annotation.

◆ testMatchAtAssertAssociatedOverloaded1()

def testParser.TestParseLine.testMatchAtAssertAssociatedOverloaded1 (   self)
Check that a line starting with '@assertAssociated' is detected
as an annotation. atAssertAssociated(a,b) implies a points to b.
Overriding the name @assertAssociated.

◆ testMatchAtAssertAssociatedOverloaded2()

def testParser.TestParseLine.testMatchAtAssertAssociatedOverloaded2 (   self)
Check that a line starting with '@assertAssociated' is detected
as an annotation. atAssertAssociated(a,b) implies a points to b.
Overriding the name @assertAssociated.

◆ testMatchAtAssertEqual()

def testParser.TestParseLine.testMatchAtAssertEqual (   self)
Check that a line starting with '@assertEqual' is detected
as an annotation.

◆ testMatchAtAssertEqualUserDefined()

def testParser.TestParseLine.testMatchAtAssertEqualUserDefined (   self)
Check that a line starting with '@assertEqualUserDefined' is detected
as an annotation. atAssertEqualUserDefined(a,b) implies a points to b.

◆ testMatchAtAssertEqualUserDefinedWithMessage()

def testParser.TestParseLine.testMatchAtAssertEqualUserDefinedWithMessage (   self)
Check that a line starting with '@assertEqualUserDefined' is detected
as an annotation. atAssertEqualUserDefined(a,b) implies a points to b.

◆ testMatchAtAssertEquivalent()

def testParser.TestParseLine.testMatchAtAssertEquivalent (   self)
Check that a line starting with '@assertEquivalent' is detected
as an annotation. atAssertEquivalent(a,b) implies a points to b.

◆ testMatchAtAssertNotassociated()

def testParser.TestParseLine.testMatchAtAssertNotassociated (   self)
Check that a line starting with '@assertNotAssociated' is detected
as an annotation.

◆ testMatchAtAssertNotassociatedWith()

def testParser.TestParseLine.testMatchAtAssertNotassociatedWith (   self)
Check that a line starting with '@assertNotassociatedWith' is detected
as an annotation. atAssertNotassociated(a,b) implies a points to b.

◆ testMatchAtAssertOther()

def testParser.TestParseLine.testMatchAtAssertOther (   self)
Check that a line starting with '@assert*' is detected
as an annotation.

◆ testMatchAtAssertUnAssociated()

def testParser.TestParseLine.testMatchAtAssertUnAssociated (   self)
Check that a line starting with '@assertUnAssociated' is detected
as an annotation.

◆ testMatchAtAssertUnAssociatedWith()

def testParser.TestParseLine.testMatchAtAssertUnAssociatedWith (   self)
Check that a line starting with '@assertUnAssociatedWith' is detected
as an annotation. atAssertUnAssociated(a,b) implies a points to b.

◆ testMatchAtBefore()

def testParser.TestParseLine.testMatchAtBefore (   self)
Check that a line starting with '@before*' ...

◆ testMatchAtMpiAssert()

def testParser.TestParseLine.testMatchAtMpiAssert (   self)
Check that a line starting with '@mpiAssert*' is detected
as an annotation.

◆ testMatchAtSuite()

def testParser.TestParseLine.testMatchAtSuite (   self)
Check that a line starting with '@suite changes the suite name ...

◆ testMatchAtTestCase()

def testParser.TestParseLine.testMatchAtTestCase (   self)
Check that a line starting with '@testcase' is detected as an
annotation.

◆ testParseArgsFirstRest()

def testParser.TestParseLine.testParseArgsFirstRest (   self)
Test that the first-rest argument parsing is adequate.

◆ testParseArgsFirstSecondRest()

def testParser.TestParseLine.testParseArgsFirstSecondRest (   self)
Test that the first-second-rest argument parsing is adequate.

The documentation for this class was generated from the following file: