1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.myfaces.trinidad.component.html;
20
21 import java.io.IOException;
22
23 import junit.framework.Test;
24 import junit.framework.TestSuite;
25
26 import org.apache.myfaces.trinidad.component.UIComponentTestCase;
27
28
29
30
31
32 public class HtmlRowLayoutTest extends UIComponentTestCase
33 {
34
35
36
37
38
39 public HtmlRowLayoutTest(
40 String testName)
41 {
42 super(testName);
43 }
44
45 @Override
46 protected void setUp() throws Exception
47 {
48 super.setUp();
49 }
50
51 @Override
52 protected void tearDown() throws Exception
53 {
54 super.tearDown();
55 }
56
57 public static Test suite()
58 {
59 return new TestSuite(HtmlRowLayoutTest.class);
60 }
61
62
63
64
65 public void testInitialAttributeValues()
66 {
67 HtmlRowLayout component = new HtmlRowLayout();
68 assertEquals(true, component.isRendered());
69 }
70
71
72
73
74
75
76 public void testAttributeTransparency()
77 {
78 HtmlRowLayout component = new HtmlRowLayout();
79
80 doTestAttributeTransparency(component, "halign",
81 "left", "right");
82 doTestAttributeTransparency(component, "valign",
83 "top", "bottom");
84 doTestAttributeTransparency(component, "width",
85 "50%", "100%");
86 }
87
88
89
90
91
92
93 public void testFacetTransparency()
94 {
95
96 }
97
98
99
100
101 public void testApplyRequestValues()
102 {
103 HtmlRowLayout component = new HtmlRowLayout();
104 doTestApplyRequestValues(component);
105 }
106
107
108
109
110 public void testProcessValidations()
111 {
112 HtmlRowLayout component = new HtmlRowLayout();
113 doTestProcessValidations(component);
114 }
115
116
117
118
119 public void testUpdateModelValues()
120 {
121 HtmlRowLayout component = new HtmlRowLayout();
122 doTestUpdateModelValues(component);
123 }
124
125
126
127
128 public void testInvokeApplication()
129 {
130 HtmlRowLayout component = new HtmlRowLayout();
131 doTestInvokeApplication(component, null);
132 }
133
134
135
136
137
138
139 public void testRenderResponse() throws IOException
140 {
141 HtmlRowLayout component = new HtmlRowLayout();
142 doTestRenderResponse(component);
143 }
144 }