Robot Framework
modeldeprecation.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.model
import
Tags
17
18
19
def
deprecated
(method):
20
21
def
wrapper(self, *args, **kws):
22
return
method(self, *args, **kws)
23
return
wrapper
24
25
26
class
DeprecatedAttributesMixin
:
27
__slots__ = []
28
29
@property
30
@deprecated
31
name = property
32
33
def
name
(self):
34
return
''
35
36
@property
37
@deprecated
38
kwname = property
39
40
def
kwname
(self):
41
return
self.
name
name
name
42
43
@property
44
@deprecated
45
libname = property
46
47
def
libname
(self):
48
return
None
49
50
@property
51
@deprecated
52
args = property
53
54
def
args
(self):
55
return
()
56
57
@property
58
@deprecated
59
assign = property
60
61
def
assign
(self):
62
return
()
63
64
@property
65
@deprecated
66
tags = property
67
68
def
tags
(self):
69
return
Tags
()
70
71
@property
72
@deprecated
73
timeout = property
74
75
def
timeout
(self):
76
return
None
77
78
@property
79
@deprecated
80
message = property
81
82
def
message
(self):
83
return
''
robot.model.tags.Tags
Definition:
tags.py:19
robot.result.modeldeprecation.DeprecatedAttributesMixin
Definition:
modeldeprecation.py:26
robot.result.modeldeprecation.DeprecatedAttributesMixin.name
name
Definition:
modeldeprecation.py:31
robot.result.modeldeprecation.DeprecatedAttributesMixin.message
message
Definition:
modeldeprecation.py:80
robot.result.modeldeprecation.DeprecatedAttributesMixin.name
def name(self)
Definition:
modeldeprecation.py:33
robot.result.modeldeprecation.DeprecatedAttributesMixin.assign
assign
Definition:
modeldeprecation.py:59
robot.result.modeldeprecation.DeprecatedAttributesMixin.libname
libname
Definition:
modeldeprecation.py:45
robot.result.modeldeprecation.DeprecatedAttributesMixin.kwname
kwname
Definition:
modeldeprecation.py:38
robot.result.modeldeprecation.DeprecatedAttributesMixin.tags
tags
Definition:
modeldeprecation.py:66
robot.result.modeldeprecation.DeprecatedAttributesMixin.args
args
Definition:
modeldeprecation.py:52
robot.result.modeldeprecation.DeprecatedAttributesMixin.timeout
timeout
Definition:
modeldeprecation.py:73
robot.model
Definition:
__init__.py:1
robot.result.modeldeprecation.deprecated
def deprecated(method)
Definition:
modeldeprecation.py:19
src
robot
result
modeldeprecation.py
Generated by
1.9.1