List of usage examples for com.liferay.portal.util LayoutTypeControllerTracker getTypes
public static String[] getTypes()
From source file:com.liferay.layout.type.controller.test.LayoutTypeControllerTrackerTest.java
License:Open Source License
@Test public void testGetTypes() { String[] types = LayoutTypeControllerTracker.getTypes(); Assert.assertNotNull(types);/*from w w w . j a v a 2s.co m*/ boolean found = false; for (String type : types) { if (type.equals("testLayoutTypeController")) { found = true; } } Assert.assertTrue(found); }