FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonnet/src/domain_tests/test_domain_reload.py at jenkins · sdpython/pythonnet · GitHub
This repository was archived by the owner on Jul 22, 2023. It is now read-only.
sdpython
pythonnet
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonnet
/
src
/
domain_tests
/
test_domain_reload.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
100 lines (75 loc) · 3.94 KB
Breadcrumbs
pythonnet
/
src
/
domain_tests
/
test_domain_reload.py
Copy path
File metadata and controls
100 lines (75 loc) · 3.94 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
import
subprocess
import
os
import
platform
import
pytest
def
_run_test
(
testname
):
dirname
=
os
.
path
.
split
(
__file__
)[
0
]
exename
=
os
.
path
.
join
(
dirname
,
'bin'
,
'Python.DomainReloadTests.exe'
)
args
=
[
exename
,
testname
]
if
platform
.
system
()
!=
'Windows'
:
args
=
[
'mono'
]
+
args
proc
=
subprocess
.
Popen
(
args
)
proc
.
wait
()
assert
proc
.
returncode
==
0
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_rename_class
():
_run_test
(
'class_rename'
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_rename_class_member_static_function
():
_run_test
(
'static_member_rename'
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_rename_class_member_function
():
_run_test
(
'member_rename'
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_rename_class_member_field
():
_run_test
(
'field_rename'
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_rename_class_member_property
():
_run_test
(
'property_rename'
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_rename_namespace
():
_run_test
(
'namespace_rename'
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_field_visibility_change
():
_run_test
(
"field_visibility_change"
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_method_visibility_change
():
_run_test
(
"method_visibility_change"
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_property_visibility_change
():
_run_test
(
"property_visibility_change"
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_class_visibility_change
():
_run_test
(
"class_visibility_change"
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_method_parameters_change
():
_run_test
(
"method_parameters_change"
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_method_return_type_change
():
_run_test
(
"method_return_type_change"
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_field_type_change
():
_run_test
(
"field_type_change"
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
@
pytest
.
mark
.
xfail
(
reason
=
"Events not yet serializable"
)
def
test_rename_event
():
_run_test
(
'event_rename'
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
@
pytest
.
mark
.
xfail
(
reason
=
"newly instanced object uses PyType_GenericAlloc"
)
def
test_construct_removed_class
():
_run_test
(
"construct_removed_class"
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_out_to_ref_param
():
_run_test
(
"out_to_ref_param"
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_ref_to_out_param
():
_run_test
(
"ref_to_out_param"
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_ref_to_in_param
():
_run_test
(
"ref_to_in_param"
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_in_to_ref_param
():
_run_test
(
"in_to_ref_param"
)
@
pytest
.
mark
.
skipif
(
platform
.
system
()
==
'Darwin'
,
reason
=
'FIXME: macos can
\'
t find the python library'
)
def
test_nested_type
():
_run_test
(
"nested_type"
)
Back
|
FazBrowse Home
|
New Git URL