Clover coverage report - Code Coverage for tapestry release 4.0.2
Coverage timestamp: Thu Apr 13 2006 10:52:06 EDT
file stats: LOC: 58   Methods: 6
NCLOC: 31   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
RecordMessages.java - 100% 100% 100%
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.record;
 16   
 17    import org.apache.hivemind.impl.MessageFormatter;
 18    import org.apache.tapestry.IComponent;
 19   
 20    /**
 21    * @author Howard M. Lewis Ship
 22    * @since 4.0
 23    */
 24    class RecordMessages
 25    {
 26    private final static MessageFormatter _formatter = new MessageFormatter(RecordMessages.class);
 27   
 28  2 static String unknownPersistenceStrategy(String name)
 29    {
 30  2 return _formatter.format("unknown-persistence-strategy", name);
 31    }
 32   
 33  1 static String missingPropertySpecification(String propertyName, IComponent component)
 34    {
 35  1 return _formatter.format("missing-property-specification", propertyName, component
 36    .getExtendedId(), component.getSpecification().getSpecificationLocation());
 37    }
 38   
 39  1 static String recorderLocked(String propertyName, IComponent component)
 40    {
 41  1 return _formatter.format("recorder-locked", propertyName, component.getExtendedId());
 42    }
 43   
 44  1 static String decodeFailure(Throwable cause)
 45    {
 46  1 return _formatter.format("decode-failure", cause);
 47    }
 48   
 49  1 static String encodeFailure(Throwable cause)
 50    {
 51  1 return _formatter.format("encode-failure", cause);
 52    }
 53   
 54  1 static String unknownPrefix(String prefix)
 55    {
 56  1 return _formatter.format("unknown-prefix", prefix);
 57    }
 58    }