webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Functions | Variables
pyjsontestrunner.py File Reference

Namespaces

 pyjsontestrunner
 

Functions

def pyjsontestrunner.valueTreeToString (fout, value, path='.')
 
def pyjsontestrunner.parseAndSaveValueTree (input, actual_path)
 
def pyjsontestrunner.rewriteValueTree (value, rewrite_path)
 

Variables

 pyjsontestrunner.input_path = sys.argv[1]
 
 pyjsontestrunner.base_path = os.path.splitext(input_path)[0]
 
string pyjsontestrunner.actual_path = base_path + '.actual'
 
string pyjsontestrunner.rewrite_path = base_path + '.rewrite'
 
string pyjsontestrunner.rewrite_actual_path = base_path + '.actual-rewrite'
 
 pyjsontestrunner.input = file( input_path, 'rt' ).read()
 
def pyjsontestrunner.root = parseAndSaveValueTree( input, actual_path )
 
def pyjsontestrunner.rewrite = rewriteValueTree( json.write( root ), rewrite_path )
 
def pyjsontestrunner.rewrite_root = parseAndSaveValueTree( rewrite, rewrite_actual_path )