1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.myfaces.renderkit.html.behavior;
20
21 import javax.faces.component.UIComponent;
22 import javax.faces.component.html.HtmlInputTextarea;
23
24
25
26
27
28 public class HtmlTextareaClientBehaviorRendererTest extends AbstractClientBehaviorTestCase
29 {
30 private HtmlRenderedClientEventAttr[] attrs = null;
31
32 @Override
33 public void setUp() throws Exception
34 {
35 super.setUp();
36 attrs = HtmlClientEventAttributesUtil.generateClientBehaviorInputEventAttrs();
37 }
38
39 @Override
40 public void tearDown() throws Exception
41 {
42 super.tearDown();
43 attrs = null;
44 }
45
46
47 @Override
48 protected UIComponent createComponentToTest()
49 {
50 return new HtmlInputTextarea();
51 }
52
53 @Override
54 protected HtmlRenderedClientEventAttr[] getClientBehaviorHtmlRenderedAttributes()
55 {
56 return attrs;
57 }
58 }