EMMA Coverage Report (generated Fri Jul 28 01:51:09 CEST 2006)
[all classes][org.jtiger.framework]

COVERAGE SUMMARY FOR SOURCE FILE [TestIgnoredFactory.java]

nameclass, %method, %block, %line, %
TestIgnoredFactory.java100% (2/2)100% (4/4)100% (20/20)100% (6/6)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class TestIgnoredFactory100% (1/1)100% (2/2)100% (7/7)100% (3/3)
TestIgnoredFactory (): void 100% (1/1)100% (3/3)100% (2/2)
newTestIgnored (): TestIgnored 100% (1/1)100% (4/4)100% (1/1)
     
class TestIgnoredFactory$TestIgnoredImpl100% (1/1)100% (2/2)100% (13/13)100% (3/3)
TestIgnoredFactory$TestIgnoredImpl (): void 100% (1/1)100% (3/3)100% (2/2)
isIgnored (TestResultType): boolean 100% (1/1)100% (10/10)100% (1/1)

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 */
11package org.jtiger.framework;
12 
13import static org.jtiger.framework.TestResultType.IGNORED_ANNOTATED;
14import static org.jtiger.framework.TestResultType.IGNORED_CANNOT_INVOKE;
15 
16final class TestIgnoredFactory
17{
18    private TestIgnoredFactory()
19    {
20 
21    }
22 
23    static TestIgnored newTestIgnored()
24    {
25        return new TestIgnoredImpl();
26    }
27 
28    private static final class TestIgnoredImpl implements TestIgnored
29    {
30        TestIgnoredImpl()
31        {
32 
33        }
34 
35        public boolean isIgnored(final TestResultType result)
36        {
37            return result == IGNORED_ANNOTATED ||
38                    result == IGNORED_CANNOT_INVOKE;
39        }
40    }
41}

[all classes][org.jtiger.framework]
EMMA 2.0.5312 (C) Vladimir Roubtsov