My favorites | Sign in
Project Home Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/**
*
*/
package org.openiaml.model.tests.codegen.model0_4;

import org.openiaml.model.tests.CodegenTestCase;

/**
* A JoinNode executing on the server-side.
*
* @implementation JoinNode,SplitNode A {@model SplitNode} executing on
* the server will split execution into separate threads until
* each thread meets up at a {@model JoinNode}.
* @example JoinNode,SplitNode,ExecutionEdge {@model SplitNode Splitting} execution into
* different threads on the server.
* @author jmwright
*
*/
public class JoinSplitServerSide extends CodegenTestCase {

@Override
public void setUp() throws Exception {
super.setUp();
root = loadAndCodegen(JoinSplitServerSide.class);
}

/**
* This operation is executed as soon as we hit the page, so
* the field values should exist already.
*
* @throws Exception
*/
public void testInitial() throws Exception {
beginAtSitemapThenPage("Home");
assertNoProblem();

{
String field = getLabelIDForText("field1");
assertLabeledFieldEquals(field, "foo");
}

{
String field = getLabelIDForText("field2");
assertLabeledFieldEquals(field, "bar");
}

{
String field = getLabelIDForText("field3");
assertLabeledFieldEquals(field, "baz");
}

// there shouldn't be any button present
assertButtonNotPresentWithText("target");
}

}

Change log

r1561 by soundasleep on Feb 22, 2010   Diff
replacing '@operational' modeldoc tag with
'@implementation'
fixing some broken '@link' javadoc tags,
which were causing problems with generated
modeldoc
modeldoc no longer displays Operational
Semantics unless there are some
Go to: 
Project members, sign in to write a code review

Older revisions

r1228 by soundasleep on Sep 29, 2009   Diff
adding inline documentation for
modeldoc, based on /wiki/Model0_4
r1221 by soundasleep on Sep 29, 2009   Diff
changing '@semantics' to '@inference'
and '@operational'
adding modeldoc for SplitNode and
JoinNode
r986 by soundasleep on Aug 12, 2009   Diff
adding test cases for JoinNode and
SplitNode
All revisions of this file

File info

Size: 1389 bytes, 56 lines
Powered by Google Project Hosting