Robot Framework
robot.result.model.StatusMixin Class Reference
Inheritance diagram for robot.result.model.StatusMixin:
robot.result.model.Break robot.result.model.Continue robot.result.model.For robot.result.model.ForIteration robot.result.model.If robot.result.model.IfBranch robot.result.model.Keyword robot.result.model.Return robot.result.model.TestCase robot.result.model.TestSuite robot.result.model.Try robot.result.model.TryBranch robot.result.model.While robot.result.model.WhileIteration

Public Attributes

 status
 

Static Public Attributes

string FAIL = 'FAIL'
 
string NOT_RUN = 'NOT RUN'
 
string NOT_SET = 'NOT SET'
 
string PASS = 'PASS'
 
string SKIP = 'SKIP'
 

Properties

 elapsedtime = property
 Total execution time in milliseconds. More...
 
 failed = property
 True when :attr:status is 'FAIL', False otherwise. More...
 
 not_run = property
 True when :attr:status is 'NOT RUN', False otherwise. More...
 
 passed = property
 True when :attr:status is 'PASS', False otherwise. More...
 
 skipped = property
 True when :attr:status is 'SKIP', False otherwise. More...
 

Private Member Functions

def elapsedtime (self)
 
def failed (self)
 
def failed (self, failed)
 
def not_run (self)
 
def not_run (self, not_run)
 
def passed (self)
 
def passed (self, passed)
 
def skipped (self)
 
def skipped (self, skipped)
 

Static Private Attributes

list __slots__ = []
 

Detailed Description

Definition at line 76 of file model.py.

Member Function Documentation

◆ elapsedtime()

def robot.result.model.StatusMixin.elapsedtime (   self)
private

Reimplemented in robot.result.model.TestSuite.

Definition at line 88 of file model.py.

◆ failed() [1/2]

def robot.result.model.StatusMixin.failed (   self)
private

Reimplemented in robot.result.model.TestSuite.

Definition at line 107 of file model.py.

◆ failed() [2/2]

def robot.result.model.StatusMixin.failed (   self,
  failed 
)
private

Definition at line 112 of file model.py.

◆ not_run() [1/2]

def robot.result.model.StatusMixin.not_run (   self)
private

Reimplemented in robot.result.model.TestSuite, and robot.result.model.TestCase.

Definition at line 139 of file model.py.

◆ not_run() [2/2]

def robot.result.model.StatusMixin.not_run (   self,
  not_run 
)
private

Definition at line 144 of file model.py.

◆ passed() [1/2]

def robot.result.model.StatusMixin.passed (   self)
private

Reimplemented in robot.result.model.TestSuite.

Definition at line 95 of file model.py.

◆ passed() [2/2]

def robot.result.model.StatusMixin.passed (   self,
  passed 
)
private

Definition at line 100 of file model.py.

◆ skipped() [1/2]

def robot.result.model.StatusMixin.skipped (   self)
private

Reimplemented in robot.result.model.TestSuite.

Definition at line 122 of file model.py.

◆ skipped() [2/2]

def robot.result.model.StatusMixin.skipped (   self,
  skipped 
)
private

Definition at line 127 of file model.py.

Member Data Documentation

◆ __slots__

list robot.result.model.StatusMixin.__slots__ = []
staticprivate

Definition at line 77 of file model.py.

◆ FAIL

string robot.result.model.StatusMixin.FAIL = 'FAIL'
static

Definition at line 79 of file model.py.

◆ NOT_RUN

string robot.result.model.StatusMixin.NOT_RUN = 'NOT RUN'
static

Definition at line 81 of file model.py.

◆ NOT_SET

string robot.result.model.StatusMixin.NOT_SET = 'NOT SET'
static

Definition at line 82 of file model.py.

◆ PASS

string robot.result.model.StatusMixin.PASS = 'PASS'
static

Definition at line 78 of file model.py.

◆ SKIP

string robot.result.model.StatusMixin.SKIP = 'SKIP'
static

Definition at line 80 of file model.py.

◆ status

robot.result.model.StatusMixin.status

Definition at line 96 of file model.py.

Property Documentation

◆ elapsedtime

robot.result.model.StatusMixin.elapsedtime = property
static

Total execution time in milliseconds.

Definition at line 86 of file model.py.

◆ failed

robot.result.model.StatusMixin.failed = property
static

True when :attr:status is 'FAIL', False otherwise.

Definition at line 105 of file model.py.

◆ not_run

robot.result.model.StatusMixin.not_run = property
static

True when :attr:status is 'NOT RUN', False otherwise.

    Setting to ``False`` value is ambiguous and raises an exception.

Definition at line 137 of file model.py.

◆ passed

robot.result.model.StatusMixin.passed = property
static

True when :attr:status is 'PASS', False otherwise.

Definition at line 93 of file model.py.

◆ skipped

robot.result.model.StatusMixin.skipped = property
static

True when :attr:status is 'SKIP', False otherwise.

    Setting to ``False`` value is ambiguous and raises an exception.

Definition at line 120 of file model.py.


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