EMMA Coverage Report (generated Tue May 16 15:34:38 CDT 2006)
[all classes][com.mysql.management.util]

COVERAGE SUMMARY FOR SOURCE FILE [Utils.java]

nameclass, %method, %block, %line, %
Utils.java100% (1/1)100% (8/8)100% (70/70)100% (21/21)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class Utils100% (1/1)100% (8/8)100% (70/70)100% (21/21)
Utils (): void 100% (1/1)100% (33/33)100% (7/7)
Utils (Files, Shell$Factory, Streams, Threads, Str): void 100% (1/1)100% (18/18)100% (7/7)
files (): Files 100% (1/1)100% (3/3)100% (1/1)
setFiles (Files): void 100% (1/1)100% (4/4)100% (2/2)
shellFactory (): Shell$Factory 100% (1/1)100% (3/3)100% (1/1)
str (): Str 100% (1/1)100% (3/3)100% (1/1)
streams (): Streams 100% (1/1)100% (3/3)100% (1/1)
threads (): Threads 100% (1/1)100% (3/3)100% (1/1)

1package com.mysql.management.util;
2 
3import java.io.File;
4 
5public final class Utils {
6    private Files files;
7 
8    private Streams streams;
9 
10    private Shell.Factory shellFactory;
11 
12    private Threads threads;
13 
14    private Str str;
15 
16    public Utils() {
17        this.shellFactory = new Shell.Factory();
18        this.str = new Str();
19        this.streams = new Streams();
20        this.threads = new Threads();
21        this.files = new Files(shellFactory, File.separatorChar, streams);
22    }
23 
24    public Utils(Files files, Shell.Factory shellFactory, Streams streams,
25            Threads threads, Str str) {
26        this.files = files;
27        this.shellFactory = shellFactory;
28        this.str = str;
29        this.streams = streams;
30        this.threads = threads;
31    }
32 
33    public Files files() {
34        return files;
35    }
36 
37    public Streams streams() {
38        return streams;
39    }
40 
41    public Shell.Factory shellFactory() {
42        return shellFactory;
43    }
44 
45    public Threads threads() {
46        return threads;
47    }
48 
49    public Str str() {
50        return str;
51    }
52 
53    public void setFiles(Files files) {
54        this.files = files;
55    }
56}

[all classes][com.mysql.management.util]
EMMA 2.0.5312 (C) Vladimir Roubtsov