Robot Framework
robot.result.model.Break Class Reference
Inheritance diagram for robot.result.model.Break:
robot.model.control.Break robot.result.model.StatusMixin robot.result.modeldeprecation.DeprecatedAttributesMixin robot.model.body.BodyItem robot.model.modelobject.ModelObject metaclass

Public Member Functions

def __init__ (self, status='FAIL', starttime=None, endtime=None, parent=None)
 
def body (self, body)
 Child keywords and messages as a :class:~.Body object. More...
 
- Public Member Functions inherited from robot.model.control.Break
def __init__ (self, parent=None)
 
def visit (self, visitor)
 
- Public Member Functions inherited from robot.model.modelobject.ModelObject
def __repr__ (self)
 
def config (self, **attributes)
 Configure model object with given attributes. More...
 
def copy (self, **attributes)
 Return shallow copy of this object. More...
 
def deepcopy (self, **attributes)
 Return deep copy of this object. More...
 

Public Attributes

 body
 
 endtime
 
 starttime
 
 status
 
- Public Attributes inherited from robot.model.control.Break
 parent
 
- Public Attributes inherited from robot.result.model.StatusMixin
 status
 

Static Public Attributes

 body_class = Body
 
- Static Public Attributes inherited from robot.model.control.Break
 type = BodyItem.BREAK
 
- Static Public Attributes inherited from robot.model.body.BodyItem
string BREAK = 'BREAK'
 
string CONTINUE = 'CONTINUE'
 
string ELSE = 'ELSE'
 
string ELSE_IF = 'ELSE IF'
 
string EXCEPT = 'EXCEPT'
 
string FINALLY = 'FINALLY'
 
string FOR = 'FOR'
 
string IF = 'IF'
 
string IF_ELSE_ROOT = 'IF/ELSE ROOT'
 
string ITERATION = 'ITERATION'
 
string KEYWORD = 'KEYWORD'
 
string MESSAGE = 'MESSAGE'
 
string RETURN = 'RETURN'
 
string SETUP = 'SETUP'
 
string TEARDOWN = 'TEARDOWN'
 
string TRY = 'TRY'
 
string TRY_EXCEPT_ROOT = 'TRY/EXCEPT ROOT'
 
 type = None
 
string WHILE = 'WHILE'
 
- Static Public Attributes inherited from robot.model.modelobject.ModelObject
tuple repr_args = ()
 
- Static Public Attributes inherited from robot.result.model.StatusMixin
string FAIL = 'FAIL'
 
string NOT_RUN = 'NOT RUN'
 
string NOT_SET = 'NOT SET'
 
string PASS = 'PASS'
 
string SKIP = 'SKIP'
 

Properties

 args = property
 
 doc = property
 
- Properties inherited from robot.model.body.BodyItem
 has_setup = property
 
 has_teardown = property
 
 id = property
 Item id in format like s1-t3-k1. More...
 
- Properties inherited from robot.result.model.StatusMixin
 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...
 
- Properties inherited from robot.result.modeldeprecation.DeprecatedAttributesMixin
 args = property
 
 assign = property
 
 kwname = property
 
 libname = property
 
 message = property
 
 name = property
 
 tags = property
 
 timeout = property
 

Private Member Functions

def args (self)
 
def doc (self)
 

Static Private Attributes

list __slots__ = ['status', 'starttime', 'endtime']
 

Detailed Description

Definition at line 421 of file model.py.

Constructor & Destructor Documentation

◆ __init__()

def robot.result.model.Break.__init__ (   self,
  status = 'FAIL',
  starttime = None,
  endtime = None,
  parent = None 
)

Definition at line 425 of file model.py.

Member Function Documentation

◆ args()

def robot.result.model.Break.args (   self)
private

Reimplemented from robot.result.modeldeprecation.DeprecatedAttributesMixin.

Definition at line 446 of file model.py.

◆ body()

def robot.result.model.Break.body (   self,
  body 
)

Child keywords and messages as a :class:~.Body object.

    Typically empty. Only contains something if running BREAK has failed
    due to a syntax error or listeners have logged messages or executed
    keywords.

Definition at line 439 of file model.py.

◆ doc()

def robot.result.model.Break.doc (   self)
private

Definition at line 453 of file model.py.

Member Data Documentation

◆ __slots__

list robot.result.model.Break.__slots__ = ['status', 'starttime', 'endtime']
staticprivate

Definition at line 422 of file model.py.

◆ body

robot.result.model.Break.body

Definition at line 430 of file model.py.

◆ body_class

robot.result.model.Break.body_class = Body
static

Definition at line 423 of file model.py.

◆ endtime

robot.result.model.Break.endtime

Definition at line 429 of file model.py.

◆ starttime

robot.result.model.Break.starttime

Definition at line 428 of file model.py.

◆ status

robot.result.model.Break.status

Definition at line 427 of file model.py.

Property Documentation

◆ args

robot.result.model.Break.args = property
static

Definition at line 444 of file model.py.

◆ doc

robot.result.model.Break.doc = property
static

Definition at line 451 of file model.py.


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