~ubuntu-branches/ubuntu/vivid/icu4j-4.4/vivid

« back to all changes in this revision

Viewing changes to main/tests/framework/src/com/ibm/icu/dev/test/TestLog.java

  • Committer: Bazaar Package Importer
  • Author(s): Niels Thykier
  • Date: 2011-08-02 15:50:33 UTC
  • Revision ID: james.westby@ubuntu.com-20110802155033-itjzsl21y2lqdonn
Tags: upstream-4.4.2
ImportĀ upstreamĀ versionĀ 4.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 *******************************************************************************
 
3
 * Copyright (C) 2000-2004, International Business Machines Corporation and    *
 
4
 * others. All Rights Reserved.                                                *
 
5
 *******************************************************************************
 
6
 */
 
7
package com.ibm.icu.dev.test;
 
8
 
 
9
public interface TestLog {
 
10
 
 
11
    /**
 
12
     * Adds given string to the log if we are in verbose mode.
 
13
     */
 
14
    void log(String message);
 
15
 
 
16
    void logln(String message);
 
17
 
 
18
    /**
 
19
     * Report an error
 
20
     */
 
21
    void err(String message);
 
22
 
 
23
    void errln(String message);
 
24
 
 
25
    /**
 
26
     * Warn about missing tests or data.
 
27
     */
 
28
    void warn(String message);
 
29
    
 
30
    void warnln(String message);
 
31
 
 
32
 
 
33
    public static final int LOG = 0;
 
34
    public static final int WARN = 1;
 
35
    public static final int ERR = 2;
 
36
 
 
37
    void msg(String message, int level, boolean incCount, boolean newln);
 
38
}