Author: snjeza
Date: 2012-01-21 17:05:19 -0500 (Sat, 21 Jan 2012)
New Revision: 38016
Modified:
trunk/central/tests/org.jboss.tools.central.test/src/org/jboss/tools/central/test/CentralTest.java
Log:
JBIDE-10684 JBoss Central tests fail
Modified:
trunk/central/tests/org.jboss.tools.central.test/src/org/jboss/tools/central/test/CentralTest.java
===================================================================
---
trunk/central/tests/org.jboss.tools.central.test/src/org/jboss/tools/central/test/CentralTest.java 2012-01-21
02:01:19 UTC (rev 38015)
+++
trunk/central/tests/org.jboss.tools.central.test/src/org/jboss/tools/central/test/CentralTest.java 2012-01-21
22:05:19 UTC (rev 38016)
@@ -19,7 +19,6 @@
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
-import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.IEditorReference;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IWorkbenchPage;
@@ -33,7 +32,8 @@
import org.jboss.tools.central.jobs.RefreshNewsJob;
import org.jboss.tools.central.jobs.RefreshTutorialsJob;
import org.jboss.tools.central.model.FeedsEntry;
-import org.jboss.tools.central.model.TutorialCategory;
+import org.jboss.tools.project.examples.model.Category;
+import org.jboss.tools.project.examples.model.Project;
import org.jboss.tools.test.util.JobUtils;
import org.jboss.tools.test.util.xpl.EditorTestHelper;
import org.junit.AfterClass;
@@ -77,7 +77,7 @@
public void testTutorials() throws Exception {
Job.getJobManager().join(JBossCentralActivator.JBOSS_CENTRAL_FAMILY,
new NullProgressMonitor());
- Map<String, TutorialCategory> categories = RefreshTutorialsJob.INSTANCE
+ Map<Category, List<Project>> categories = RefreshTutorialsJob.INSTANCE
.getTutorialCategories();
assertTrue("No one tutorial is found", categories.size() > 0);
}
Show replies by date