Search in sources :

Example 6 with Category

use of alma.alarmsystem.Category in project ACS by ACS-Community.

the class TestAlarmService method testGetCategoryRoot.

/**
	 * Check if the category root is OK
	 * 
	 * @throws Exception
	 */
public void testGetCategoryRoot() throws Exception {
    Category root = alarmService.getCategoryTreeRoot();
    assertNotNull(root);
    assertEquals("ROOT", root.name);
    assertEquals("ROOT", root.path);
    assertFalse("ROOT is a leaf!", root.leaf);
}
Also used : Category(alma.alarmsystem.Category)

Aggregations

Category (alma.alarmsystem.Category)6 CategoryImpl (cern.laser.business.data.CategoryImpl)2 CategorySubscriber (alma.acs.lasercore.test.stress.category.CategorySubscriber)1 AlarmImpl (cern.laser.business.data.AlarmImpl)1 Building (cern.laser.business.data.Building)1 Location (cern.laser.business.data.Location)1 ResponsiblePerson (cern.laser.business.data.ResponsiblePerson)1 Source (cern.laser.business.data.Source)1 Status (cern.laser.business.data.Status)1 StatusImpl (cern.laser.business.data.StatusImpl)1 Triplet (cern.laser.business.data.Triplet)1 Alarm (cern.laser.client.data.Alarm)1 CategorySelection (cern.laser.client.services.selection.CategorySelection)1 Selection (cern.laser.client.services.selection.Selection)1 Timestamp (java.sql.Timestamp)1 HashSet (java.util.HashSet)1 Iterator (java.util.Iterator)1 Properties (java.util.Properties)1 Vector (java.util.Vector)1