# Path: tests/testing_utils.py
# class CoverageIgnoredTest(unittest.TestCase, metaclass=_DecoratedMethodsClass):
#     pass


import unittest
import os
import sys
        import add_tiers
        import anonymize_recording
        import calculate_duration
        import correct_misaligned_tiers
        import delete_vowels
        import extract_subwavs
        import get_vowel_points
        import merge_adjacent_intervals
        import merge_tiers
        import textgrid_set_operations
from pathlib import Path
from tests.testing_utils import CoverageIgnoredTest
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Created on Jan 27, 2016

@author: tmahrt

Runs user-facing example code

The examples were all written as scripts.  They weren't meant to be
imported or run from other code.  So here, the integration test is just
importing the scripts, which causes them to execute.  If the code completes
with no errors, then the code is at least able to complete.

Testing whether or not the code actually did what it is supposed to is
another issue and will require some refactoring.
"""



_root = os.path.join(Path(__file__).parents[2], "examples")
sys.path.append(_root)

# Ignoring test coverage because there is no validation in
# these tests other than "no unhandled exception occured"
# which is still important for the user-facing example code

# Path: tests/testing_utils.py
# class CoverageIgnoredTest(unittest.TestCase, metaclass=_DecoratedMethodsClass):
#     pass


# Path: tests/integration/test_examples.py
import unittest
import os
import sys
        import add_tiers
        import anonymize_recording
        import calculate_duration
        import correct_misaligned_tiers
        import delete_vowels
        import extract_subwavs
        import get_vowel_points
        import merge_adjacent_intervals
        import merge_tiers
        import textgrid_set_operations
from pathlib import Path
from tests.testing_utils import CoverageIgnoredTest

#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Created on Jan 27, 2016

@author: tmahrt

Runs user-facing example code

The examples were all written as scripts.  They weren't meant to be
imported or run from other code.  So here, the integration test is just
importing the scripts, which causes them to execute.  If the code completes
with no errors, then the code is at least able to complete.

Testing whether or not the code actually did what it is supposed to is
another issue and will require some refactoring.
"""



_root = os.path.join(Path(__file__).parents[2], "examples")
sys.path.append(_root)

# Ignoring test coverage because there is no validation in
# these tests other than "no unhandled exception occured"
# which is still important for the user-facing example code

class TestExamples(CoverageIgnoredTest):