Revision: 2475
Author: janne.t.harkonen
Date: Thu Feb 18 05:37:29 2010
Log: Converted to text format
http://code.google.com/p/robotframework/source/detail?r=2475
Modified:
/trunk/atest/robot/output/suite_source_in_log.txt
=======================================
--- /trunk/atest/robot/output/suite_source_in_log.txt Thu Feb 18 05:37:20
2010
+++ /trunk/atest/robot/output/suite_source_in_log.txt Thu Feb 18 05:37:29
2010
@@ -3,7 +3,8 @@
Resource ../../resources/resource.html
*** Variables ***
-${BASE} ${CURDIR}/../../testdata/misc
+${RELATIVE} /../../testdata/misc
+${BASE} ${CURDIR}${RELATIVE}
${LOGNAME} suite_source_log.html
*** Test Cases ***
@@ -29,8 +30,9 @@
*** Keywords ***
Verify Suite Source Link
[Arguments] ${path}
- ${path} = Join Path ${BASE} ${path}
- ${logfile} = Get File ${OUTDIR}/${LOGNAME}
- Should Contain ${logfile} <a href="file://${path}">${path}</a>
+ ${relpath}= Set Variable ${RELATIVE}${/}${path}
+ ${abspath}= Join Path ${BASE} ${path}
+ ${logfile}= Get File ${OUTDIR}/${LOGNAME}
+ Should Contain ${logfile} <a href="..${relpath}">${abspath}</a>
[Return] ${logfile}