org.eclipse.emf.emfstore.fuzzy.emf.internal.diff
Class DiffGenerator

java.lang.Object
  extended by org.eclipse.emf.emfstore.fuzzy.emf.internal.diff.DiffGenerator

public class DiffGenerator
extends Object

Generates TestDiffs out of TestRun.

Author:
Julian Sommerfeldt

Constructor Summary
DiffGenerator()
          A DiffGenerator with the standard diff file FuzzyUtil.DIFF_FILE.
DiffGenerator(org.eclipse.emf.ecore.resource.Resource diffResource)
          A DiffGenerator using the diffResource.
DiffGenerator(String diffPath)
          A DiffGenerator with using the diffPath.
 
Method Summary
 void createDiff(TestRun firstRun, TestRun secondRun)
          Create a diff from two TestRuns.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiffGenerator

public DiffGenerator()
A DiffGenerator with the standard diff file FuzzyUtil.DIFF_FILE.


DiffGenerator

public DiffGenerator(String diffPath)
A DiffGenerator with using the diffPath.

Parameters:
diffPath - The path to the Diff file.

DiffGenerator

public DiffGenerator(org.eclipse.emf.ecore.resource.Resource diffResource)
A DiffGenerator using the diffResource.

Parameters:
diffResource - The resource to use for the diff.
Method Detail

createDiff

public void createDiff(TestRun firstRun,
                       TestRun secondRun)
                throws IOException
Create a diff from two TestRuns.

Parameters:
firstRun - The first TestRun.
secondRun - The second TestRun.
Throws:
IOException - If there is a saving/loading failure with resources.


Copyright © 2015. All Rights Reserved.