# Path: SmellDetector/HieSmellDectector.py
# def detectSmells(folder, outputFile):
# def detectBrokenHie(folder, outputFile):
# def detectBroHierarchy(folder, outputFile):
# def getModulesFolder(folder):
# def collectClassNames(folder):


from unittest import TestCase
from SmellDetector import HieSmellDectector



class TestHieSmells(TestCase):
    def test_detectBroHierarchy(self):
        folderName = "/Users/Tushar/Documents/Research/PuppetQuality/Repos/vagrant-baseline/puppet/"
        outFileName = "tmp/brokenHieTest.txt"
        outFile = open(outFileName, 'w')
        #fileObj = SourceModel.SM_File.SM_File("/Users/Tushar/Documents/Research/PuppetQuality/Repos/vagrant-baseline/puppet/modules/vendors/mongodb/manifests/repo/apt.pp")

# Path: SmellDetector/HieSmellDectector.py
# def detectSmells(folder, outputFile):
# def detectBrokenHie(folder, outputFile):
# def detectBroHierarchy(folder, outputFile):
# def getModulesFolder(folder):
# def collectClassNames(folder):


# Path: Tests/test_HieSmells.py
from unittest import TestCase
from SmellDetector import HieSmellDectector




class TestHieSmells(TestCase):
    def test_detectBroHierarchy(self):
        folderName = "/Users/Tushar/Documents/Research/PuppetQuality/Repos/vagrant-baseline/puppet/"
        outFileName = "tmp/brokenHieTest.txt"
        outFile = open(outFileName, 'w')
        #fileObj = SourceModel.SM_File.SM_File("/Users/Tushar/Documents/Research/PuppetQuality/Repos/vagrant-baseline/puppet/modules/vendors/mongodb/manifests/repo/apt.pp")

        HieSmellDectector.detectBroHierarchy(folderName, outFile)