Source Code Cross Referenced for TagTestCaseAdapter.java in  » Testing » mockrunner-0.4 » com » mockrunner » tag » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » mockrunner 0.4 » com.mockrunner.tag 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package com.mockrunner.tag;
002:
003:        import java.util.Map;
004:
005:        //import javax.servlet.jsp.tagext.JspTag;
006:        import javax.servlet.jsp.tagext.TagSupport;
007:
008:        import com.mockrunner.base.HTMLOutputModule;
009:        import com.mockrunner.base.HTMLOutputTestCase;
010:        import com.mockrunner.mock.web.MockPageContext;
011:
012:        /**
013:         * Delegator for {@link com.mockrunner.tag.TagTestModule}. You can
014:         * subclass this adapter or use {@link com.mockrunner.tag.TagTestModule}
015:         * directly (so your test case can use another base class).
016:         * This adapter extends {@link com.mockrunner.base.BaseTestCase}.
017:         * It can be used if you want to use several modules in conjunction.
018:         * <b>This class is generated from the {@link com.mockrunner.tag.TagTestModule}
019:         * and should not be edited directly</b>.
020:         */
021:        public abstract class TagTestCaseAdapter extends HTMLOutputTestCase {
022:            private TagTestModule tagTestModule;
023:
024:            public TagTestCaseAdapter() {
025:
026:            }
027:
028:            public TagTestCaseAdapter(String name) {
029:                super (name);
030:            }
031:
032:            protected void tearDown() throws Exception {
033:                super .tearDown();
034:                tagTestModule = null;
035:            }
036:
037:            /**
038:             * Creates the {@link com.mockrunner.tag.TagTestModule}. If you
039:             * overwrite this method, you must call <code>super.setUp()</code>.
040:             */
041:            protected void setUp() throws Exception {
042:                super .setUp();
043:                tagTestModule = createTagTestModule(getWebMockObjectFactory());
044:            }
045:
046:            /**
047:             * Returns the {@link com.mockrunner.tag.TagTestModule} as
048:             * {@link com.mockrunner.base.HTMLOutputModule}.
049:             * @return the {@link com.mockrunner.base.HTMLOutputModule}
050:             */
051:            protected HTMLOutputModule getHTMLOutputModule() {
052:                return tagTestModule;
053:            }
054:
055:            /**
056:             * Gets the {@link com.mockrunner.tag.TagTestModule}.
057:             * @return the {@link com.mockrunner.tag.TagTestModule}
058:             */
059:            protected TagTestModule getTagTestModule() {
060:                return tagTestModule;
061:            }
062:
063:            /**
064:             * Sets the {@link com.mockrunner.tag.TagTestModule}.
065:             * @param tagTestModule the {@link com.mockrunner.tag.TagTestModule}
066:             */
067:            protected void setTagTestModule(TagTestModule tagTestModule) {
068:                this .tagTestModule = tagTestModule;
069:            }
070:
071:            /**
072:             * Delegates to {@link com.mockrunner.tag.TagTestModule#getMockPageContext}
073:             */
074:            protected MockPageContext getMockPageContext() {
075:                return tagTestModule.getMockPageContext();
076:            }
077:
078:            /**
079:             * Delegates to {@link com.mockrunner.tag.TagTestModule#clearOutput}
080:             */
081:            protected void clearOutput() {
082:                tagTestModule.clearOutput();
083:            }
084:
085:            /**
086:             * Delegates to {@link com.mockrunner.tag.TagTestModule#createNestedTag(Class, Map)}
087:             */
088:            protected NestedTag createNestedTag(Class tagClass, Map attributes) {
089:                return tagTestModule.createNestedTag(tagClass, attributes);
090:            }
091:
092:            /**
093:             * Delegates to {@link com.mockrunner.tag.TagTestModule#createNestedTag(Class)}
094:             */
095:            protected NestedTag createNestedTag(Class tagClass) {
096:                return tagTestModule.createNestedTag(tagClass);
097:            }
098:
099:            /**
100:             * Delegates to {@link com.mockrunner.tag.TagTestModule#createWrappedTag(Class)}
101:             */
102:            /*protected JspTag createWrappedTag(Class tagClass)
103:            {
104:                return tagTestModule.createWrappedTag(tagClass);
105:            }*/
106:
107:            /**
108:             * Delegates to {@link com.mockrunner.tag.TagTestModule#createWrappedTag(Class, Map)}
109:             */
110:            /*protected JspTag createWrappedTag(Class tagClass, Map attributes)
111:            {
112:                return tagTestModule.createWrappedTag(tagClass, attributes);
113:            }*/
114:
115:            /**
116:             * Delegates to {@link com.mockrunner.tag.TagTestModule#getWrappedTag}
117:             */
118:            /*protected JspTag getWrappedTag()
119:            {
120:                return tagTestModule.getWrappedTag();
121:            }*/
122:
123:            /**
124:             * Delegates to {@link com.mockrunner.tag.TagTestModule#setTag(JspTag)}
125:             */
126:            /*protected NestedTag setTag(JspTag tag)
127:            {
128:                return tagTestModule.setTag(tag);
129:            }*/
130:
131:            /**
132:             * Delegates to {@link com.mockrunner.tag.TagTestModule#setTag(JspTag, Map)}
133:             */
134:            /*protected NestedTag setTag(JspTag tag, Map attributes)
135:            {
136:                return tagTestModule.setTag(tag, attributes);
137:            }*/
138:
139:            /**
140:             * Delegates to {@link com.mockrunner.tag.TagTestModule#setTag(TagSupport, Map)}
141:             */
142:            protected NestedTag setTag(TagSupport tag, Map attributes) {
143:                return tagTestModule.setTag(tag, attributes);
144:            }
145:
146:            /**
147:             * Delegates to {@link com.mockrunner.tag.TagTestModule#setTag(TagSupport)}
148:             */
149:            protected NestedTag setTag(TagSupport tag) {
150:                return tagTestModule.setTag(tag);
151:            }
152:
153:            /**
154:             * Delegates to {@link com.mockrunner.tag.TagTestModule#setDoRelease(boolean)}
155:             */
156:            protected void setDoRelease(boolean doRelease) {
157:                tagTestModule.setDoRelease(doRelease);
158:            }
159:
160:            /**
161:             * Delegates to {@link com.mockrunner.tag.TagTestModule#setDoReleaseRecursive(boolean)}
162:             */
163:            protected void setDoReleaseRecursive(boolean doRelease) {
164:                tagTestModule.setDoReleaseRecursive(doRelease);
165:            }
166:
167:            /**
168:             * Delegates to {@link com.mockrunner.tag.TagTestModule#populateAttributes}
169:             */
170:            protected void populateAttributes() {
171:                tagTestModule.populateAttributes();
172:            }
173:
174:            /**
175:             * Delegates to {@link com.mockrunner.tag.TagTestModule#setBody(String)}
176:             */
177:            protected void setBody(String body) {
178:                tagTestModule.setBody(body);
179:            }
180:
181:            /**
182:             * Delegates to {@link com.mockrunner.tag.TagTestModule#getNestedTag}
183:             */
184:            protected NestedTag getNestedTag() {
185:                return tagTestModule.getNestedTag();
186:            }
187:
188:            /**
189:             * Delegates to {@link com.mockrunner.tag.TagTestModule#doTag}
190:             */
191:            /*protected void doTag()
192:            {
193:                tagTestModule.doTag();
194:            }*/
195:
196:            /**
197:             * Delegates to {@link com.mockrunner.tag.TagTestModule#doStartTag}
198:             */
199:            protected int doStartTag() {
200:                return tagTestModule.doStartTag();
201:            }
202:
203:            /**
204:             * Delegates to {@link com.mockrunner.tag.TagTestModule#doEndTag}
205:             */
206:            protected int doEndTag() {
207:                return tagTestModule.doEndTag();
208:            }
209:
210:            /**
211:             * Delegates to {@link com.mockrunner.tag.TagTestModule#doInitBody}
212:             */
213:            protected void doInitBody() {
214:                tagTestModule.doInitBody();
215:            }
216:
217:            /**
218:             * Delegates to {@link com.mockrunner.tag.TagTestModule#doAfterBody}
219:             */
220:            protected int doAfterBody() {
221:                return tagTestModule.doAfterBody();
222:            }
223:
224:            /**
225:             * Delegates to {@link com.mockrunner.tag.TagTestModule#processTagLifecycle}
226:             */
227:            protected int processTagLifecycle() {
228:                return tagTestModule.processTagLifecycle();
229:            }
230:
231:            /**
232:             * Delegates to {@link com.mockrunner.tag.TagTestModule#release}
233:             */
234:            protected void release() {
235:                tagTestModule.release();
236:            }
237:
238:            /**
239:             * Delegates to {@link com.mockrunner.tag.TagTestModule#createTag(Class)}
240:             */
241:            protected TagSupport createTag(Class tagClass) {
242:                return tagTestModule.createTag(tagClass);
243:            }
244:
245:            /**
246:             * Delegates to {@link com.mockrunner.tag.TagTestModule#createTag(Class, Map)}
247:             */
248:            protected TagSupport createTag(Class tagClass, Map attributes) {
249:                return tagTestModule.createTag(tagClass, attributes);
250:            }
251:
252:            /**
253:             * Delegates to {@link com.mockrunner.tag.TagTestModule#getTag}
254:             */
255:            protected TagSupport getTag() {
256:                return tagTestModule.getTag();
257:            }
258:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.