test/raw_prog_test.rb in openwferu-0.9.4 vs test/raw_prog_test.rb in openwferu-0.9.5
- old
+ new
@@ -17,20 +17,10 @@
#end
#def teardown
#end
- $EXPRESSION_NAMES = [
- "process-definition",
- "sequence",
- "participant",
- "set",
- "if",
- "equals",
- "print"
- ]
-
XML_DEF = """
<process-definition name='test0' revision='0'>
<sequence>
<participant ref='a'/>
<participant ref='b'/>
@@ -53,11 +43,10 @@
end
end
def test_prog_0
- #s = TestDefinition.new($EXPRESSION_NAMES).make.to_s
s = TestDefinition.new().make.to_s
#puts
#puts s
@@ -66,11 +55,10 @@
"parsing failed (0)"
end
def test_prog_0b
- #s = TestDefinition.new($EXPRESSION_NAMES).make.to_s
s = TestDefinition.do_make.to_s
#puts
#puts s
@@ -84,10 +72,9 @@
# TEST 1
#
def test_prog_1
- #pg = OpenWFE::ProcessDefinition.new($EXPRESSION_NAMES)
pg = OpenWFE::ProcessDefinition.new()
class << pg
def my_proc
process_definition :name => "test0", :revision => "0" do