| 1 | /* |
| 2 | * JTiger Unit Testing Framework for J2SE 1.5 |
| 3 | * Copyright (C) 2005 Tony Morris |
| 4 | * |
| 5 | * This software is licenced under the |
| 6 | * Common Public Licence version 1.0 |
| 7 | * http://www.opensource.org/licenses/cpl1.0.php |
| 8 | * |
| 9 | * You received a copy of this licence with this software. |
| 10 | */ |
| 11 | package org.jtiger.framework; |
| 12 | |
| 13 | import java.text.MessageFormat; |
| 14 | import java.util.ResourceBundle; |
| 15 | |
| 16 | final class DefaultFixtureResultsHandlerMessage |
| 17 | { |
| 18 | public static final String BUNDLE = "org/jtiger/framework/DefaultFixtureResultsHandlerMessage"; |
| 19 | |
| 20 | private DefaultFixtureResultsHandlerMessage() |
| 21 | { |
| 22 | |
| 23 | } |
| 24 | |
| 25 | public static String message(final int successes, final int failures, final int ignored) |
| 26 | { |
| 27 | return MessageFormat.format( |
| 28 | ResourceBundle.getBundle(BUNDLE).getString("message"), |
| 29 | successes, failures, ignored); |
| 30 | } |
| 31 | } |