EMMA Coverage Report (generated Fri Mar 15 09:08:15 CET 2013)
[all classes][jpacman]

COVERAGE SUMMARY FOR SOURCE FILE [TestAll.java]

nameclass, %method, %block, %line, %
TestAll.java100% (1/1)33%  (1/3)53%  (9/17)50%  (2/4)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class TestAll100% (1/1)33%  (1/3)53%  (9/17)50%  (2/4)
TestAll (): void 0%   (0/1)0%   (0/3)0%   (0/1)
suite (): Test 0%   (0/1)0%   (0/5)0%   (0/1)
main (String []): void 100% (1/1)100% (9/9)100% (2/2)

1package jpacman;
2 
3import junit.framework.JUnit4TestAdapter;
4 
5import org.junit.runner.RunWith;
6import org.junit.runners.Suite;
7import org.junit.runners.Suite.SuiteClasses;
8 
9import jpacman.controller.ImageFactoryTest;
10 
11import jpacman.model.BoardTest;
12import jpacman.model.CellTest;
13import jpacman.model.EngineTest;
14import jpacman.model.GameTest;
15import jpacman.model.ObserverTest;
16import jpacman.model.PlayerMoveTest;
17 
18 
19 
20/**
21 * Test suite containing all Pacman junit test cases.
22 *
23 * This class is provided so that, e.g., ant's junit
24 * task that is still based on junit 3.8.1. can run the
25 * test suite as well.
26 *
27 * @author Arie van Deursen; Aug 1, 2003
28 * @version $Id: TestAll.java,v 1.8 2008/02/04 11:00:38 arie Exp $
29 */
30 
31 
32/**
33 * If you'd like your class to be tested,
34 * include it below in the list of suite classes.
35 */
36@RunWith(Suite.class)
37@SuiteClasses({
38    PacmanTest.class,
39    BoardTest.class,
40    CellTest.class,
41    GameTest.class,
42    EngineTest.class,
43    ObserverTest.class,
44    PlayerMoveTest.class,
45    ImageFactoryTest.class
46})
47 
48public final class TestAll  {
49 
50    /**
51     * Create a JUnit 3.8 Suite object that can be used to exercise
52     * the JUnit 4 test suite from the command line or from ant.
53     * @return The overall test suite.
54     */
55    public static junit.framework.Test suite() {
56        return new JUnit4TestAdapter(TestAll.class);
57    }
58 
59    /**
60     * Convencience method making it easiest to exercise all Pacman test cases.
61     * @param args All arguments are ignored.
62     */
63    public static void main(String[] args) {
64        org.junit.runner.JUnitCore.runClasses(jpacman.TestAll.class);
65    }
66 
67}

[all classes][jpacman]
EMMA 2.0.5312 (C) Vladimir Roubtsov