Coverage report

  %line %branch
org.apache.jetspeed.components.util.RegistrySupportedTestCase
0% 
0% 

 1  
 /*
 2  
 * Licensed to the Apache Software Foundation (ASF) under one or more
 3  
 * contributor license agreements.  See the NOTICE file distributed with
 4  
 * this work for additional information regarding copyright ownership.
 5  
 * The ASF licenses this file to You under the Apache License, Version 2.0
 6  
 * (the "License"); you may not use this file except in compliance with
 7  
 * the License.  You may obtain a copy of the License at
 8  
 *
 9  
 *     http://www.apache.org/licenses/LICENSE-2.0
 10  
 *
 11  
 * Unless required by applicable law or agreed to in writing, software
 12  
 * distributed under the License is distributed on an "AS IS" BASIS,
 13  
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 14  
 * See the License for the specific language governing permissions and
 15  
 * limitations under the License.
 16  
 */
 17  
 /*
 18  
  * Created on May 26, 2004
 19  
  *
 20  
  * TODO To change the template for this generated file go to
 21  
  * Window - Preferences - Java - Code Generation - Code and Comments
 22  
  */
 23  
 package org.apache.jetspeed.components.util;
 24  
 
 25  
 import java.util.ArrayList;
 26  
 import java.util.Arrays;
 27  
 import java.util.List;
 28  
 
 29  
 import org.apache.jetspeed.components.portletentity.PortletEntityAccessComponent;
 30  
 import org.apache.jetspeed.components.portletregistry.PortletRegistry;
 31  
 import org.apache.jetspeed.prefs.util.test.AbstractPrefsSupportedTestCase;
 32  
 
 33  
 /**
 34  
  * @author <a href="mailto:sweaver@einnovation.com">Scott T. Weaver</a>
 35  
  *
 36  
  */
 37  0
 public abstract class RegistrySupportedTestCase extends AbstractPrefsSupportedTestCase
 38  
 {
 39  
 
 40  
     protected PortletRegistry portletRegistry;
 41  
     protected PortletEntityAccessComponent entityAccess;
 42  
 
 43  
     /* (non-Javadoc)
 44  
      * @see junit.framework.TestCase#setUp()
 45  
      */
 46  
     protected void setUp() throws Exception
 47  
     {       
 48  0
         super.setUp();
 49  0
         portletRegistry = (PortletRegistry) ctx.getBean("portletRegistry");
 50  0
         entityAccess = (PortletEntityAccessComponent) ctx.getBean("portletEntityAccess");
 51  0
     }   
 52  
     
 53  
     protected String[] getConfigurations()
 54  
     {
 55  0
         String[] confs = super.getConfigurations();
 56  0
         List confList = new ArrayList(Arrays.asList(confs));
 57  0
         confList.add("registry.xml");
 58  0
         return (String[]) confList.toArray(new String[1]);
 59  
     }
 60  
 }

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.