# Path: MuseParse/tests/testLilyMethods/lily.py
# class Lily(unittest.TestCase):
# 
#     def setUp(self):
#         self.compile = False
#         self.wrappers = []
# 
#     def testValue(self):
#         if hasattr(self, "lilystring"):
#             if hasattr(self, "item"):
#                 self.assertEqual(self.lilystring, self.item.toLily())
# 
#     def testCompilation(self):
#         if hasattr(self, "compile") and self.compile is True:
# 
#             filepath = expanduser("~")
#             script = ''
#             if sys.platform == 'darwin':
#                 script = os.path.join(filepath, 'bin', 'lilypond')
#             filepath = os.path.join(filepath, self.name)
#             if self.compile and hasattr(self, "item"):
#                 if os.path.exists(filepath + ".pdf"):
#                     os.remove(filepath + ".pdf")
# 
#                 ly = LilypondOutput.LilypondRenderer(
#                     self.item, filepath + ".xml", script)
#                 if hasattr(self, "wrappers"):
#                     ly.run(wrappers=self.wrappers)
#                 else:
#                     ly.run()
#                 self.assertTrue(os.path.exists(filepath + ".pdf"))
# 
# Path: MuseParse/classes/ObjectHierarchy/ItemClasses/Directions.py
# class Text(BaseClass.Base):
# class CreditText(Text):
# class Lyric(Text):
# class Direction(Text):
# class RehearsalMark(Direction):
# class Forward(Direction):
# class RepeatSign(Direction):
# class Line(Direction):
# class OctaveShift(Line):
# class WavyLine(Line):
# class Pedal(Line):
# class Bracket(Line):
# class Metronome(Direction):
# class Dynamic(Direction):
# class Wedge(Dynamic):
# class Slur(Direction):
#     def __init__(self, **kwargs):
#     def get(self):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def get_detail(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):


from MuseParse.tests.testLilyMethods.lily import Lily
from MuseParse.classes.ObjectHierarchy.ItemClasses import Directions

    def setUp(self):
        self.item = Directions.OctaveShift(amount=8)
        self.lilystring = "\n\ottava #1\n"


class testOctaveShiftDown(Lily):

    def setUp(self):
        self.item = Directions.OctaveShift(amount=15, type="down")
        self.lilystring = "\n\ottava #2\n"


class testWavyLine(Lily):

    def setUp(self):
        self.item = Directions.WavyLine()
        self.lilystring = "\startTrillSpan"


class testWavyLineStop(Lily):

    def setUp(self):
        self.item = Directions.WavyLine(type="stop")
        self.lilystring = "\stopTrillSpan"


class testPedal(Lily):

    def setUp(self):

# Path: MuseParse/tests/testLilyMethods/lily.py
# class Lily(unittest.TestCase):
# 
#     def setUp(self):
#         self.compile = False
#         self.wrappers = []
# 
#     def testValue(self):
#         if hasattr(self, "lilystring"):
#             if hasattr(self, "item"):
#                 self.assertEqual(self.lilystring, self.item.toLily())
# 
#     def testCompilation(self):
#         if hasattr(self, "compile") and self.compile is True:
# 
#             filepath = expanduser("~")
#             script = ''
#             if sys.platform == 'darwin':
#                 script = os.path.join(filepath, 'bin', 'lilypond')
#             filepath = os.path.join(filepath, self.name)
#             if self.compile and hasattr(self, "item"):
#                 if os.path.exists(filepath + ".pdf"):
#                     os.remove(filepath + ".pdf")
# 
#                 ly = LilypondOutput.LilypondRenderer(
#                     self.item, filepath + ".xml", script)
#                 if hasattr(self, "wrappers"):
#                     ly.run(wrappers=self.wrappers)
#                 else:
#                     ly.run()
#                 self.assertTrue(os.path.exists(filepath + ".pdf"))
# 
# Path: MuseParse/classes/ObjectHierarchy/ItemClasses/Directions.py
# class Text(BaseClass.Base):
# class CreditText(Text):
# class Lyric(Text):
# class Direction(Text):
# class RehearsalMark(Direction):
# class Forward(Direction):
# class RepeatSign(Direction):
# class Line(Direction):
# class OctaveShift(Line):
# class WavyLine(Line):
# class Pedal(Line):
# class Bracket(Line):
# class Metronome(Direction):
# class Dynamic(Direction):
# class Wedge(Dynamic):
# class Slur(Direction):
#     def __init__(self, **kwargs):
#     def get(self):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def get_detail(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):
#     def __init__(self, **kwargs):
#     def toLily(self):


# Path: MuseParse/tests/testLilyMethods/testDirections.py
from MuseParse.tests.testLilyMethods.lily import Lily
from MuseParse.classes.ObjectHierarchy.ItemClasses import Directions


    def setUp(self):
        self.item = Directions.OctaveShift(amount=8)
        self.lilystring = "\n\ottava #1\n"


class testOctaveShiftDown(Lily):

    def setUp(self):
        self.item = Directions.OctaveShift(amount=15, type="down")
        self.lilystring = "\n\ottava #2\n"


class testWavyLine(Lily):

    def setUp(self):
        self.item = Directions.WavyLine()
        self.lilystring = "\startTrillSpan"


class testWavyLineStop(Lily):

    def setUp(self):
        self.item = Directions.WavyLine(type="stop")
        self.lilystring = "\stopTrillSpan"


class testPedal(Lily):

    def setUp(self):

        self.item = Directions.Pedal()