org.apache.tapestry.services.impl
Class TestServiceMap

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.services.impl.TestServiceMap

public class TestServiceMap
extends BaseComponentTestCase

Tests for ServiceMapImpl.

Since:
4.0
Author:
Howard Lewis Ship

Constructor Summary
TestServiceMap()
           
 
Method Summary
 void testApplicationOverridesFactory()
           
 void testDuplicateName()
           
 void testGetNoConflict()
          Gets an application-defined and factory-defined service where there are no naming conflicts.
 void testGetServiceRepeated()
           
 void testNameMismatch()
           
 void testUnknownService()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestServiceMap

public TestServiceMap()
Method Detail

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.