Return-Path: Delivered-To: apmail-avalon-cvs-archive@www.apache.org Received: (qmail 40147 invoked from network); 10 Nov 2003 18:20:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 10 Nov 2003 18:20:40 -0000 Received: (qmail 29154 invoked by uid 500); 10 Nov 2003 18:20:31 -0000 Delivered-To: apmail-avalon-cvs-archive@avalon.apache.org Received: (qmail 29067 invoked by uid 500); 10 Nov 2003 18:20:30 -0000 Mailing-List: contact cvs-help@avalon.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon CVS List" Reply-To: "Avalon Developers List" Delivered-To: mailing list cvs@avalon.apache.org Received: (qmail 29054 invoked by uid 500); 10 Nov 2003 18:20:30 -0000 Received: (qmail 29051 invoked from network); 10 Nov 2003 18:20:30 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 10 Nov 2003 18:20:30 -0000 Received: (qmail 40104 invoked by uid 1761); 10 Nov 2003 18:20:37 -0000 Date: 10 Nov 2003 18:20:37 -0000 Message-ID: <20031110182037.40103.qmail@minotaur.apache.org> From: akarasulu@apache.org To: avalon-sandbox-cvs@apache.org Subject: cvs commit: avalon-sandbox/repository/api/src/test/org/apache/avalon/repository InitialRepositoryFactoryTest.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N akarasulu 2003/11/10 10:20:37 Added: repository/api/src/test/org/apache/avalon/repository InitialRepositoryFactoryTest.java Log: moving respective test classes Revision Changes Path 1.1 avalon-sandbox/repository/api/src/test/org/apache/avalon/repository/InitialRepositoryFactoryTest.java Index: InitialRepositoryFactoryTest.java =================================================================== /* ============================================================================ The Apache Software License, Version 1.1 ============================================================================ Copyright (C) 1999-2002 The Apache Software Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modifica- tion, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The end-user documentation included with the redistribution, if any, must include the following acknowledgment: "This product includes software developed by the Apache Software Foundation (http://www.apache.org/)." Alternately, this acknowledgment may appear in the software itself, if and wherever such third-party acknowledgments normally appear. 4. The names "Jakarta", "Apache Avalon", "Avalon Framework" and "Apache Software Foundation" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact apache@apache.org. 5. Products derived from this software may not be called "Apache", nor may "Apache" appear in their name, without prior written permission of the Apache Software Foundation. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This software consists of voluntary contributions made by many individuals on behalf of the Apache Software Foundation. For more information on the Apache Software Foundation, please see . */ package org.apache.avalon.repository ; import junit.framework.TestCase ; /** * * * @author Alex Karasulu * @author $Author: akarasulu $ * @version $Revision: 1.1 $ */ public class InitialRepositoryFactoryTest extends TestCase { public static void main(String[] args) { junit.textui.TestRunner.run(InitialRepositoryFactoryTest.class); } /* * @see TestCase#setUp() */ protected void setUp() throws Exception { super.setUp(); } /* * @see TestCase#tearDown() */ protected void tearDown() throws Exception { super.tearDown(); } /** * Constructor for InitialRepositoryFactoryTest. * @param arg0 */ public InitialRepositoryFactoryTest(String arg0) { super(arg0); } public void testRepositoryLoader() throws Exception { //RepositoryFactory l_loader = new InitialRepositoryFactory() ; //assertNotNull( l_loader ) ; } public void testGetBootstrapRepositories() throws Exception { //String [] l_repos = RepositoryLoader.getBootstrapRepositories() ; //assertNotNull( l_repos ) ; //assertEquals( l_repos[0], "http://dpml.net" ) ; //assertEquals( l_repos[1], "http://ibiblio.org" ) ; } public void testGetDefaultConfig() throws Exception { //RepositoryLoader l_loader = new RepositoryLoader() ; //assertNotNull( l_loader ) ; //RepositoryConfig l_config = l_loader.getDefaultConfig() ; //assertNotNull( l_config ) ; } public void testGetTempFile() { //@todo Implement getTempFile(). } } --------------------------------------------------------------------- To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org For additional commands, e-mail: cvs-help@avalon.apache.org