| CODENOTIFIER | HelpYou are not signed inSign in |
Project: OpenWFEru
Revision: 1653
Author: jmettraux
Date: 09 Apr 2008 20:45:55
Changes:patch #19407 : made sure that rufus-verbs fopen() returned an instance with a read() method
Files:| ... | ...@@ -41,4 +41,5 @@ | |
| 41 | 41 | -------- |
| 42 | 42 | |
| 43 | Scott Sproule - missing read() method in rufus-verbs fopen() | |
| 43 | 44 | Aye Thu - missing 'atom-tools' dependency |
| 44 | 45 | Machiel Groeneveld - missing 'rufus-mnemo' dependency |
| ... | ...@@ -51,4 +51,5 @@ | |
| 51 | 51 | require 'ft_27_getflowpos' |
| 52 | 52 | require 'ft_28_fileparticipant' |
| 53 | ||
| 53 | 54 | require 'ft_31_flowname' |
| 54 | 55 | require 'ft_34_cancelwfid' |
| ... | ...@@ -8,4 +8,6 @@ | |
| 8 | 8 | # |
| 9 | 9 | |
| 10 | require 'rubygems' | |
| 11 | ||
| 10 | 12 | require 'openwfe/def' |
| 11 | 13 | require 'openwfe/workitem' |
| ... | ...@@ -31,5 +33,4 @@ | |
| 31 | 33 | # TEST 0 |
| 32 | 34 | |
| 33 | #def xxxx_httprb_0 | |
| 34 | 35 | def test_httprb_0 |
| 35 | 36 | |
| ... | ...@@ -37,9 +38,5 @@ | |
| 37 | 38 | li.wfdurl = "#{DEFHOST}/testdef.rb" |
| 38 | 39 | |
| 39 | dotest( | |
| 40 | li, | |
| 41 | """a | |
| 42 | b | |
| 43 | c""") | |
| 40 | dotest li, %w{ a b c }.join("\n") | |
| 44 | 41 | end |
| 45 | 42 | |
| ... | ...@@ -49,22 +46,14 @@ | |
| 49 | 46 | |
| 50 | 47 | class MainDefinition1 < OpenWFE::ProcessDefinition |
| 51 | def make | |
| 52 | sequence do | |
| 53 | _print "A" | |
| 54 | subprocess :ref => "#{DEFHOST}/testdef.rb" | |
| 55 | _print "C" | |
| 56 | end | |
| 48 | sequence do | |
| 49 | _print "A" | |
| 50 | subprocess :ref => "#{DEFHOST}/testdef.rb" | |
| 51 | _print "C" | |
| 57 | 52 | end |
| 58 | 53 | end |
| 59 | 54 | |
| 60 | #def xxxx_httprb_1 | |
| 61 | 55 | def test_httprb_1 |
| 62 | dotest( | |
| 63 | MainDefinition1, | |
| 64 | """A | |
| 65 | a | |
| 66 | b | |
| 67 | c | |
| 68 | C""") | |
| 56 | ||
| 57 | dotest MainDefinition1, %w{ A a b c C }.join("\n") | |
| 69 | 58 | end |
| 70 | 59 | |
| ... | ...@@ -83,13 +72,7 @@ | |
| 83 | 72 | end |
| 84 | 73 | |
| 85 | #def xxxx_httprb_2 | |
| 86 | 74 | def test_httprb_2 |
| 87 | dotest( | |
| 88 | MainDefinition2, | |
| 89 | """-1 | |
| 90 | 0 | |
| 91 | 1 | |
| 92 | 2 | |
| 93 | 3""") | |
| 75 | ||
| 76 | dotest MainDefinition2, %w{ -1 0 1 2 3 }.join("\n") | |
| 94 | 77 | end |
| 95 | 78 | |
| ... | ...@@ -98,5 +81,4 @@ | |
| 98 | 81 | # TEST 3 |
| 99 | 82 | |
| 100 | #def xxxx_httprb_3 | |
| 101 | 83 | def test_httprb_3 |
| 102 | 84 |
| ... | ...@@ -716,10 +716,5 @@ | |
| 716 | 716 | stack = get_expression_storage.find_expressions params |
| 717 | 717 | |
| 718 | # TODO : (maybe) add raw_representation method to result | |
| 719 | # (only if unapplied set to true) | |
| 720 | ||
| 721 | class << stack | |
| 722 | include RepresentationMixin | |
| 723 | end if unapplied | |
| 718 | stack.extend(RepresentationMixin) if unapplied | |
| 724 | 719 | |
| 725 | 720 | stack |