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

COVERAGE SUMMARY FOR SOURCE FILE [CanceledCommand.java]

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

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class CanceledCommand0%   (0/1)0%   (0/4)0%   (0/10)0%   (0/5)
CanceledCommand (): 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.composite.edit.helpers;
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 
9public class CanceledCommand extends AbstractCommand {
10 
11        public CanceledCommand() {
12                super("Canceled Command");
13        }
14 
15        @Override
16        protected CommandResult doExecuteWithResult(
17                        IProgressMonitor progressMonitor, IAdaptable info)
18                        throws ExecutionException {
19                return CommandResult.newCancelledCommandResult();
20        }
21 
22        @Override
23        protected CommandResult doRedoWithResult(IProgressMonitor progressMonitor,
24                        IAdaptable info) throws ExecutionException {
25                return CommandResult.newCancelledCommandResult();
26        }
27 
28        @Override
29        protected CommandResult doUndoWithResult(IProgressMonitor progressMonitor,
30                        IAdaptable info) throws ExecutionException {
31                return CommandResult.newCancelledCommandResult();
32        }
33        
34}

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