From: cvs@openprivacy.orgCVS update: sierra/src/java/org/openprivacy/sierra/tests
Date: Sunday February 18, 19101 @ 22:50
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/sierra/src/java/org/openprivacy/sierra/tests
-----------------------------------
Update of /usr/local/cvs/public/sierra/src/java/org/openprivacy/sierra/tests
In directory giga:/tmp/cvs-serv25618/src/java/org/openprivacy/sierra/tests
Modified Files:
BaseTest.java Test1.java Test2.java Test3.java Test5.java
Log Message:
update from over weekend. clean up copyright... more work on store
*****************************************************************
File: sierra/src/java/org/openprivacy/sierra/tests/BaseTest.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/tests/BaseTest.java?annotate=1.3
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/tests/BaseTest.java?rev=1.3&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/tests/BaseTest.java.diff?r1=1.3&r2=1.2
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/tests/BaseTest.java
diff -u sierra/src/java/org/openprivacy/sierra/tests/BaseTest.java:1.2 sierra/src/java/org/openprivacy/sierra/tests/BaseTest.java:1.3
--- sierra/src/java/org/openprivacy/sierra/tests/BaseTest.java:1.2 Wed Jan 24 03:10:40 2001
+++ sierra/src/java/org/openprivacy/sierra/tests/BaseTest.java Sun Feb 18 22:50:30 2001
@@ -1,5 +1,5 @@
/*
- * Copyright 2000 OpenPrivacy.org. All rights reserved.
+ * Copyright 2001 OpenPrivacy.org. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
@@ -17,17 +17,52 @@
package org.openprivacy.sierra.tests;
+import java.io.*;
+import java.net.*;
+import java.util.*;
import org.arrowhead.testlet.*;
+import org.openprivacy.sierra.nym.talon.interfaces.*;
+import talon.*;
+import talon.interfaces.*;
+import talon.util.net.*;
-
/**
* Central location for storing Parameter keys needed by Sierra Unit Tests
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BaseTest.java,v 1.2 2001/01/24 11:10:40 burton Exp $
+ * @version $Id: BaseTest.java,v 1.3 2001/02/19 06:50:30 burton Exp $
*/
public class BaseTest extends AbstractTestlet {
public static final String SOAP_RPCROUTER_KEY = "soap.rpcrouter";
+ public static final String NYM_BURTONATOR = "urn:burtonator";
+ public static final String NYM_FEN = "urn:fen";
+
+ /**
+ * Quick way to get a nym.
+ *
+ * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
+ * @version $Id: BaseTest.java,v 1.3 2001/02/19 06:50:30 burton Exp $
+ */
+ public Nym getNym( String name ) throws Exception {
+
+
+ String builder = "sierra_default_nym_builder";
+ ComponentHandle handle = HandleManager.byName( builder );
+
+ /**
+ *
+ *
+ * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
+ * @version $Id: BaseTest.java,v 1.3 2001/02/19 06:50:30 burton Exp $
+ */
+ handle.getInitProperties().setString( "nym_name", "urn:burtonator" );
+
+ NymBuilder nb = (NymBuilder)ComponentFactory.getInstance( handle );
+
+ return nb.getNym();
+
+ }
+
}
*****************************************************************
File: sierra/src/java/org/openprivacy/sierra/tests/Test1.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/tests/Test1.java?annotate=1.8
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/tests/Test1.java?rev=1.8&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/tests/Test1.java.diff?r1=1.8&r2=1.7
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/tests/Test1.java
diff -u sierra/src/java/org/openprivacy/sierra/tests/Test1.java:1.7 sierra/src/java/org/openprivacy/sierra/tests/Test1.java:1.8
--- sierra/src/java/org/openprivacy/sierra/tests/Test1.java:1.7 Fri Jan 26 05:57:04 2001
+++ sierra/src/java/org/openprivacy/sierra/tests/Test1.java Sun Feb 18 22:50:30 2001
@@ -1,5 +1,5 @@
/*
- * Copyright 2000 OpenPrivacy.org. All rights reserved.
+ * Copyright 2001 OpenPrivacy.org. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
@@ -37,7 +37,7 @@
*
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Test1.java,v 1.7 2001/01/26 13:57:04 burton Exp $
+ * @version $Id: Test1.java,v 1.8 2001/02/19 06:50:30 burton Exp $
*/
public class Test1 extends BaseTest {
*****************************************************************
File: sierra/src/java/org/openprivacy/sierra/tests/Test2.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/tests/Test2.java?annotate=1.6
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/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/sierra/src/java/org/openprivacy/sierra/tests/Test2.java.diff?r1=1.6&r2=1.5
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/tests/Test2.java
diff -u sierra/src/java/org/openprivacy/sierra/tests/Test2.java:1.5 sierra/src/java/org/openprivacy/sierra/tests/Test2.java:1.6
--- sierra/src/java/org/openprivacy/sierra/tests/Test2.java:1.5 Wed Jan 24 03:10:40 2001
+++ sierra/src/java/org/openprivacy/sierra/tests/Test2.java Sun Feb 18 22:50:30 2001
@@ -1,5 +1,5 @@
/*
- * Copyright 2000 OpenPrivacy.org. All rights reserved.
+ * Copyright 2001 OpenPrivacy.org. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
@@ -31,7 +31,7 @@
*
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Test2.java,v 1.5 2001/01/24 11:10:40 burton Exp $
+ * @version $Id: Test2.java,v 1.6 2001/02/19 06:50:30 burton Exp $
*/
public class Test2 extends BaseTest {
*****************************************************************
File: sierra/src/java/org/openprivacy/sierra/tests/Test3.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/tests/Test3.java?annotate=1.3
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/tests/Test3.java?rev=1.3&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/tests/Test3.java.diff?r1=1.3&r2=1.2
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/tests/Test3.java
diff -u sierra/src/java/org/openprivacy/sierra/tests/Test3.java:1.2 sierra/src/java/org/openprivacy/sierra/tests/Test3.java:1.3
--- sierra/src/java/org/openprivacy/sierra/tests/Test3.java:1.2 Fri Feb 9 14:39:12 2001
+++ sierra/src/java/org/openprivacy/sierra/tests/Test3.java Sun Feb 18 22:50:30 2001
@@ -1,5 +1,5 @@
/*
- * Copyright 2000 OpenPrivacy.org. All rights reserved.
+ * Copyright 2001 OpenPrivacy.org. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
@@ -30,7 +30,7 @@
*
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Test3.java,v 1.2 2001/02/09 22:39:12 burton Exp $
+ * @version $Id: Test3.java,v 1.3 2001/02/19 06:50:30 burton Exp $
*/
public class Test3 extends BaseTest {
*****************************************************************
File: sierra/src/java/org/openprivacy/sierra/tests/Test5.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/tests/Test5.java?annotate=1.2
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/tests/Test5.java?rev=1.2&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/tests/Test5.java.diff?r1=1.2&r2=1.1
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/tests/Test5.java
diff -u sierra/src/java/org/openprivacy/sierra/tests/Test5.java:1.1 sierra/src/java/org/openprivacy/sierra/tests/Test5.java:1.2
--- sierra/src/java/org/openprivacy/sierra/tests/Test5.java:1.1 Mon Feb 12 00:11:19 2001
+++ sierra/src/java/org/openprivacy/sierra/tests/Test5.java Sun Feb 18 22:50:30 2001
@@ -1,5 +1,5 @@
/*
- * Copyright 2000 OpenPrivacy.org. All rights reserved.
+ * Copyright 2001 OpenPrivacy.org. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
@@ -28,7 +28,7 @@
*
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Test5.java,v 1.1 2001/02/12 08:11:19 burton Exp $
+ * @version $Id: Test5.java,v 1.2 2001/02/19 06:50:30 burton Exp $
*/
public class Test5 extends BaseTest {
@@ -41,35 +41,8 @@
// A1 subscribes to multiple content sources on a JetSpeek server. A2 then
// asks the JetSpeek server for the list of favorite channels from A1.
- Nym fen = getNym( "urn:fen" );
- Nym burtonator = getNym( "urn:burtonator" );
-
- }
-
-
- /**
- * Quick way to get a nym.
- *
- * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Test5.java,v 1.1 2001/02/12 08:11:19 burton Exp $
- */
- public Nym getNym( String name ) throws Exception {
-
-
- String builder = "sierra_default_nym_builder";
- ComponentHandle handle = HandleManager.byName( builder );
-
- /**
- *
- *
- * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: Test5.java,v 1.1 2001/02/12 08:11:19 burton Exp $
- */
- handle.getInitProperties().setString( "nym_name", "urn:burtonator" );
-
- NymBuilder nb = (NymBuilder)ComponentFactory.getInstance( handle );
-
- return nb.getNym();
+ Nym fen = getNym( NYM_FEN );
+ Nym burtonator = getNym( NYM_BURTONATOR );
}
This archive was generated by hypermail 2b30 : Sun Feb 18 2001 - 22:51:32 PST