def __init__(self):
     Test.__init__(self, "DocumentFields")
     self.addTestFunction(self.createEmpty)
     self.addTestFunction(self.addField)
     self.addTestFunction(self.getEmptyField)
     self.addTestFunction(self.addMultipleFields)
     self.addTestFunction(self.setType)
 def __init__(self):
     Test.__init__(self, "Path")
     self.addTestFunction(self.createEmpty)
     self.addTestFunction(self.createLocal)
     self.addTestFunction(self.createAbsolute)
     self.addTestFunction(self.createNotClean)
     self.addTestFunction(self.createMultipleExtensions)
 def __init__(self):
     Test.__init__(self, "Directory")
     d = Directory("dir")
     d.removeDir()
     self.addTestFunction(self.create)
     self.addTestFunction(self.remove)
     self.addTestFunction(self.createTree)
     self.addTestFunction(self.content)
     self.addTestFunction(self.containsFolder)
 def __init__(self):
     Test.__init__(self, "LatexNotes")
     self.addTestFunction(self.emptyContent)
     self.addTestFunction(self.titleContent)
     self.addTestFunction(self.descTableYear)
     self.addTestFunction(self.descTableAuthors)
     self.addTestFunction(self.descTableKeywords)
     self.addTestFunction(self.descTableJournal)
     self.addTestFunction(self.descTableAll)
Exemple #5
0
 def __init__(self):
     Test.__init__(self)
     self.title = title
     self.desc = desc
     self.vulnerability = vulnerability
     self.exploit = exploit
     self.countermeasure = countermeasure
     self.filename = splitext(basename(__file__))[0] + ".md"
     self.pre_run()
     self.run()
Exemple #6
0
 def __init__(self):
     run(["pkill", "air*"], stdout=DEVNULL, stderr=DEVNULL)
     Test.__init__(self)
     self.title = title
     self.desc = desc
     self.vulnerability = vulnerability
     self.exploit = exploit
     self.countermeasure = countermeasure
     self.filename = splitext(basename(__file__))[0] + ".md"
     self.pre_run()
     self.run()
 def __init__(self):
     Test.__init__(self, "DocumentFolder")
     self.titles = ["document about  science",
                    "document: about \"science\"",
                    "document: about the \"science\" and the (internet)"]
     self.folderNames = ["document_about_science",
                         "document_about_science",
                         "document_about_science_internet"]
     self.addTestFunction(self.folderName)
     self.addTestFunction(self.create)
     self.addTestFunction(self.internFolders)
     self.addTestFunction(self.organize)
 def __init__(self):
     run(["pkill", "air*"], stdout=DEVNULL, stderr=DEVNULL)
     Test.__init__(self)
     self.title = title
     # To access the tmp_path variable
     self.desc = 'The board will try to disconnect clients from all detected WPA networks and capture the ' \
                 'four-way WPA/WPA2 handshake. Handshakes (pcap files) will be found in the [' + Test.tmp_path + \
                 '](' + Config.temp_dir + ') folder.'
     self.vulnerability = vulnerability
     self.exploit = exploit
     self.countermeasure = countermeasure
     self.filename = splitext(basename(__file__))[0] + ".md"
     self.pre_run()
     self.run()
Exemple #9
0
 def __init__(self):
     Test.__init__(self)
     self.title = title
     self.desc = 'Display the IP address details assigned to the ' + Test.interface.name + ' interface via DHCP. ' \
                                                                                           'The IP address, ' \
                                                                                           'Subnet Mask, ' \
                                                                                           'Default Gateway and ' \
                                                                                           'DNS information are ' \
                                                                                           'listed.'
     self.vulnerability = vulnerability
     self.exploit = exploit
     self.countermeasure = countermeasure
     self.filename = splitext(basename(__file__))[0] + ".md"
     self.pre_run()
     self.run()
Exemple #10
0
 def __init__(self):
     Test.__init__(self, "File")
     self.addTestFunction(self.notExist)
     self.addTestFunction(self.create)
     self.addTestFunction(self.remove)
     self.addTestFunction(self.readWrite)
 def __init__(self):
     Test.__init__(self, "Document")
     self.addTestFunction(self.createFolderFromBibfile)
 def __init__(self):
     Test.__init__(self, "FieldsFormatting")
     self.addTestFunction(self.authors)
     self.addTestFunction(self.journal)
 def __init__(self):
     Test.__init__(self, "BibParser")
     self.addTestFunction(self.writeBib)
     self.addTestFunction(self.parse)