Revision: 30e23657732a
Branch: default
Author: Mikko Korpela <[email protected]>
Date: Fri May 31 00:27:28 2013
Log: Move nolog tests to running
http://code.google.com/p/robotframework/source/detail?r=30e23657732a
Added:
/atest/robot/running/nolog.py
/atest/robot/running/nolog.txt
Deleted:
/atest/robot/cli/nolog/nolog.py
/atest/robot/cli/nolog/nolog.txt
=======================================
--- /dev/null
+++ /atest/robot/running/nolog.py Fri May 31 00:27:28 2013
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+def difference_between_stuff(file1, file2):
+ with open(file1) as f1:
+ content1 = f1.readlines()
+ with open(file2) as f2:
+ content2 = f2.readlines()
+ for l1,l2 in zip(content1, content2):
+ if 'generatedTimestamp' in l1:
+ continue
+ if 'generatedMillis' in l1:
+ continue
+ if l1 != l2:
+ raise AssertionError('%r\n is not same as\n%r' % (l1,
l2))
+ if len(content1) != len(content2):
+ raise AssertionError("file %r len %d is different "
+ "than file %r len %d" %
+ (file1, len(content1),
+ file2, len(content2)))
=======================================
--- /dev/null
+++ /atest/robot/running/nolog.txt Fri May 31 00:27:28 2013
@@ -0,0 +1,24 @@
+*** Settings ***
+Resource atest_resource.txt
+Force Tags regression pybot jybot
+Library nolog.py
+Test Template Run With Options
+
+*** Test Cases ***
+Should be same
+ -l none --tagstatcombine passANDfail
+ --tagstatcombine passANDfail
+ -l none --tagstatexclude pass
+ -l none --tagstatinclude pass
+
+*** Keywords ***
+Run With Options [Arguments] ${options}
+ Run Tests ${options} -r pybotreport.html misc/pass_and_fail.txt
+ Copy File
${OUTDIR}${/}pybotreport.html %{TEMPDIR}${/}pybotreport.html
+ Run Rebot -r rebotreport.html ${options} ${OUTFILE}
+ Copy File
${OUTDIR}${/}rebotreport.html %{TEMPDIR}${/}rebotreport.html
+ Difference between
stuff %{TEMPDIR}${/}pybotreport.html %{TEMPDIR}${/}rebotreport.html
+ [Teardown] Remove
Files %{TEMPDIR}${/}pybotreport.html %{TEMPDIR}${/}rebotreport.html
+
+
+
=======================================
--- /atest/robot/cli/nolog/nolog.py Fri May 31 00:21:28 2013
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-
-def difference_between_stuff(file1, file2):
- with open(file1) as f1:
- content1 = f1.readlines()
- with open(file2) as f2:
- content2 = f2.readlines()
- for l1,l2 in zip(content1, content2):
- if 'generatedTimestamp' in l1:
- continue
- if 'generatedMillis' in l1:
- continue
- if l1 != l2:
- raise AssertionError('%r\n is not same as\n%r' % (l1,
l2))
- if len(content1) != len(content2):
- raise AssertionError("file %r len %d is different "
- "than file %r len %d" %
- (file1, len(content1),
- file2, len(content2)))
=======================================
--- /atest/robot/cli/nolog/nolog.txt Thu May 30 06:02:11 2013
+++ /dev/null
@@ -1,24 +0,0 @@
-*** Settings ***
-Resource atest_resource.txt
-Force Tags regression pybot jybot
-Library nolog.py
-Test Template Run With Options
-
-*** Test Cases ***
-Should be same
- -l none --tagstatcombine passANDfail
- --tagstatcombine passANDfail
- -l none --tagstatexclude pass
- -l none --tagstatinclude pass
-
-*** Keywords ***
-Run With Options [Arguments] ${options}
- Run Tests ${options} -r pybotreport.html misc/pass_and_fail.txt
- Copy File
${OUTDIR}${/}pybotreport.html %{TEMPDIR}${/}pybotreport.html
- Run Rebot -r rebotreport.html ${options} ${OUTFILE}
- Copy File
${OUTDIR}${/}rebotreport.html %{TEMPDIR}${/}rebotreport.html
- Difference between
stuff %{TEMPDIR}${/}pybotreport.html %{TEMPDIR}${/}rebotreport.html
- [Teardown] Remove
Files %{TEMPDIR}${/}pybotreport.html %{TEMPDIR}${/}rebotreport.html
-
-
-
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.