# Path: autologging.py
# TRACE = 1
# def logged(obj):
# def traced(*args, **keywords):
#         def traced_decorator(class_or_fn):
# def _traced_noop(*args, **keywords):
#         def traced_noop_decorator(class_or_fn):
# def install_traced_noop():
# def _generate_logger_name(obj, parent_name=None):
# def _add_logger_to(obj, logger_name=None):
# def _make_traceable_function(function, logger):
#     def autologging_traced_function_delegator(*args, **keywords):
# def _install_traceable_methods(class_, *method_names, **keywords):
# def _get_traceable_method_names(method_names, class_, **keywords):
# def _get_default_traceable_method_names(class_):
# def _is_internal_name(name):
# def _mangle_name(internal_name, class_name):
# def _unmangle_name(mangled_name, class_name):
# def _is_special_name(name):
# def _make_traceable_instancemethod(unbound_function, logger):
#     def autologging_traced_instancemethod_delegator(self_, *args, **keywords):
# def _make_traceable_classmethod(method_descriptor, logger):
#     def autologging_traced_classmethod_delegator(cls, *args, **keywords):
# def _make_traceable_staticmethod(method_descriptor, logger):
#     def __init__(self, function, logger):
#     def logger(self):
#     def __call__(self, function, args, keywords):
#     def __init__(self, gfunc, giter, logger):
#     def __wrapped__(self):
#     def __name__(self):
#     def _lineno(self):
#     def __iter__(self):
#     def _trace(self, message, *message_args):
#     def __next__(self):
#     def send(self, value):
#     def throw(self, exception):
#     def close(self):
# class _FunctionTracingProxy(object):
# class _GeneratorIteratorTracingProxy(object):


import unittest
from autologging import _is_internal_name, __version__
# files (the "Software"), to deal in the Software without
# restriction, including without limitation the rights to use,
# copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following
# conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.

"""Test case and runner for :func:`autologging._is_internal_name`."""

__author__ = "Matthew Zipay (mattzATninthtestDOTinfo)"




class IsInternalNameTest(unittest.TestCase):
    """Test the :func:`autologging._is_internal_name` function."""

    def test_does_not_match_public_method_name(self):

# Path: autologging.py
# TRACE = 1
# def logged(obj):
# def traced(*args, **keywords):
#         def traced_decorator(class_or_fn):
# def _traced_noop(*args, **keywords):
#         def traced_noop_decorator(class_or_fn):
# def install_traced_noop():
# def _generate_logger_name(obj, parent_name=None):
# def _add_logger_to(obj, logger_name=None):
# def _make_traceable_function(function, logger):
#     def autologging_traced_function_delegator(*args, **keywords):
# def _install_traceable_methods(class_, *method_names, **keywords):
# def _get_traceable_method_names(method_names, class_, **keywords):
# def _get_default_traceable_method_names(class_):
# def _is_internal_name(name):
# def _mangle_name(internal_name, class_name):
# def _unmangle_name(mangled_name, class_name):
# def _is_special_name(name):
# def _make_traceable_instancemethod(unbound_function, logger):
#     def autologging_traced_instancemethod_delegator(self_, *args, **keywords):
# def _make_traceable_classmethod(method_descriptor, logger):
#     def autologging_traced_classmethod_delegator(cls, *args, **keywords):
# def _make_traceable_staticmethod(method_descriptor, logger):
#     def __init__(self, function, logger):
#     def logger(self):
#     def __call__(self, function, args, keywords):
#     def __init__(self, gfunc, giter, logger):
#     def __wrapped__(self):
#     def __name__(self):
#     def _lineno(self):
#     def __iter__(self):
#     def _trace(self, message, *message_args):
#     def __next__(self):
#     def send(self, value):
#     def throw(self, exception):
#     def close(self):
# class _FunctionTracingProxy(object):
# class _GeneratorIteratorTracingProxy(object):


# Path: test/test_is_internal_name.py
import unittest
from autologging import _is_internal_name, __version__

# files (the "Software"), to deal in the Software without
# restriction, including without limitation the rights to use,
# copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following
# conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.

"""Test case and runner for :func:`autologging._is_internal_name`."""

__author__ = "Matthew Zipay (mattzATninthtestDOTinfo)"




class IsInternalNameTest(unittest.TestCase):
    """Test the :func:`autologging._is_internal_name` function."""

    def test_does_not_match_public_method_name(self):

        self.assertFalse(_is_internal_name("public"))