From: cvs@openprivacy.orgCVS update: talon/src/java/talon/tests
Date: Wednesday March 14, 19101 @ 17:33
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-serv4084/src/java/talon/tests
Modified Files:
Test1.java Test2.java Test3.java Test4.java Test5.java
Test6.java Test7.java Test8.java Test9.java
Log Message:
refactoring component package from interfaces to components
*****************************************************************
File: talon/src/java/talon/tests/Test1.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test1.java?annotate=1.5
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test1.java?rev=1.5&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test1.java.diff?r1=1.5&r2=1.4
-----------------------------------
Index: talon/src/java/talon/tests/Test1.java
diff -u talon/src/java/talon/tests/Test1.java:1.4 talon/src/java/talon/tests/Test1.java:1.5
--- talon/src/java/talon/tests/Test1.java:1.4 Fri Mar 9 16:10:43 2001
+++ talon/src/java/talon/tests/Test1.java Wed Mar 14 17:33:39 2001
@@ -29,7 +29,7 @@
* Test the FilePropertyManager.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Test1.java,v 1.4 2001/03/10 00:10:43 burton Exp $
+ * @version $Id: Test1.java,v 1.5 2001/03/15 01:33:39 burton Exp $
*/
public class Test1 extends AbstractTestlet {
@@ -38,7 +38,7 @@
//get default the property component
- ComponentHandle ch = new ComponentHandle( "talon.interfaces.PropertyManager",
+ ComponentHandle ch = new ComponentHandle( "talon.components.PropertyManager",
"talon.implementations.FilePropertyManager" );
//set a required property...
*****************************************************************
File: talon/src/java/talon/tests/Test2.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test2.java?annotate=1.6
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test2.java?rev=1.6&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test2.java.diff?r1=1.6&r2=1.5
-----------------------------------
Index: talon/src/java/talon/tests/Test2.java
diff -u talon/src/java/talon/tests/Test2.java:1.5 talon/src/java/talon/tests/Test2.java:1.6
--- talon/src/java/talon/tests/Test2.java:1.5 Fri Mar 9 16:10:43 2001
+++ talon/src/java/talon/tests/Test2.java Wed Mar 14 17:33:39 2001
@@ -24,14 +24,14 @@
import org.arrowhead.testlet.*;
import talon.*;
-import talon.interfaces.*;
+import talon.components.*;
/**
* Get the default property component and make sure we have required properties.
* Also output the componentReference and typeReference.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Test2.java,v 1.5 2001/03/10 00:10:43 burton Exp $
+ * @version $Id: Test2.java,v 1.6 2001/03/15 01:33:39 burton Exp $
*/
public class Test2 extends AbstractTestlet {
@@ -40,7 +40,7 @@
//get default the property component
- ComponentHandle ch = new ComponentHandle( "talon.interfaces.Logger",
+ ComponentHandle ch = new ComponentHandle( "talon.components.Logger",
"talon.implementations.SimpleLogger" );
ch.getInitProperties().setProperty( "project", "Test2" );
*****************************************************************
File: talon/src/java/talon/tests/Test3.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test3.java?annotate=1.5
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test3.java?rev=1.5&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test3.java.diff?r1=1.5&r2=1.4
-----------------------------------
Index: talon/src/java/talon/tests/Test3.java
diff -u talon/src/java/talon/tests/Test3.java:1.4 talon/src/java/talon/tests/Test3.java:1.5
--- talon/src/java/talon/tests/Test3.java:1.4 Fri Mar 9 16:10:43 2001
+++ talon/src/java/talon/tests/Test3.java Wed Mar 14 17:33:39 2001
@@ -24,14 +24,14 @@
import org.arrowhead.testlet.*;
import talon.*;
-import talon.interfaces.*;
+import talon.components.*;
/**
* Get the Logger by multiple methods. Use its log methods and make sure there
* is no problem with output.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Test3.java,v 1.4 2001/03/10 00:10:43 burton Exp $
+ * @version $Id: Test3.java,v 1.5 2001/03/15 01:33:39 burton Exp $
*/
public class Test3 extends AbstractTestlet {
*****************************************************************
File: talon/src/java/talon/tests/Test4.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test4.java?annotate=1.5
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test4.java?rev=1.5&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test4.java.diff?r1=1.5&r2=1.4
-----------------------------------
Index: talon/src/java/talon/tests/Test4.java
diff -u talon/src/java/talon/tests/Test4.java:1.4 talon/src/java/talon/tests/Test4.java:1.5
--- talon/src/java/talon/tests/Test4.java:1.4 Fri Mar 9 16:10:43 2001
+++ talon/src/java/talon/tests/Test4.java Wed Mar 14 17:33:39 2001
@@ -24,20 +24,20 @@
import org.arrowhead.testlet.*;
import talon.*;
-import talon.interfaces.*;
+import talon.components.*;
/**
* Testing properties for a specific component.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Test4.java,v 1.4 2001/03/10 00:10:43 burton Exp $
+ * @version $Id: Test4.java,v 1.5 2001/03/15 01:33:39 burton Exp $
*/
public class Test4 extends AbstractTestlet {
/**
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Test4.java,v 1.4 2001/03/10 00:10:43 burton Exp $
+ * @version $Id: Test4.java,v 1.5 2001/03/15 01:33:39 burton Exp $
*/
public void initialize( TestletContext context ) throws Exception {
*****************************************************************
File: talon/src/java/talon/tests/Test5.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test5.java?annotate=1.3
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test5.java?rev=1.3&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test5.java.diff?r1=1.3&r2=1.2
-----------------------------------
Index: talon/src/java/talon/tests/Test5.java
diff -u talon/src/java/talon/tests/Test5.java:1.2 talon/src/java/talon/tests/Test5.java:1.3
--- talon/src/java/talon/tests/Test5.java:1.2 Fri Mar 9 16:10:43 2001
+++ talon/src/java/talon/tests/Test5.java Wed Mar 14 17:33:39 2001
@@ -24,7 +24,7 @@
import org.arrowhead.testlet.*;
import talon.*;
-import talon.interfaces.*;
+import talon.components.*;
import talon.implementations.*;
@@ -32,7 +32,7 @@
* Test the SimplePropertyManager.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Test5.java,v 1.2 2001/03/10 00:10:43 burton Exp $
+ * @version $Id: Test5.java,v 1.3 2001/03/15 01:33:39 burton Exp $
*/
public class Test5 extends AbstractTestlet {
*****************************************************************
File: talon/src/java/talon/tests/Test6.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test6.java?annotate=1.2
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test6.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/Test6.java.diff?r1=1.2&r2=1.1
-----------------------------------
Index: talon/src/java/talon/tests/Test6.java
diff -u talon/src/java/talon/tests/Test6.java:1.1 talon/src/java/talon/tests/Test6.java:1.2
--- talon/src/java/talon/tests/Test6.java:1.1 Fri Mar 9 16:17:45 2001
+++ talon/src/java/talon/tests/Test6.java Wed Mar 14 17:33:39 2001
@@ -23,7 +23,7 @@
import org.arrowhead.testlet.*;
import talon.*;
import talon.implementations.*;
-import talon.interfaces.*;
+import talon.components.*;
import talon.util.net.*;
@@ -33,7 +33,7 @@
* verify that it correctly merges properties.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Test6.java,v 1.1 2001/03/10 00:17:45 burton Exp $
+ * @version $Id: Test6.java,v 1.2 2001/03/15 01:33:39 burton Exp $
*/
public class Test6 extends AbstractTestlet {
*****************************************************************
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.3
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test7.java?rev=1.3&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.3&r2=1.2
-----------------------------------
Index: talon/src/java/talon/tests/Test7.java
diff -u talon/src/java/talon/tests/Test7.java:1.2 talon/src/java/talon/tests/Test7.java:1.3
--- talon/src/java/talon/tests/Test7.java:1.2 Sun Mar 11 01:21:43 2001
+++ talon/src/java/talon/tests/Test7.java Wed Mar 14 17:33:39 2001
@@ -23,7 +23,7 @@
import org.arrowhead.testlet.*;
import talon.*;
import talon.implementations.*;
-import talon.interfaces.*;
+import talon.components.*;
import talon.util.net.*;
@@ -31,7 +31,7 @@
* 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.2 2001/03/11 09:21:43 burton Exp $
+ * @version $Id: Test7.java,v 1.3 2001/03/15 01:33:39 burton Exp $
*/
public class Test7 extends AbstractTestlet {
@@ -47,7 +47,7 @@
*
*
* @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 $
+ * @version $Id: Test7.java,v 1.3 2001/03/15 01:33:39 burton Exp $
*/
System.out.println( "foo==" + handle.getInitProperties().getString( "foo" ) );
*****************************************************************
File: talon/src/java/talon/tests/Test8.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test8.java?annotate=1.2
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test8.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/Test8.java.diff?r1=1.2&r2=1.1
-----------------------------------
Index: talon/src/java/talon/tests/Test8.java
diff -u talon/src/java/talon/tests/Test8.java:1.1 talon/src/java/talon/tests/Test8.java:1.2
--- talon/src/java/talon/tests/Test8.java:1.1 Fri Mar 9 16:17:45 2001
+++ talon/src/java/talon/tests/Test8.java Wed Mar 14 17:33:39 2001
@@ -23,7 +23,7 @@
import org.arrowhead.testlet.*;
import talon.*;
import talon.implementations.*;
-import talon.interfaces.*;
+import talon.components.*;
import talon.util.net.*;
@@ -31,7 +31,7 @@
* Dump the HandleManager
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Test8.java,v 1.1 2001/03/10 00:17:45 burton Exp $
+ * @version $Id: Test8.java,v 1.2 2001/03/15 01:33:39 burton Exp $
*/
public class Test8 extends AbstractTestlet {
*****************************************************************
File: talon/src/java/talon/tests/Test9.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test9.java?annotate=1.3
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test9.java?rev=1.3&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/tests/Test9.java.diff?r1=1.3&r2=1.2
-----------------------------------
Index: talon/src/java/talon/tests/Test9.java
diff -u talon/src/java/talon/tests/Test9.java:1.2 talon/src/java/talon/tests/Test9.java:1.3
--- talon/src/java/talon/tests/Test9.java:1.2 Tue Mar 13 01:53:07 2001
+++ talon/src/java/talon/tests/Test9.java Wed Mar 14 17:33:39 2001
@@ -24,15 +24,16 @@
import org.openprivacy.sierra.reputation.talon.implementations.*;
import talon.*;
import talon.implementations.*;
-import talon.interfaces.*;
+import talon.components.*;
import talon.util.net.*;
+import talon.references.*;
/**
* Test out Component.getInterfaces()
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Test9.java,v 1.2 2001/03/13 09:53:07 burton Exp $
+ * @version $Id: Test9.java,v 1.3 2001/03/15 01:33:39 burton Exp $
*/
public class Test9 extends AbstractTestlet implements Serializable {
@@ -40,7 +41,7 @@
Component test = getTestComponent();
- Class[] classes = test.getInterfaces();
+ Class[] classes = ReferenceFactory.getInterfaces( test.getClass() );
System.out.println( "dumping interfaces...." );
This archive was generated by hypermail 2b30 : Wed Mar 14 2001 - 17:35:41 PST