# Path: SmellDetector/EncSmellDectector.py
# def detectSmells(folder, outputFile):
# def detectDeficientEnc(folder, outputFile):
# def detectDefEnc(fileObj, outputFile):


from unittest import TestCase
from SmellDetector import EncSmellDectector
import SourceModel.SM_File



class TestModSmells(TestCase):
    def test_detectDefEnc(self):
        fileName = "/Users/Tushar/Documents/Research/PuppetQuality/Repos/percona-xtradb-cluster-tutorial/manifests/master_slave.pp"
        outFileName = "tmp/DefEncTest.txt"
        fileObj = SourceModel.SM_File.SM_File(fileName)
        outFile = open(outFileName, 'w')

# Path: SmellDetector/EncSmellDectector.py
# def detectSmells(folder, outputFile):
# def detectDeficientEnc(folder, outputFile):
# def detectDefEnc(fileObj, outputFile):


# Path: Tests/test_EncSmells.py
from unittest import TestCase
from SmellDetector import EncSmellDectector
import SourceModel.SM_File




class TestModSmells(TestCase):
    def test_detectDefEnc(self):
        fileName = "/Users/Tushar/Documents/Research/PuppetQuality/Repos/percona-xtradb-cluster-tutorial/manifests/master_slave.pp"
        outFileName = "tmp/DefEncTest.txt"
        fileObj = SourceModel.SM_File.SM_File(fileName)
        outFile = open(outFileName, 'w')

        EncSmellDectector.detectDefEnc(fileObj, outFile)