Clover coverage report - Code Coverage for tapestry release 4.0-beta-10
Coverage timestamp: Sat Oct 8 2005 19:08:05 EDT
file stats: LOC: 64   Methods: 7
NCLOC: 35   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
AssetMessages.java - 57.1% 57.1% 57.1%
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.asset;
 16   
 17    import java.io.IOException;
 18   
 19    import org.apache.hivemind.Resource;
 20    import org.apache.hivemind.impl.MessageFormatter;
 21   
 22    /**
 23    * @author Howard M. Lewis Ship
 24    * @since 4.0
 25    */
 26    class AssetMessages
 27    {
 28    private final static MessageFormatter _formatter = new MessageFormatter(AssetMessages.class);
 29   
 30  2 static String missingAsset(String path, Resource resource)
 31    {
 32  2 return _formatter.format("missing-asset", path, resource);
 33    }
 34   
 35  1 static String noSuchResource(String resourcePath)
 36    {
 37  1 return _formatter.format("no-such-resource", resourcePath);
 38    }
 39   
 40  0 static String unableToReadResource(String resourcePath, IOException cause)
 41    {
 42  0 return _formatter.format("unable-to-read-resource", resourcePath, cause);
 43    }
 44   
 45  0 static String md5Mismatch(String path)
 46    {
 47  0 return _formatter.format("md5-mismatch", path);
 48    }
 49   
 50  0 static String exceptionReportTitle(String path)
 51    {
 52  0 return _formatter.format("exception-report-title", path);
 53    }
 54   
 55  1 static String missingClasspathResource(String path)
 56    {
 57  1 return _formatter.format("missing-classpath-resource", path);
 58    }
 59   
 60  1 static String missingContextResource(String path)
 61    {
 62  1 return _formatter.format("missing-context-resource", path);
 63    }
 64    }