diff options
author | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-09-16 11:56:19 +0200 |
---|---|---|
committer | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-09-16 11:56:19 +0200 |
commit | 32ae66f4d352fc4b14e031f4233d2700f0e83b44 (patch) | |
tree | 3d4c11647011df2f5b8b42a0d4ea17fb1953c671 /testautomation/global/tools/includes/required/t_files.inc | |
parent | f9b8934ca13e151c75c76482fb55449e0d7dcd17 (diff) |
automationdev300m87: #i112208# - Debugging test cases: Enabled debug output for hFileOpenLocally() by default
Diffstat (limited to 'testautomation/global/tools/includes/required/t_files.inc')
-rw-r--r-- | testautomation/global/tools/includes/required/t_files.inc | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/testautomation/global/tools/includes/required/t_files.inc b/testautomation/global/tools/includes/required/t_files.inc index 434d125f1c79..585aa3c75e5d 100644 --- a/testautomation/global/tools/includes/required/t_files.inc +++ b/testautomation/global/tools/includes/required/t_files.inc @@ -627,14 +627,13 @@ function hFileOpenLocally( byVal sSourcePath as string ) as boolean ' exist. This behavior was discussed on IRC if ( FileExists( sTargetPath ) ) then 'printlog( CFN & "Re-using existing local copy of workfile" ) - warnlog( CFN & "About to reuse existing file. Please check" ) - else - if ( GVERBOSE ) then - printlog( CFN & "Copying file" ) - printlog( CFN & "From: " & sSourcePath ) - printlog( CFN & "To..: " & sTargetPath ) - endif + warnlog( CFN & "Target file exists, it has not been deleted by prior test" ) endif + + printlog( CFN & "Copying file" ) + printlog( CFN & "From: " & sSourcePath ) + printlog( CFN & "To..: " & sTargetPath ) + FileCopy( sSourcePath, sTargetPath ) ' Verify that the file has been created. return an empty string and warn |