EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pcm.gmf.seff.helper]

COVERAGE SUMMARY FOR SOURCE FILE [OKCommand.java]

nameclass, %method, %block, %line, %
OKCommand.java0%   (0/1)0%   (0/4)0%   (0/10)0%   (0/5)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class OKCommand0%   (0/1)0%   (0/4)0%   (0/10)0%   (0/5)
OKCommand (): void 0%   (0/1)0%   (0/4)0%   (0/2)
doExecuteWithResult (IProgressMonitor, IAdaptable): CommandResult 0%   (0/1)0%   (0/2)0%   (0/1)
doRedoWithResult (IProgressMonitor, IAdaptable): CommandResult 0%   (0/1)0%   (0/2)0%   (0/1)
doUndoWithResult (IProgressMonitor, IAdaptable): CommandResult 0%   (0/1)0%   (0/2)0%   (0/1)

1package de.uka.ipd.sdq.pcm.gmf.seff.helper;
2 
3import org.eclipse.core.commands.ExecutionException;
4import org.eclipse.core.runtime.IAdaptable;
5import org.eclipse.core.runtime.IProgressMonitor;
6import org.eclipse.gmf.runtime.common.core.command.AbstractCommand;
7import org.eclipse.gmf.runtime.common.core.command.CommandResult;
8 
9/**
10 * This class handles the OKCommand used in EditHelpers.
11 *
12 */
13public class OKCommand extends AbstractCommand {
14 
15        /**
16         * Constructor for an OKCommand.
17         */
18        public OKCommand() {
19                super("OK Command");
20        }
21 
22        @Override
23        protected CommandResult doExecuteWithResult(
24                        IProgressMonitor progressMonitor, IAdaptable info)
25                        throws ExecutionException {
26                return CommandResult.newOKCommandResult();
27        }
28 
29        @Override
30        protected CommandResult doRedoWithResult(IProgressMonitor progressMonitor,
31                        IAdaptable info) throws ExecutionException {
32                return CommandResult.newOKCommandResult();
33        }
34 
35        @Override
36        protected CommandResult doUndoWithResult(IProgressMonitor progressMonitor,
37                        IAdaptable info) throws ExecutionException {
38                return CommandResult.newOKCommandResult();
39        }
40}

[all classes][de.uka.ipd.sdq.pcm.gmf.seff.helper]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov