|
From: Christopher W. <caw...@us...> - 2006-02-10 20:00:07
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/core/parser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13520/src/org/rubypeople/rdt/internal/core/parser Modified Files: TC_TaskParser.java Log Message: try to fix tests to run with new code changes Index: TC_TaskParser.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core.tests/src/org/rubypeople/rdt/internal/core/parser/TC_TaskParser.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TC_TaskParser.java 6 Aug 2005 22:57:29 -0000 1.1 --- TC_TaskParser.java 10 Feb 2006 19:59:55 -0000 1.2 *************** *** 3,12 **** import java.io.StringReader; import java.util.List; import junit.framework.TestCase; import org.eclipse.core.resources.IMarker; - import org.rubypeople.eclipse.shams.runtime.ShamPreferences; import org.rubypeople.rdt.core.RubyCore; --- 3,13 ---- import java.io.StringReader; + import java.util.HashMap; import java.util.List; + import java.util.Map; import junit.framework.TestCase; import org.eclipse.core.resources.IMarker; import org.rubypeople.rdt.core.RubyCore; *************** *** 15,23 **** private static final String BASIC_MESSAGE = "TASK test"; private static final String ALTERNATE_MESSAGE = "CHORE test"; ! private ShamPreferences preferences; private TaskParser parser; public void setUp() { ! preferences = new ShamPreferences(); preferences.put(RubyCore.COMPILER_TASK_TAGS, "TASK"); --- 16,24 ---- private static final String BASIC_MESSAGE = "TASK test"; private static final String ALTERNATE_MESSAGE = "CHORE test"; ! private Map preferences; private TaskParser parser; public void setUp() { ! preferences = new HashMap(); preferences.put(RubyCore.COMPILER_TASK_TAGS, "TASK"); |