Browse Source

Made it possible for subclasses to get at logger

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271765 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
179bc428c9
2 changed files with 12 additions and 2 deletions
  1. +6
    -1
      proposal/myrmidon/src/test/org/apache/myrmidon/components/AbstractComponentTest.java
  2. +6
    -1
      proposal/myrmidon/src/testcases/org/apache/myrmidon/components/AbstractComponentTest.java

+ 6
- 1
proposal/myrmidon/src/test/org/apache/myrmidon/components/AbstractComponentTest.java View File

@@ -56,11 +56,16 @@ public abstract class AbstractComponentTest
/**
* Returns the component manager containing the components to test.
*/
protected ServiceManager getServiceManager()
protected final ServiceManager getServiceManager()
{
return m_serviceManager;
}

protected final Logger getLogger()
{
return m_logger;
}

/**
* Returns the type manager.
*/


+ 6
- 1
proposal/myrmidon/src/testcases/org/apache/myrmidon/components/AbstractComponentTest.java View File

@@ -56,11 +56,16 @@ public abstract class AbstractComponentTest
/**
* Returns the component manager containing the components to test.
*/
protected ServiceManager getServiceManager()
protected final ServiceManager getServiceManager()
{
return m_serviceManager;
}

protected final Logger getLogger()
{
return m_logger;
}

/**
* Returns the type manager.
*/


Loading…
Cancel
Save