Author: dbiatenia
Date: 2007-04-12 10:12:56 -0400 (Thu, 12 Apr 2007)
New Revision: 80
Modified:
trunk/cdk/generator/src/main/resources/META-INF/templates/tagtest.vm
Log:
Modified: trunk/cdk/generator/src/main/resources/META-INF/templates/tagtest.vm
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/templates/tagtest.vm 2007-04-12
14:12:30 UTC (rev 79)
+++ trunk/cdk/generator/src/main/resources/META-INF/templates/tagtest.vm 2007-04-12
14:12:56 UTC (rev 80)
@@ -86,6 +86,13 @@
public void testSetPropertiesUIComponent() {
${component.simpleClassName} component = new ${component.simpleClassName}();
/*
+ #foreach( $prop in $tag.properties )
+ tag.${prop.setterName}("__${prop.name}");
+ #end
+*/
+ tag.setProperties(component);
+
+/*
#foreach( $prop in $component.properties )
#if( !$prop.existintag )
#if(!$prop.el)
@@ -139,4 +146,14 @@
#end
*/
}
+
+ public void testGetRendererType(){
+ assertNotNull(tag.getRendererType());
+ }
+
+ public void testGetComponentType(){
+ assertNotNull(tag.getComponentType());
+ }
+
+
}
Show replies by date