feat: restructured code
This commit is contained in:
19
pjvm/mockimpl/__init__.py
Normal file
19
pjvm/mockimpl/__init__.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from .system import JMockSystemIn, JMockSystemOut, mock_inputstream_read, mock_printstream_println
|
||||
|
||||
mock_static_objects = {
|
||||
'java/lang/System': {
|
||||
'out': JMockSystemOut(),
|
||||
'in': JMockSystemIn()
|
||||
}
|
||||
}
|
||||
|
||||
mock_instance_methods = {
|
||||
'java/io/PrintStream': {
|
||||
'println': mock_printstream_println
|
||||
},
|
||||
'java/io/InputStream': {
|
||||
'read': mock_inputstream_read
|
||||
}
|
||||
}
|
||||
|
||||
__all__ = ['mock_instance_methods', 'mock_static_objects']
|
||||
Reference in New Issue
Block a user