notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r941 - trunk/main/transit/core/src/test/net/dpml/transit/test
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r941 - trunk/main/transit/core/src/test/net/dpml/transit/test
- Date: Sat, 21 Jan 2006 23:56:16 +0100
Author: mcconnell
Date: 2006-01-21 23:56:15 +0100 (Sat, 21 Jan 2006)
New Revision: 941
Modified:
trunk/main/transit/core/src/test/net/dpml/transit/test/AbstractEncodingTestCase.java
trunk/main/transit/core/src/test/net/dpml/transit/test/ArtifactTestCase.java
trunk/main/transit/core/src/test/net/dpml/transit/test/ConstructTestCase.java
trunk/main/transit/core/src/test/net/dpml/transit/test/DisposalTestCase.java
trunk/main/transit/core/src/test/net/dpml/transit/test/LinkTestCase.java
trunk/main/transit/core/src/test/net/dpml/transit/test/MimeHandlerTestCase.java
trunk/main/transit/core/src/test/net/dpml/transit/test/OfflineTestCase.java
trunk/main/transit/core/src/test/net/dpml/transit/test/OnlineTestCase.java
trunk/main/transit/core/src/test/net/dpml/transit/test/PropertyResolverTestCase.java
Log:
testcase cleanup (copyright and publisher info)
Modified:
trunk/main/transit/core/src/test/net/dpml/transit/test/AbstractEncodingTestCase.java
===================================================================
---
trunk/main/transit/core/src/test/net/dpml/transit/test/AbstractEncodingTestCase.java
2006-01-21 22:47:26 UTC (rev 940)
+++
trunk/main/transit/core/src/test/net/dpml/transit/test/AbstractEncodingTestCase.java
2006-01-21 22:56:15 UTC (rev 941)
@@ -1,5 +1,5 @@
/*
- * Copyright 2005 Stephen J. McConnell.
+ * Copyright 2005-2006 Stephen J. McConnell.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -36,8 +36,8 @@
/**
* AbstractEncodingTestCase.
*
- * @author <a href="mailto:dev-dpml AT lists.ibiblio.org";>The Digital Product
Meta Library</a>
- * @version $Id: EntryDescriptorTestCase.java 2387 2005-04-23 19:12:58Z
mcconnell AT dpml.net $
+ * @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
+ * @version @PROJECT-VERSION@
*/
public abstract class AbstractEncodingTestCase extends TestCase
{
Modified:
trunk/main/transit/core/src/test/net/dpml/transit/test/ArtifactTestCase.java
===================================================================
---
trunk/main/transit/core/src/test/net/dpml/transit/test/ArtifactTestCase.java
2006-01-21 22:47:26 UTC (rev 940)
+++
trunk/main/transit/core/src/test/net/dpml/transit/test/ArtifactTestCase.java
2006-01-21 22:56:15 UTC (rev 941)
@@ -1,5 +1,5 @@
/*
- * Copyright 2004 Stephen J. McConnell.
+ * Copyright 2004-2006 Stephen J. McConnell.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,8 +27,8 @@
/**
* Artifact test case.
*
- * @author <a href="http://www.dpml.net">The Digital Product Meta Library</a>
- * @version $Id: ArtifactTestCase.java 2900 2005-06-22 19:10:15Z
mcconnell AT dpml.net $
+ * @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
+ * @version @PROJECT-VERSION@
*/
public class ArtifactTestCase extends TestCase
{
Modified:
trunk/main/transit/core/src/test/net/dpml/transit/test/ConstructTestCase.java
===================================================================
---
trunk/main/transit/core/src/test/net/dpml/transit/test/ConstructTestCase.java
2006-01-21 22:47:26 UTC (rev 940)
+++
trunk/main/transit/core/src/test/net/dpml/transit/test/ConstructTestCase.java
2006-01-21 22:56:15 UTC (rev 941)
@@ -1,6 +1,5 @@
/*
- * Copyright 2004 Niclas Hedhman.
- * Copyright 2004 Stephen J. McConnell.
+ * Copyright 2004-2006 Stephen J. McConnell.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,8 +30,8 @@
/**
* Construct testcase.
*
- * @author <a href="http://www.dpml.net">The Digital Product Meta Library</a>
- * @version $Id: OnlineTestCase.java 2926 2005-06-27 10:53:17Z
mcconnell AT dpml.net $
+ * @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
+ * @version @PROJECT-VERSION@
*/
public class ConstructTestCase extends AbstractEncodingTestCase
{
Modified:
trunk/main/transit/core/src/test/net/dpml/transit/test/DisposalTestCase.java
===================================================================
---
trunk/main/transit/core/src/test/net/dpml/transit/test/DisposalTestCase.java
2006-01-21 22:47:26 UTC (rev 940)
+++
trunk/main/transit/core/src/test/net/dpml/transit/test/DisposalTestCase.java
2006-01-21 22:56:15 UTC (rev 941)
@@ -1,6 +1,5 @@
/*
- * Copyright 2004 Niclas Hedhman.
- * Copyright 2004 Stephen J. McConnell.
+ * Copyright 2006 Stephen J. McConnell.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,22 +22,30 @@
import net.dpml.transit.DefaultTransitModel;
import net.dpml.transit.Transit;
-import net.dpml.transit.model.TransitModel;
/**
* Test execution of the disposal of the Transit model.
*
- * @author <a href="http://www.dpml.net">The Digital Product Meta Library</a>
- * @version $Id: OnlineTestCase.java 2926 2005-06-27 10:53:17Z
mcconnell AT dpml.net $
+ * @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
+ * @version @PROJECT-VERSION@
*/
public class DisposalTestCase extends TestCase
{
private DefaultTransitModel m_model;
- public void testTransitLifecycle() throws Exception
+ public void setUp() throws Exception
{
m_model = DefaultTransitModel.getDefaultModel();
Transit.getInstance( m_model );
+ }
+
+ public void testSetupAndTearDown()
+ {
+ // trigger setup and teardown
+ }
+
+ public void tearDown()
+ {
m_model.dispose();
}
}
Modified:
trunk/main/transit/core/src/test/net/dpml/transit/test/LinkTestCase.java
===================================================================
--- trunk/main/transit/core/src/test/net/dpml/transit/test/LinkTestCase.java
2006-01-21 22:47:26 UTC (rev 940)
+++ trunk/main/transit/core/src/test/net/dpml/transit/test/LinkTestCase.java
2006-01-21 22:56:15 UTC (rev 941)
@@ -1,5 +1,6 @@
/*
* Copyright 2005 Niclas Hedhman
+ * Copyright 2005-2006 Stephen J. McConnell.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -40,8 +41,8 @@
/**
* LinkTestCase.
- * @author <a href="http://www.dpml.net/">The Digital Product Meta
Library</a>
- * @version $Id$
+ * @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
+ * @version @PROJECT-VERSION@
*/
public class LinkTestCase extends TestCase
{
Modified:
trunk/main/transit/core/src/test/net/dpml/transit/test/MimeHandlerTestCase.java
===================================================================
---
trunk/main/transit/core/src/test/net/dpml/transit/test/MimeHandlerTestCase.java
2006-01-21 22:47:26 UTC (rev 940)
+++
trunk/main/transit/core/src/test/net/dpml/transit/test/MimeHandlerTestCase.java
2006-01-21 22:56:15 UTC (rev 941)
@@ -1,5 +1,6 @@
/*
* Copyright 2004 Niclas Hedhman.
+ * Copyright 2006 Stephen J. McConnell.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,6 +27,8 @@
/**
* MimeHandlerTestCase.
+ * @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
+ * @version @PROJECT-VERSION@
*/
public final class MimeHandlerTestCase extends TestCase
{
Modified:
trunk/main/transit/core/src/test/net/dpml/transit/test/OfflineTestCase.java
===================================================================
---
trunk/main/transit/core/src/test/net/dpml/transit/test/OfflineTestCase.java
2006-01-21 22:47:26 UTC (rev 940)
+++
trunk/main/transit/core/src/test/net/dpml/transit/test/OfflineTestCase.java
2006-01-21 22:56:15 UTC (rev 941)
@@ -1,6 +1,6 @@
/*
* Copyright 2004 Niclas Hedhman.
- * Copyright 2004 Stephen J. McConnell.
+ * Copyright 2004-2006 Stephen J. McConnell.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -43,8 +43,8 @@
/**
* URL Handler TestCase for Offline operations.
*
- * @author <a href="http://www.dpml.net">The Digital Product Meta Library</a>
- * @version $Id: OfflineTestCase.java 2926 2005-06-27 10:53:17Z
mcconnell AT dpml.net $
+ * @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
+ * @version @PROJECT-VERSION@
*/
public class OfflineTestCase extends TestCase
{
Modified:
trunk/main/transit/core/src/test/net/dpml/transit/test/OnlineTestCase.java
===================================================================
---
trunk/main/transit/core/src/test/net/dpml/transit/test/OnlineTestCase.java
2006-01-21 22:47:26 UTC (rev 940)
+++
trunk/main/transit/core/src/test/net/dpml/transit/test/OnlineTestCase.java
2006-01-21 22:56:15 UTC (rev 941)
@@ -1,6 +1,6 @@
/*
* Copyright 2004 Niclas Hedhman.
- * Copyright 2004 Stephen J. McConnell.
+ * Copyright 2004-2006 Stephen J. McConnell.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,8 +42,8 @@
/**
* URL Handler TestCase for online operations.
*
- * @author <a href="http://www.dpml.net">The Digital Product Meta Library</a>
- * @version $Id: OnlineTestCase.java 2926 2005-06-27 10:53:17Z
mcconnell AT dpml.net $
+ * @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
+ * @version @PROJECT-VERSION@
*/
public class OnlineTestCase extends TestCase
{
Modified:
trunk/main/transit/core/src/test/net/dpml/transit/test/PropertyResolverTestCase.java
===================================================================
---
trunk/main/transit/core/src/test/net/dpml/transit/test/PropertyResolverTestCase.java
2006-01-21 22:47:26 UTC (rev 940)
+++
trunk/main/transit/core/src/test/net/dpml/transit/test/PropertyResolverTestCase.java
2006-01-21 22:56:15 UTC (rev 941)
@@ -1,6 +1,6 @@
/*
* Copyright 2004 Apache Software Foundation
- * Copyright 2005 Stephen J. McConnell.
+ * Copyright 2005-2006 Stephen J. McConnell.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,8 +28,8 @@
/**
* Testcases for the PropertyResolver
*
- * @author <a href="http://www.dpml.net">The Digital Product Meta Library</a>
- * @version CVS $ Revision: 1.1 $
+ * @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
+ * @version @PROJECT-VERSION@
*/
public class PropertyResolverTestCase extends TestCase
{
- r941 - trunk/main/transit/core/src/test/net/dpml/transit/test, mcconnell at BerliOS, 01/21/2006
Archive powered by MHonArc 2.6.24.