#NEWLINE# def runTest( self ) : #NEWLINE# #INDENT# ( fqdn , _ ) = self . build ( ) #NEWLINE# self . log ( 'Starting SSL/TLS X509 Certificate Test' ) #NEWLINE# complete = True #NEWLINE# cases = TestSet ( fqdn , self ) #NEWLINE# if self . list : #NEWLINE# #INDENT# self . log ( '\nLegends:' ) #NEWLINE# self . log ( '(>) means test group or branch node' ) #NEWLINE# self . log ( '(*) means critical test case' ) #NEWLINE# self . log ( '(+) means extended test case' ) #NEWLINE# self . log ( '(-) means normal test case' ) #NEWLINE# self . log ( '\nTest Cases:' ) #NEWLINE# cnt = cases . printAllTestCases ( TestCase , '' ) #NEWLINE# self . log ( ( ( 'Total of ' + str ( cnt ) ) + ' test case(s).' ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if self . conly : #NEWLINE# #INDENT# cases . build ( ) #NEWLINE# self . log ( 'Done' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if self . pver : #NEWLINE# #INDENT# self . printVersion ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# cases = cases . build ( ) #NEWLINE# test = TestServer ( cases . getTestSet ( ) , cases . getBaseCase ( ) , self ) #NEWLINE# complete = test . run ( ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# self . log ( '' ) #NEWLINE# self . log ( ( 'Program Exits' + ( ' with Errors' if ( not fqdn ) else ' Correctly' ) ) ) #NEWLINE# self . logStream . close ( )