|
From: <caw...@us...> - 2007-02-23 15:23:46
|
Revision: 2012
http://svn.sourceforge.net/rubyeclipse/?rev=2012&view=rev
Author: cawilliams
Date: 2007-02-23 07:23:45 -0800 (Fri, 23 Feb 2007)
Log Message:
-----------
fix broken test
Modified Paths:
--------------
trunk/org.rubypeople.rdt.ui.tests/src/org/rubypeople/rdt/internal/ui/search/TC_RubySearchTreeContentProvider.java
Modified: trunk/org.rubypeople.rdt.ui.tests/src/org/rubypeople/rdt/internal/ui/search/TC_RubySearchTreeContentProvider.java
===================================================================
--- trunk/org.rubypeople.rdt.ui.tests/src/org/rubypeople/rdt/internal/ui/search/TC_RubySearchTreeContentProvider.java 2007-02-23 15:11:19 UTC (rev 2011)
+++ trunk/org.rubypeople.rdt.ui.tests/src/org/rubypeople/rdt/internal/ui/search/TC_RubySearchTreeContentProvider.java 2007-02-23 15:23:45 UTC (rev 2012)
@@ -34,7 +34,7 @@
}
- public void testGroupByFIle() {
+ public void testGroupByPath() {
// could be a MockSearchResult instead
RubySearchResult rubyUISearchResult = new RubySearchResult(null);
// call initialize before the search starts
@@ -47,7 +47,7 @@
rubyUISearchResult.addMatch(new Match(searchResult, Match.UNIT_CHARACTER, 0, 0));
rubySearchTreeContentProvider.elementsChanged(new Object[]{searchResult}) ;
- Assert.assertTrue(mockTreeViewer.isParentAdded(file)) ;
+ Assert.assertTrue(mockTreeViewer.isParentAdded(searchResult.getLocation().getSourceFile().getFullPath())) ;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|