Robot Framework
outputwriter.py
Go to the documentation of this file.
1
# Copyright 2008-2015 Nokia Networks
2
# Copyright 2016- Robot Framework Foundation
3
#
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
# you may not use this file except in compliance with the License.
6
# You may obtain a copy of the License at
7
#
8
# http://www.apache.org/licenses/LICENSE-2.0
9
#
10
# Unless required by applicable law or agreed to in writing, software
11
# distributed under the License is distributed on an "AS IS" BASIS,
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
# See the License for the specific language governing permissions and
14
# limitations under the License.
15
16
from
robot.output.xmllogger
import
XmlLogger
17
18
19
class
OutputWriter
(
XmlLogger
):
20
21
def
__init__
(self, output, rpa=False):
22
XmlLogger.__init__(self, output, rpa=rpa, generator=
'Rebot'
)
23
24
def
start_message
(self, msg):
25
self.
_write_message
_write_message(msg)
26
27
def
close
(self):
28
self.
_writer
_writer.end(
'robot'
)
29
self.
_writer
_writer.
close
()
30
31
def
end_result
(self, result):
32
self.
close
close
close()
robot.output.xmllogger.XmlLogger
Definition:
xmllogger.py:23
robot.output.xmllogger.XmlLogger.close
def close(self)
Definition:
xmllogger.py:41
robot.output.xmllogger.XmlLogger._writer
_writer
Definition:
xmllogger.py:28
robot.output.xmllogger.XmlLogger._write_message
def _write_message(self, msg)
Definition:
xmllogger.py:60
robot.reporting.outputwriter.OutputWriter
Definition:
outputwriter.py:19
robot.reporting.outputwriter.OutputWriter.end_result
def end_result(self, result)
Definition:
outputwriter.py:31
robot.reporting.outputwriter.OutputWriter.start_message
def start_message(self, msg)
Called when a message starts.
Definition:
outputwriter.py:24
robot.reporting.outputwriter.OutputWriter.close
def close(self)
Definition:
outputwriter.py:27
robot.reporting.outputwriter.OutputWriter.__init__
def __init__(self, output, rpa=False)
Definition:
outputwriter.py:21
robot.output.xmllogger
Definition:
xmllogger.py:1
src
robot
reporting
outputwriter.py
Generated by
1.9.1