function loadTestData(done) {
		function check() {
			if (!!treeherderData && !!junitData) {
				done();
			}
		}

		var basepath = path.join(__dirname, '..', '..');
		var inputpath = path.join(basepath, 'treeherder.txt');
		fs.readFile(inputpath, 'utf8', function (err, data) {
			if (err) {
				return console.log(err);
			}
			treeherderData = data;
			check();
		});

		var outputpath = path.join(basepath, 'junit.xml');
		fs.readFile(outputpath, 'utf8', function (err, data) {
			if (err) {
				return console.log(err);
			}
			junitData = data;
			check();
		});
	}
/**
	 * Loads the testing data
	 * @param done
	 */
Loads the testing data
@param done
Loads the testing data @param done
function loadTestData(done) {
		function check() {
			if (!!treeherderData && !!junitData) {
				done();
			}
		}
		var basepath = path.join(__dirname, '..', '..');
		var inputpath = path.join(basepath, 'treeherder.txt');
		fs.readFile(inputpath, 'utf8', function (err, data) {
			if (err) {
				return console.log(err);
			}
			treeherderData = data;
			check();
		});
		var outputpath = path.join(basepath, 'junit.xml');
		fs.readFile(outputpath, 'utf8', function (err, data) {
			if (err) {
				return console.log(err);
			}
			junitData = data;
			check();
		});
	}
function loadTestData ( done ) { function check ( ) { if ( ! ! treeherderData && ! ! junitData ) { done ( ) ; } } var basepath = path . join ( __dirname , '..' , '..' ) ; var inputpath = path . join ( basepath , 'treeherder.txt' ) ; fs . readFile ( inputpath , 'utf8' , function ( err , data ) { if ( err ) { return console . log ( err ) ; } treeherderData = data ; check ( ) ; } ) ; var outputpath = path . join ( basepath , 'junit.xml' ) ; fs . readFile ( outputpath , 'utf8' , function ( err , data ) { if ( err ) { return console . log ( err ) ; } junitData = data ; check ( ) ; } ) ; }
Loads the testing data
 @param done
Loads the testing data @param done