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 
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.closecloseclose()
def start_message(self, msg)
Called when a message starts.
Definition: outputwriter.py:24
def __init__(self, output, rpa=False)
Definition: outputwriter.py:21