Lines Matching refs:testDir
248 testDir = "./testdirectory" variable
249 if not os.path.exists(testDir):
250 os.makedirs(testDir)
251 open(os.path.join(testDir, "image1.png"), 'wb').close()
252 open(os.path.join(testDir, "image2.png"), 'wb').close()
253 open(os.path.join(testDir, "image3.png"), 'wb').close()
260 hash_file = os.path.join(testDir, "ignore_hashes.txt")
264 gr = GoldResults("pdfium", testDir, propStr, keyStr, hash_file)
265 gr.AddTestResult("test-1", "hash-1", os.path.join(testDir, "image1.png"))
266 gr.AddTestResult("test-2", "hash-2", os.path.join(testDir, "image2.png"))
267 gr.AddTestResult("test-3", "hash-3", os.path.join(testDir, "image3.png"))