File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 5858 var open_file = { } ;
5959 open_file . scriptRelativePath = 'perl-scripts/open-files.pl' ;
6060 open_file . stdoutFunction = function ( stdout ) {
61+ clearTestData ( ) ;
6162 displayTestResult ( 'open-file' , stdout ) ;
6263 }
6364
6465 var open_files = { } ;
6566 open_files . scriptRelativePath = 'perl-scripts/open-files.pl' ;
6667 open_files . stdoutFunction = function ( stdout ) {
68+ clearTestData ( ) ;
6769 displayTestResult ( 'open-files' , stdout ) ;
6870 }
6971
7072 var open_directory = { } ;
7173 open_directory . scriptRelativePath = 'perl-scripts/open-directory.pl' ;
7274 open_directory . stdoutFunction = function ( stdout ) {
75+ clearTestData ( ) ;
7376 displayTestResult ( 'open-directory' , stdout ) ;
7477 }
7578
7679 var perl_info = { } ;
7780 perl_info . scriptRelativePath = 'perl-scripts/perl-info.pl' ;
7881 perl_info . stdoutFunction = function ( stdout ) {
82+ clearTestData ( ) ;
7983 displayTestResult ( 'perl-info' , stdout ) ;
8084 }
8185
8286 var sqlite = { } ;
8387 sqlite . scriptRelativePath = 'perl-scripts/sqlite.pl' ;
8488 sqlite . stdoutFunction = function ( stdout ) {
89+ clearTestData ( ) ;
8590 displayTestResult ( 'sqlite-test' , stdout ) ;
8691 }
8792
133138 function displayTestResult ( id , stdout ) {
134139 var existingElement = document . getElementById ( id ) ;
135140 if ( existingElement === null ) {
141+ clearTestData ( ) ;
136142 var newElement = document . createElement ( "pre" ) ;
137143 newElement . id = id ;
138144 newElement . innerHTML = stdout ;
Original file line number Diff line number Diff line change 5050 var open_file = { } ;
5151 open_file . scriptRelativePath = 'perl-scripts/open-files.pl' ;
5252 open_file . stdoutFunction = function ( stdout ) {
53+ clearTestData ( ) ;
5354 displayTestResult ( 'open-file' , stdout ) ;
5455 }
5556
5657 var open_files = { } ;
5758 open_files . scriptRelativePath = 'perl-scripts/open-files.pl' ;
5859 open_files . stdoutFunction = function ( stdout ) {
60+ clearTestData ( ) ;
5961 displayTestResult ( 'open-files' , stdout ) ;
6062 }
6163
6264 var open_directory = { } ;
6365 open_directory . scriptRelativePath = 'perl-scripts/open-directory.pl' ;
6466 open_directory . stdoutFunction = function ( stdout ) {
67+ clearTestData ( ) ;
6568 displayTestResult ( 'open-directory' , stdout ) ;
6669 }
6770
6871 var perl_info = { } ;
6972 perl_info . scriptRelativePath = 'perl-scripts/perl-info.pl' ;
7073 perl_info . stdoutFunction = function ( stdout ) {
74+ clearTestData ( ) ;
7175 displayTestResult ( 'perl-info' , stdout ) ;
7276 }
7377
7478 var sqlite = { } ;
7579 sqlite . scriptRelativePath = 'perl-scripts/sqlite.pl' ;
7680 sqlite . stdoutFunction = function ( stdout ) {
81+ clearTestData ( ) ;
7782 displayTestResult ( 'sqlite-test' , stdout ) ;
7883 }
7984
125130 function displayTestResult ( id , stdout ) {
126131 var existingElement = document . getElementById ( id ) ;
127132 if ( existingElement === null ) {
133+ clearTestData ( ) ;
128134 var newElement = document . createElement ( "pre" ) ;
129135 newElement . id = id ;
130136 newElement . innerHTML = stdout ;
You can’t perform that action at this time.
0 commit comments