1 19 20 package org.netbeans.modules.diff; 21 22 import java.awt.Component ; 23 import java.io.IOException ; 24 import java.io.Reader ; 25 import javax.swing.JPanel ; 26 import org.netbeans.api.diff.Diff; 27 import org.netbeans.api.diff.DiffView; 28 import org.netbeans.api.diff.StreamSource; 29 import org.netbeans.modules.diff.builtin.DefaultDiff; 30 31 35 public class DefaultDiffViewTest extends DiffViewAbstract { 36 37 38 public DefaultDiffViewTest(String name) { 39 super(name); 40 } 41 42 protected DiffView createDiffView(StreamSource ss1, StreamSource ss2) throws IOException { 43 DefaultDiff dd = new DefaultDiff(); 44 return dd.createDiff(ss1, ss2); 45 } 46 47 } 48 | Popular Tags |