def setUp(self): c_info = ConfigInfo("../util/pytest.ini") self.testCommit1 = ghLogDb.ghLogDb( "testfiles/ghLogDbTestPython/TestCommit1.txt", c_info) self.testCommit2 = ghLogDb.ghLogDb( "testfiles/ghLogDbTestPython/TestCommit2.txt", c_info)
def processLog(projPath): if not os.path.isdir(projPath): print ("!! Please provide a valid directory") return log_file = projPath + os.sep + LOG_FILE ghDb = ghLogDb(log_file) ghDb.processLog()
def processLog(projPath): log_file = projPath + os.sep + LOG_FILE if not os.path.isfile(log_file): print ("!! %s does not exist" % (log_file)) return False else: print ("Going to process %s " % (log_file)) ghDb = ghLogDb(log_file) ghDb.processLog()
def processLog(projPath): log_file = projPath + os.sep + LOG_FILE if not os.path.isfile(log_file): print("!! %s does not exist" % (log_file)) return False else: print("Going to process %s " % (log_file)) ghDb = ghLogDb(log_file) ghDb.processLog()
def processLog(projPath, c_info, is_patch, password = ""): log_file = projPath + os.sep + LOG_FILE if not os.path.isfile(log_file): print("!! %s does not exist" % (log_file)) return False else: print("Going to process %s " % (log_file)) ghDb = ghLogDb(log_file, c_info, is_patch, password) return ghDb.processLog()
def processLog(projPath): if not os.path.isdir(projPath): print("!! Please provide a valid directory") return log_file = projPath + os.sep + LOG_FILE if not os.path.isfile(log_file): print("%s does not exist!!" % (log_file)) return ghDb = ghLogDb(log_file) ghDb.processLog()
def processLog(projPath): if not os.path.isdir(projPath): print("!! Please provide a valid directory") return log_file = projPath + os.sep + LOG_FILE if not os.path.isfile(log_file): print(("%s does not exist!!" % (log_file))) return ghDb = ghLogDb(log_file) ghDb.processLog()
def setUp(self): self.testCommit1=ghLogDb.ghLogDb("test_case/TestCommit1.txt") self.testCommit1.processLog() self.testCommit2=ghLogDb.ghLogDb("test_case/TestCommit2.txt") self.testCommit2.processLog()
def setUp(self): #Util.DATABASE = 0 self.testCommit1 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit1.txt") self.testCommit2 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit2.txt") self.testCommit3 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit3.txt") self.testCommit4 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit4.txt") self.testCommit5 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit5.txt") self.testCommit7 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit7.txt") #self.testCommit8 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit8.txt") #Broken, but I don't think its fixable. Fault of git logger self.testCommit9 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit9.txt") self.testCommit10 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit10.txt") self.testCommit11 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit11.txt") self.testCommit12 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit12.txt") self.testCommit13 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit13.txt") #self.testCommit13.processLog() #Make sure there is no crash -> Hangs a long time self.testCommitb1=ghLogDb.ghLogDb("testfiles/ghLogDbTestBlock/TestCommit1.txt")
def setUp(self): self.testCommit1 = ghLogDb.ghLogDb("test_case/TestCommit1.txt") self.testCommit1.processLog() self.testCommit2 = ghLogDb.ghLogDb("test_case/TestCommit2.txt") self.testCommit2.processLog()
def setUp(self): c_info = ConfigInfo("../util/sample_conf.ini") c_info2 = ConfigInfo("../util/javatest.ini") Util.DATABASE = 0 self.testCommit1 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit1.txt",c_info) self.testCommit2 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit2.txt",c_info) self.testCommit3 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit3.txt",c_info) self.testCommit4 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit4.txt",c_info) self.testCommit5 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit5.txt",c_info) self.testCommit7 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit7.txt",c_info) #self.testCommit8 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit8.txt",c_info) #Broken, but I don't think its fixable. Fault of git logger self.testCommit9 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit9.txt",c_info) self.testCommit10 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit10.txt",c_info) self.testCommit11 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit11.txt",c_info) self.testCommit12 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit12.txt",c_info) self.testCommit13 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit13.txt",c_info) self.testCommit14 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit14.txt",c_info) self.testCommit15 = ghLogDb.ghLogDb("testfiles/ghLogDbTest/TestCommit15.txt",c_info) #self.testCommit13.processLog() #Make sure there is no crash -> Hangs a long time self.testCommitb1=ghLogDb.ghLogDb("testfiles/ghLogDbTestBlock/TestCommit1.txt",c_info2)
def setUp(self): c_info = ConfigInfo("../util/pytest.ini") self.testCommit1 = ghLogDb.ghLogDb("testfiles/ghLogDbTestPython/TestCommit1.txt",c_info) self.testCommit2 = ghLogDb.ghLogDb("testfiles/ghLogDbTestPython/TestCommit2.txt",c_info)
def processLog(projPath): log_file = projPath + os.sep + LOG_FILE ghDb = ghLogDb(log_file) ghDb.processLog()