|
From: <pe...@us...> - 2003-10-25 00:43:08
|
Update of /cvsroot/neuclear/neuclear-commons/src/test/org/neuclear/commons/configuration
In directory sc8-pr-cvs1:/tmp/cvs-serv8075/src/test/org/neuclear/commons/configuration
Modified Files:
ConfigurationTest.java
Log Message:
Fixed SmtpSender it now sends the messages.
Refactored CommandLineSigner. Now it simply signs files read from command line. However new class IdentityCreator
is subclassed and creates new Identities. You can subclass CommandLineSigner to create your own variants.
Several problems with configuration. Trying to solve at the moment. Updated PicoContainer to beta-2
Index: ConfigurationTest.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-commons/src/test/org/neuclear/commons/configuration/ConfigurationTest.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** ConfigurationTest.java 20 Sep 2003 23:18:12 -0000 1.1.1.1
--- ConfigurationTest.java 25 Oct 2003 00:39:27 -0000 1.2
***************
*** 2,8 ****
import junit.framework.TestCase;
/**
- *
* User: pelleb
* Date: Aug 18, 2003
--- 2,8 ----
import junit.framework.TestCase;
+ import org.neuclear.commons.sql.ConnectionSource;
/**
* User: pelleb
* Date: Aug 18, 2003
***************
*** 15,19 ****
public void testGetComponent() throws ConfigurationException {
! // assertNotNull(Configuration.getContainer().getComponent(ConnectionSource.class));
}
}
--- 15,19 ----
public void testGetComponent() throws ConfigurationException {
! assertNotNull(Configuration.getContainer(ConnectionSource.class).getComponentInstance(ConnectionSource.class));
}
}
|