Changeset View
Changeset View
Standalone View
Standalone View
test/functional/test_framework/coverage.py
#!/usr/bin/env python3 | #!/usr/bin/env python3 | ||||
# Copyright (c) 2015-2016 The Bitcoin Core developers | # Copyright (c) 2015-2016 The Bitcoin Core developers | ||||
# Distributed under the MIT software license, see the accompanying | # Distributed under the MIT software license, see the accompanying | ||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | # file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
"""Utilities for doing coverage analysis on the RPC interface. | """Utilities for doing coverage analysis on the RPC interface. | ||||
Provides a way to track which RPC commands are exercised during | Provides a way to track which RPC commands are exercised during | ||||
testing. | testing. | ||||
""" | """ | ||||
import os | import os | ||||
REFERENCE_FILENAME = 'rpc_interface.txt' | REFERENCE_FILENAME = 'rpc_interface.txt' | ||||
class AuthServiceProxyWrapper(): | class AuthServiceProxyWrapper(): | ||||
""" | """ | ||||
An object that wraps AuthServiceProxy to record specific RPC calls. | An object that wraps AuthServiceProxy to record specific RPC calls. | ||||
""" | """ | ||||
▲ Show 20 Lines • Show All 90 Lines • Show Last 20 Lines |