From: cvs@openprivacy.orgCVS update: talon/src/java/talon/tests
Date: Sunday March 11, 19101 @ 1:21
Author: burton
CVSWEB Options: -------------------
Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi
View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests
-----------------------------------
Update of /usr/local/cvs/public/talon/src/java/talon/tests
In directory giga:/tmp/cvs-serv19426/src/java/talon/tests
Modified Files:
Test7.java test.xml
Log Message:
now we can't have duplicate property names
*****************************************************************
File: talon/src/java/talon/tests/Test7.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test7.java?annotate=1.2
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test7.java?rev=1.2&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test7.java.diff?r1=1.2&r2=1.1
-----------------------------------
Index: talon/src/java/talon/tests/Test7.java
diff -u talon/src/java/talon/tests/Test7.java:1.1 talon/src/java/talon/tests/Test7.java:1.2
--- talon/src/java/talon/tests/Test7.java:1.1 Fri Mar 9 16:17:45 2001
+++ talon/src/java/talon/tests/Test7.java Sun Mar 11 01:21:43 2001
@@ -31,18 +31,26 @@
* Perform operations on the "test_component" to verify it is setup correctly.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Test7.java,v 1.1 2001/03/10 00:17:45 burton Exp $
+ * @version $Id: Test7.java,v 1.2 2001/03/11 09:21:43 burton Exp $
*/
public class Test7 extends AbstractTestlet {
public static final String[] REQUIRED_PROPERTIES = { "foo" };
-
public void initialize( TestletContext context ) throws Exception {
ComponentHandle handle = HandleManager.byName( "test_component" );
handle.getInitProperties().dump();
+
+ /**
+ *
+ *
+ * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
+ * @version $Id: Test7.java,v 1.2 2001/03/11 09:21:43 burton Exp $
+ */
+ System.out.println( "foo==" + handle.getInitProperties().getString( "foo" ) );
+
handle.getInitProperties().require( REQUIRED_PROPERTIES );
}
*****************************************************************
File: talon/src/java/talon/tests/test.xml
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/test.xml?annotate=1.7
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/test.xml?rev=1.7&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/test.xml.diff?r1=1.7&r2=1.6
-----------------------------------
Index: talon/src/java/talon/tests/test.xml
diff -u talon/src/java/talon/tests/test.xml:1.6 talon/src/java/talon/tests/test.xml:1.7
--- talon/src/java/talon/tests/test.xml:1.6 Fri Mar 9 16:10:43 2001
+++ talon/src/java/talon/tests/test.xml Sun Mar 11 01:21:43 2001
@@ -19,8 +19,10 @@
<testlet classname="talon.tests.Test3"/>
<testlet classname="talon.tests.Test4"/>
<testlet classname="talon.tests.Test6"/>
- <testlet classname="talon.tests.Test7"/>
+
<testlet classname="talon.tests.Test8"/>
+
+ <testlet classname="talon.tests.Test7"/>
</target>
This archive was generated by hypermail 2b30 : Sun Mar 11 2001 - 01:22:44 PST