donaldp 2002/09/30 16:00:43
Added: src/test/org/apache/avalon/phoenix/tools/assembler/test/data
Component1.java Component1.xinfo Component2.java
Component2.xinfo Component3.java Component3.xinfo
Service1.java Service2.java
Log:
Add in unit test data
Revision Changes Path
1.1
jakarta-avalon-phoenix/src/test/org/apache/avalon/phoenix/tools/assembler/test/data/Component1.java
Index: Component1.java
===================================================================
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/
package org.apache.avalon.phoenix.tools.assembler.test.data;
import org.apache.avalon.framework.service.Serviceable;
import org.apache.avalon.framework.service.ServiceManager;
import org.apache.avalon.framework.service.ServiceException;
/**
* A test component.
*
* @author <a href="mailto:peter at apache.org">Peter Donald</a>
* @version $Revision: 1.1 $ $Date: 2002/09/30 23:00:43 $
*/
public class Component1
implements Serviceable, Service1
{
public void service( final ServiceManager manager )
throws ServiceException
{
}
}
1.1
jakarta-avalon-phoenix/src/test/org/apache/avalon/phoenix/tools/assembler/test/data/Component1.xinfo
Index: Component1.xinfo
===================================================================
<?xml version="1.0"?>
<!DOCTYPE blockinfo PUBLIC "-//PHOENIX/Block Info DTD Version 1.0//EN"
"http://jakarta.apache.org/avalon/dtds/phoenix/blockinfo_1.0.dtd">
<blockinfo>
<!-- section to describe block -->
<block>
<version>1.0</version>
</block>
<!-- services that are offered by this block -->
<services>
<service name="org.apache.avalon.phoenix.tools.assembler.test.data.Service1"/>
</services>
<!-- services that are required by this block -->
<dependencies>
<dependency>
<service name="org.apache.avalon.phoenix.tools.assembler.test.data.Service2"/>
</dependency>
</dependencies>
</blockinfo>
1.1
jakarta-avalon-phoenix/src/test/org/apache/avalon/phoenix/tools/assembler/test/data/Component2.java
Index: Component2.java
===================================================================
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/
package org.apache.avalon.phoenix.tools.assembler.test.data;
/**
*
* @author <a href="mailto:peter at apache.org">Peter Donald</a>
* @version $Revision: 1.1 $ $Date: 2002/09/30 23:00:43 $
*/
public class Component2
implements Service2
{
}
1.1
jakarta-avalon-phoenix/src/test/org/apache/avalon/phoenix/tools/assembler/test/data/Component2.xinfo
Index: Component2.xinfo
===================================================================
<?xml version="1.0"?>
<!DOCTYPE blockinfo PUBLIC "-//PHOENIX/Block Info DTD Version 1.0//EN"
"http://jakarta.apache.org/avalon/dtds/phoenix/blockinfo_1.0.dtd">
<blockinfo>
<!-- section to describe block -->
<block>
<version>1.0</version>
</block>
<!-- services that are offered by this block -->
<services>
<service name="org.apache.avalon.phoenix.tools.assembler.test.data.Service2"/>
</services>
</blockinfo>
1.1
jakarta-avalon-phoenix/src/test/org/apache/avalon/phoenix/tools/assembler/test/data/Component3.java
Index: Component3.java
===================================================================
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/
package org.apache.avalon.phoenix.tools.assembler.test.data;
import org.apache.avalon.framework.service.Serviceable;
import org.apache.avalon.framework.service.ServiceManager;
import org.apache.avalon.framework.service.ServiceException;
/**
* A test component.
*
* @author <a href="mailto:peter at apache.org">Peter Donald</a>
* @version $Revision: 1.1 $ $Date: 2002/09/30 23:00:43 $
*/
public class Component3
implements Serviceable
{
public void service( final ServiceManager manager )
throws ServiceException
{
}
}
1.1
jakarta-avalon-phoenix/src/test/org/apache/avalon/phoenix/tools/assembler/test/data/Component3.xinfo
Index: Component3.xinfo
===================================================================
<?xml version="1.0"?>
<!DOCTYPE blockinfo PUBLIC "-//PHOENIX/Block Info DTD Version 1.0//EN"
"http://jakarta.apache.org/avalon/dtds/phoenix/blockinfo_1.0.dtd">
<blockinfo>
<!-- section to describe block -->
<block>
<version>1.0</version>
</block>
<!-- services that are required by this block -->
<dependencies>
<dependency>
<service
name="org.apache.avalon.phoenix.tools.assembler.test.data.Service2[]"/>
</dependency>
</dependencies>
</blockinfo>
1.1
jakarta-avalon-phoenix/src/test/org/apache/avalon/phoenix/tools/assembler/test/data/Service1.java
Index: Service1.java
===================================================================
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/
package org.apache.avalon.phoenix.tools.assembler.test.data;
/**
* A test service.
*
* @author <a href="mailto:peter at apache.org">Peter Donald</a>
* @version $Revision: 1.1 $ $Date: 2002/09/30 23:00:43 $
*/
public interface Service1
{
}
1.1
jakarta-avalon-phoenix/src/test/org/apache/avalon/phoenix/tools/assembler/test/data/Service2.java
Index: Service2.java
===================================================================
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/
package org.apache.avalon.phoenix.tools.assembler.test.data;
/**
* A test service.
*
* @author <a href="mailto:peter at apache.org">Peter Donald</a>
* @version $Revision: 1.1 $ $Date: 2002/09/30 23:00:43 $
*/
public interface Service2
{
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>