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."
Exemple #2
0
 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."
Exemple #3
0
 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."
Exemple #4
0
 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."
Exemple #5
0
 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."
Exemple #9
0
 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."
Exemple #10
0
 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."
Exemple #11
0
 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."
Exemple #12
0
 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."
Exemple #13
0
 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."
Exemple #14
0
 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."
Exemple #15
0
 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."
Exemple #16
0
 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."