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 Messages |
17 | { |
18 | public static final String BUNDLE = "org/jtiger/framework/Messages"; |
19 | |
20 | private Messages() |
21 | { |
22 | |
23 | } |
24 | |
25 | public static String wrongMethodSignature() |
26 | { |
27 | return ResourceBundle.getBundle(BUNDLE).getString("wrong.method.signature"); |
28 | } |
29 | |
30 | public static String usage() |
31 | { |
32 | return MessageFormat.format( |
33 | ResourceBundle.getBundle(BUNDLE).getString("usage"), |
34 | System.getProperty("line.separator"), |
35 | FixturesRunnerMain.ARG_FIXTURE_CLASSES, |
36 | FixturesRunnerMain.ARG_DEFINITION_CLASS, |
37 | FixturesRunnerMain.ARG_SUTD_CLASS, |
38 | FixturesRunnerMain.ARG_HALT_ON_FAILURE, |
39 | FixturesRunnerMain.ARG_CATEGORIES, |
40 | FixturesRunnerMain.ARG_RESULT); |
41 | } |
42 | } |