Clover coverage report - Code Coverage for tapestry-portlet release 4.0-beta-9
Coverage timestamp: Sat Oct 1 2005 08:41:31 EDT
file stats: LOC: 56   Methods: 6
NCLOC: 29   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
PortletMessages.java - 33.3% 33.3% 33.3%
coverage coverage
 1    // Copyright 2005 The Apache Software Foundation
 2    //
 3    // Licensed under the Apache License, Version 2.0 (the "License");
 4    // you may not use this file except in compliance with the License.
 5    // You may obtain a copy of the License at
 6    //
 7    // http://www.apache.org/licenses/LICENSE-2.0
 8    //
 9    // Unless required by applicable law or agreed to in writing, software
 10    // distributed under the License is distributed on an "AS IS" BASIS,
 11    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 12    // See the License for the specific language governing permissions and
 13    // limitations under the License.
 14   
 15    package org.apache.tapestry.portlet;
 16   
 17    import org.apache.hivemind.impl.MessageFormatter;
 18   
 19    /**
 20    * @author Howard M. Lewis Ship
 21    * @since 4.0
 22    */
 23    class PortletMessages
 24    {
 25    private final static MessageFormatter _formatter = new MessageFormatter(PortletMessages.class);
 26   
 27  10 static String unsupportedMethod(String methodName)
 28    {
 29  10 return _formatter.format("unsupported-method", methodName);
 30    }
 31   
 32  1 static String errorGettingResource(String path, Throwable cause)
 33    {
 34  1 return _formatter.format("error-getting-resource", path, cause);
 35    }
 36   
 37  0 static String errorProcessingAction(Throwable cause)
 38    {
 39  0 return _formatter.format("error-processing-action", cause);
 40    }
 41   
 42  0 static String errorProcessingRender(Throwable cause)
 43    {
 44  0 return _formatter.format("error-processing-render", cause);
 45    }
 46   
 47  0 static String errorReportingException(Throwable cause)
 48    {
 49  0 return _formatter.format("error-reporting-exception", cause);
 50    }
 51   
 52  0 static String staleSession()
 53    {
 54  0 return _formatter.getMessage("stale-session");
 55    }
 56    }