org.archive.crawler.scope
Class DomainScopeTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.archive.crawler.scope.DomainScopeTest
All Implemented Interfaces:
junit.framework.Test

public class DomainScopeTest
extends junit.framework.TestCase

Test the domain scope focus filter.

Author:
Igor Ranitovic

Constructor Summary
DomainScopeTest()
           
 
Method Summary
 void addURL(java.util.ArrayList list, java.lang.String url)
           
 void setUp()
           
 void testInScope()
           
 void testOutOfScope()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DomainScopeTest

public DomainScopeTest()
Method Detail

setUp

public void setUp()
           throws org.apache.commons.httpclient.URIException
Throws:
org.apache.commons.httpclient.URIException

addURL

public void addURL(java.util.ArrayList list,
                   java.lang.String url)
            throws org.apache.commons.httpclient.URIException
Throws:
org.apache.commons.httpclient.URIException

testInScope

public void testInScope()
                 throws org.apache.commons.httpclient.URIException
Throws:
org.apache.commons.httpclient.URIException

testOutOfScope

public void testOutOfScope()
                    throws org.apache.commons.httpclient.URIException
Throws:
org.apache.commons.httpclient.URIException


Copyright © 2003-2005 Internet Archive. All Rights Reserved.