org.apache.tapestry.services.impl
Class TestServiceMap
java.lang.Object
BaseComponentTestCase
org.apache.tapestry.services.impl.TestServiceMap
public class TestServiceMap
- extends BaseComponentTestCase
Tests for ServiceMapImpl
.
- Since:
- 4.0
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestServiceMap
public TestServiceMap()
testGetNoConflict
public void testGetNoConflict()
throws Exception
- Gets an application-defined and factory-defined service where there are no naming conflicts.
Because ServiceMap now returns proxies, we have to do a little extra indirection to ensure
that we get what's expected.
- Throws:
Exception
testNameMismatch
public void testNameMismatch()
throws Exception
- Throws:
Exception
testGetServiceRepeated
public void testGetServiceRepeated()
testApplicationOverridesFactory
public void testApplicationOverridesFactory()
throws Exception
- Throws:
Exception
testUnknownService
public void testUnknownService()
testDuplicateName
public void testDuplicateName()
throws Exception
- Throws:
Exception
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.