leosutic 2003/08/10 15:21:53
Modified: attributes/api/src/test/org/apache/avalon/attributes/test
SuperSample.java
Log:
1. Moved all build stuff into Maven.
2. Wrote a proper test case.
3. Included support for attributes attached to fields and constructors.
4. Slight code cleanups.
Revision Changes Path
1.2 +25 -0
avalon-sandbox/attributes/api/src/test/org/apache/avalon/attributes/test/SuperSample.java
Index: SuperSample.java
===================================================================
RCS file:
/home/cvs/avalon-sandbox/attributes/api/src/test/org/apache/avalon/attributes/test/SuperSample.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SuperSample.java 10 Aug 2003 13:46:08 -0000 1.1
+++ SuperSample.java 10 Aug 2003 22:21:53 -0000 1.2
@@ -6,6 +6,31 @@
public class SuperSample {
/**
+ * @ThreadSafe ()
+ * @Dependency ( SampleService.class, "super-field" )
+ */
+ public Object field;
+
+ /**
+ * @Dependency ( SampleService.class, "super-noattrs" )
+ */
+ public Object noAttributesInSubClass;
+
+ /**
+ * @Dependency ( SampleService.class, "sample-ctor1" )
+ */
+ public SuperSample () {
+
+ }
+
+ /**
+ * @Dependency ( SampleService.class, "sample-ctor2" )
+ */
+ public SuperSample (String input, String[][] array) {
+
+ }
+
+ /**
* @Dependency ( SampleService.class, "super-some-method-sample" )
* @ThreadSafe ()
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]