

def build(self):
    self.opt.log('Checking Root CA...')
    self.checkRootCA()
    self.opt.log('Checking Test Directory...')
    self.initDirectory()
    if self.opt.compFunc:
        self.opt.log('Building Functionality Test Cases...')
        cases = TestFunctionality(test.fqdn, self.info).build().getTestCases()
        for test in cases:
            self.addTestCase(test, self.opt.replace)
    if self.opt.compCert:
        self.opt.log('Building X509 Test Cases...')
        cases = self.getAllTestCases(TestCase)
        for test in cases:
            self.addTestCase(test, self.opt.replace)
    if self.opt.compOverflow:
        self.opt.log('Building Overflow Test Cases...')
        cases = TestOverflow(self.fqdn, self.info, self.opt.overflowLen).build().getTestCases()
        for test in cases:
            self.addTestCase(test, self.opt.replace)
    self.baseCase = ValidCert(self.fqdn, self.info)
    self.baseCase.testBuild(False)
    saveSerial()
    return self

dataset/ETHPy150Open yymax/x509test/src/TestSet.py TestSet.build/VarMisuse@62/94 `self`->`test`