Author: alexsmirnov
Date: 2010-03-26 20:35:13 -0400 (Fri, 26 Mar 2010)
New Revision: 16678
Modified:
root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/src/main/java/org/richfaces/cdk/test/component/AbstractTestComponent.java
Log:
fix integration test
Modified:
root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/src/main/java/org/richfaces/cdk/test/component/AbstractTestComponent.java
===================================================================
---
root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/src/main/java/org/richfaces/cdk/test/component/AbstractTestComponent.java 2010-03-26
23:48:22 UTC (rev 16677)
+++
root/cdk/trunk/plugins/maven-cdk-plugin/src/it/annotated-component/src/main/java/org/richfaces/cdk/test/component/AbstractTestComponent.java 2010-03-27
00:35:13 UTC (rev 16678)
@@ -26,14 +26,13 @@
import java.util.List;
import javax.faces.component.UIComponentBase;
-import javax.faces.component.ValueHolder;
import org.richfaces.cdk.annotations.Attribute;
-import org.richfaces.cdk.annotations.Component;
import org.richfaces.cdk.annotations.Family;
import org.richfaces.cdk.annotations.Fires;
import org.richfaces.cdk.annotations.Generate;
import org.richfaces.cdk.annotations.Icon;
+import org.richfaces.cdk.annotations.JsfComponent;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.test.event.TestEvent;
@@ -44,13 +43,9 @@
* @author asmirnov(a)exadel.com
*
*/
-@Component(type = "org.richfaces.cdk.test.TestComponent")
-(a)Generate("org.richfaces.cdk.test.UITestComponent")
-(a)Family("org.richfaces.cdk.test.Test")
-(a)Fires(TestEvent.class)
-@Tag(name = "test")
-(a)Icon(large="large.jpg",small="small.gif")
+@JsfComponent(type = "org.richfaces.cdk.test.TestComponent")
public abstract class AbstractTestComponent extends UIComponentBase /*implements
ValueHolder */{
+
@Attribute
private int foo;
Show replies by date