Updated test to work with new config strategy.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 4 Feb 2004 20:45:44 +0000 (20:45 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 4 Feb 2004 20:45:44 +0000 (20:45 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@878 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/utils/ResolverTest.java

index ba13620..70472b5 100644 (file)
@@ -54,7 +54,6 @@ import jargs.gnu.CmdLineParser;
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;
 import java.io.PrintStream;
-import java.util.Properties;
 
 import org.apache.log4j.BasicConfigurator;
 import org.apache.log4j.Level;
@@ -124,13 +123,8 @@ public class ResolverTest {
                configureLogging(debug);
                checkRequired();
 
-               Properties configuration = new Properties();
-               configuration.setProperty(
-                       "edu.internet2.middleware.shibboleth.aa.attrresolv.AttributeResolver.ResolverConfig",
-                       file);
-
                try {
-                       AttributeResolver resolver = new AttributeResolver(configuration);
+                       AttributeResolver resolver = new AttributeResolver(file);
                        String[] attributes = resolver.listRegisteredAttributeDefinitionPlugIns();
 
                        AAAttributeSet attributeSet = new AAAttributeSet();