Author: thomas.heute(a)jboss.com
Date: 2009-12-03 04:16:30 -0500 (Thu, 03 Dec 2009)
New Revision: 914
Modified:
portal/trunk/component/application-registry/src/test/java/org/exoplatform/application/registry/TestApplicationRegistryService.java
Log:
Fix API to make Eclipse happy. That class is actually never compiled by Maven (And then
tests aren't used)
Modified:
portal/trunk/component/application-registry/src/test/java/org/exoplatform/application/registry/TestApplicationRegistryService.java
===================================================================
---
portal/trunk/component/application-registry/src/test/java/org/exoplatform/application/registry/TestApplicationRegistryService.java 2009-12-03
04:29:18 UTC (rev 913)
+++
portal/trunk/component/application-registry/src/test/java/org/exoplatform/application/registry/TestApplicationRegistryService.java 2009-12-03
09:16:30 UTC (rev 914)
@@ -20,6 +20,7 @@
package org.exoplatform.application.registry;
import org.exoplatform.container.PortalContainer;
+import org.exoplatform.portal.config.model.ApplicationType;
import org.exoplatform.services.organization.Group;
import org.exoplatform.services.organization.MembershipType;
import org.exoplatform.services.organization.OrganizationService;
@@ -323,7 +324,7 @@
Application app = new Application();
app.setApplicationName(appName);
app.setDisplayName(appName);
- app.setType(appType);
+ app.setType(ApplicationType.getType(appType));
// app.setApplicationGroup(appGroup);
return app;
}
Show replies by date