def test_findImageResolutionsTxt(self): testFile = util.hash( os.path.join(self.extAttchSampFile, 'FindImageResolutions-out.txt')) baseFile = util.hash( os.path.join(self.extAttchBase, 'FindImageResolutions-out.txt')) assert testFile == baseFile, "FAILED - File hashes do not match."
def test_createAnnotationsTxt(self): testFile = util.hash( os.path.join(self.extAttchSampFile, 'CreateAnnotations-out-text.txt')) baseFile = util.hash( os.path.join(self.extAttchBase, 'CreateAnnotations-out-text.txt')) assert testFile == baseFile, "FAILED - File hashes do not match."
def test_EDJOLNMinionProRegular(self): testFile = util.hash( os.path.join(self.extAttchSampFile, 'EDJOLN+MinionPro-Regular.pfb')) baseFile = util.hash( os.path.join(self.extAttchBase, 'EDJOLN+MinionPro-Regular.pfb')) assert testFile == baseFile, "FAILED - File hashes do not match."
def test_extractJpgFromNameTree(self): testFile = util.hash( os.path.join(self.extAttchSampFile, '_x_extractJpgFromNameTree.jpg')) baseFile = util.hash( os.path.join(self.extAttchBase, '_x_extractJpgFromNameTree.jpg')) assert testFile == baseFile, "FAILED - File hashes do not match."
def test_extractEDJOJMMyriadProSemiBold(self): testFile = util.hash( os.path.join(self.extAttchSampFile, 'EDJOJM+MyriadPro-Semibold.pfb')) baseFile = util.hash( os.path.join(self.extAttchBase, 'EDJOJM+MyriadPro-Semibold.pfb')) assert testFile == baseFile, "FAILED - File hashes do not match."
def test_calcImageDPI(self): testFile = util.hash( os.path.join(self.extAttchSampFile, 'CalcImageDPI-out.txt')) baseFile = util.hash( os.path.join(self.extAttchBase, 'CalcImageDPI-out.txt')) assert testFile == baseFile, "FAILED - File hashes do not match."
def test_extractDocumentInfo(self): testFile = util.hash( os.path.join(self.extAttchSampFile, 'ExtractDocumentInfo-out.txt')) baseFile = util.hash( os.path.join(self.extAttchBase, 'ExtractDocumentInfo-out.txt')) assert testFile == baseFile, "FAILED - File hashes do not match."
def test_countColorsInDoc(self): testFile = util.hash( os.path.join(self.extAttchSampFile, 'CountColorsInDoc-out.txt')) baseFile = util.hash( os.path.join(self.extAttchBase, 'CountColorsInDoc-out.txt')) assert testFile == baseFile, "FAILED - File hashes do not match."
def test_EDKCNLMyriadProBlack(self): testFile = util.hash( os.path.join(self.extAttchSampFile, 'EDKCNL+MyriadPro-Black.pfb')) baseFile = util.hash( os.path.join(self.extAttchBase, 'EDKCNL+MyriadPro-Black.pfb')) assert testFile == baseFile, "FAILED - File hashes do not match."
def test_EDJOOPMyriadProBold(self): testFile = util.hash( os.path.join(self.extAttchSampFile, 'EDJOOP+MyriadPro-Bold.pfb')) baseFile = util.hash( os.path.join(self.extAttchBase, 'EDJOOP+MyriadPro-Bold.pfb')) assert testFile == baseFile, "FAILED - File hashes do not match."
def test_EDJONPMinionProIt(self): testFile = util.hash( os.path.join(self.extAttchSampFile, 'EDJONP+MinionPro-It.pfb')) baseFile = util.hash( os.path.join(self.extAttchBase, 'EDJONP+MinionPro-It.pfb')) assert testFile == baseFile, "FAILED - File hashes do not match."
def test_extractArial(self): testFile = util.hash(os.path.join(self.extAttchSampFile, 'Arial.ttf')) baseFile = util.hash(os.path.join(self.extAttchBase, 'Arial.ttf')) assert testFile == baseFile, "FAILED - File hashes do not match."
def test_extractPng(self): testFile = util.hash( os.path.join(self.extAttchSampFile, '_x_extractPng.png')) baseFile = util.hash( os.path.join(self.extAttchBase, '_x_extractPng.png')) assert testFile == baseFile, "FAILED - File hashes do not match."
def test_TimesNewRomanBold(self): testFile = util.hash( os.path.join(self.extAttchSampFile, 'TimesNewRoman,Bold.ttf')) baseFile = util.hash( os.path.join(self.extAttchBase, 'TimesNewRoman,Bold.ttf')) assert testFile == baseFile, "FAILED - File hashes do not match."
def test_GRQRYWKozGoProRegular(self): testFile = util.hash( os.path.join(self.extAttchSampFile, 'GRQRYW+KozGoPro-Regular.pfb')) baseFile = util.hash( os.path.join(self.extAttchBase, 'GRQRYW+KozGoPro-Regular.pfb')) assert testFile == baseFile, "FAILED - File hashes do not match."
def test_FrutigerRoman(self): testFile = util.hash( os.path.join(self.extAttchSampFile, 'Frutiger-Roman.pfb')) baseFile = util.hash( os.path.join(self.extAttchBase, 'Frutiger-Roman.pfb')) assert testFile == baseFile, "FAILED - File hashes do not match."