You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2004/05/23 19:50:32 UTC

svn commit: rev 20266 - in avalon/trunk/tools/project/src/test/projects/widget: . src src/main src/main/org src/main/org/apache src/main/org/apache/avalon src/main/org/apache/avalon/widget src/test src/test/org src/test/org/apache src/test/org/apache/avalon src/test/org/apache/avalon/widget src/test/org/apache/avalon/widget/test

Author: mcconnell
Date: Sun May 23 10:50:31 2004
New Revision: 20266

Added:
   avalon/trunk/tools/project/src/test/projects/widget/src/
   avalon/trunk/tools/project/src/test/projects/widget/src/main/
   avalon/trunk/tools/project/src/test/projects/widget/src/main/org/
   avalon/trunk/tools/project/src/test/projects/widget/src/main/org/apache/
   avalon/trunk/tools/project/src/test/projects/widget/src/main/org/apache/avalon/
   avalon/trunk/tools/project/src/test/projects/widget/src/main/org/apache/avalon/widget/
   avalon/trunk/tools/project/src/test/projects/widget/src/main/org/apache/avalon/widget/StandardWidget.java
   avalon/trunk/tools/project/src/test/projects/widget/src/main/org/apache/avalon/widget/Widget.java
   avalon/trunk/tools/project/src/test/projects/widget/src/test/
   avalon/trunk/tools/project/src/test/projects/widget/src/test/org/
   avalon/trunk/tools/project/src/test/projects/widget/src/test/org/apache/
   avalon/trunk/tools/project/src/test/projects/widget/src/test/org/apache/avalon/
   avalon/trunk/tools/project/src/test/projects/widget/src/test/org/apache/avalon/widget/
   avalon/trunk/tools/project/src/test/projects/widget/src/test/org/apache/avalon/widget/test/
   avalon/trunk/tools/project/src/test/projects/widget/src/test/org/apache/avalon/widget/test/WidgetTestCase.java
Modified:
   avalon/trunk/tools/project/src/test/projects/widget/build.xml
Log:


Modified: avalon/trunk/tools/project/src/test/projects/widget/build.xml
==============================================================================
--- avalon/trunk/tools/project/src/test/projects/widget/build.xml	(original)
+++ avalon/trunk/tools/project/src/test/projects/widget/build.xml	Sun May 23 10:50:31 2004
@@ -4,4 +4,10 @@
 
   <x:project index="../../index.xml"/>
 
+  <x:prepare/>
+  <x:javac/>
+  <x:jar/>
+  <x:test/>
+  <x:install/>
+
 </project>

Added: avalon/trunk/tools/project/src/test/projects/widget/src/main/org/apache/avalon/widget/StandardWidget.java
==============================================================================
--- (empty file)
+++ avalon/trunk/tools/project/src/test/projects/widget/src/main/org/apache/avalon/widget/StandardWidget.java	Sun May 23 10:50:31 2004
@@ -0,0 +1,29 @@
+/* 
+ * Copyright 2004 Apache Software Foundation
+ * Licensed  under the  Apache License,  Version 2.0  (the "License");
+ * you may not use  this file  except in  compliance with the License.
+ * You may obtain a copy of the License at 
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed  under the  License is distributed on an "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
+ * implied.
+ * 
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.avalon.widget;
+
+
+/**
+ * Sample gizmo implementation. 
+ *
+ * @author <a href="mailto:dev@avalon.apache.org">Avalon Development Team</a>
+ * @version $Revision: 1.2 $ $Date: 2004/03/17 10:30:09 $
+ */
+public class StandardWidget implements Widget 
+{
+}

Added: avalon/trunk/tools/project/src/test/projects/widget/src/main/org/apache/avalon/widget/Widget.java
==============================================================================
--- (empty file)
+++ avalon/trunk/tools/project/src/test/projects/widget/src/main/org/apache/avalon/widget/Widget.java	Sun May 23 10:50:31 2004
@@ -0,0 +1,29 @@
+/* 
+ * Copyright 2004 Apache Software Foundation
+ * Licensed  under the  Apache License,  Version 2.0  (the "License");
+ * you may not use  this file  except in  compliance with the License.
+ * You may obtain a copy of the License at 
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed  under the  License is distributed on an "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
+ * implied.
+ * 
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.avalon.widget;
+
+
+/**
+ * Sample Gizmo interface. 
+ *
+ * @author <a href="mailto:dev@avalon.apache.org">Avalon Development Team</a>
+ * @version $Revision: 1.2 $ $Date: 2004/03/17 10:30:09 $
+ */
+public interface Widget 
+{
+}

Added: avalon/trunk/tools/project/src/test/projects/widget/src/test/org/apache/avalon/widget/test/WidgetTestCase.java
==============================================================================
--- (empty file)
+++ avalon/trunk/tools/project/src/test/projects/widget/src/test/org/apache/avalon/widget/test/WidgetTestCase.java	Sun May 23 10:50:31 2004
@@ -0,0 +1,42 @@
+/* 
+ * Copyright 2004 Apache Software Foundation
+ * Licensed  under the  Apache License,  Version 2.0  (the "License");
+ * you may not use  this file  except in  compliance with the License.
+ * You may obtain a copy of the License at 
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed  under the  License is distributed on an "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
+ * implied.
+ * 
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.avalon.widget.test;
+
+import junit.framework.TestCase;
+import org.apache.avalon.widget.Widget;
+import org.apache.avalon.widget.StandardWidget;
+
+/**
+ * Gizmo TestCase
+ *
+ * @author <a href="mailto:dev@avalon.apache.org">Avalon Development Team</a>
+ * @version CVS $ Revision: 1.1 $
+ */
+public class WidgetTestCase extends TestCase
+{
+    public WidgetTestCase( String name )
+    {
+        super( name );
+    }
+
+    public void testWidget() throws Exception
+    {
+        StandardWidget widget = new StandardWidget();
+        assertTrue( "is a widget", ( widget instanceof Widget ) );
+    }
+}

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org