@Test public void testGetDomain() throws IOException { super.testGetDomain(); }
@Test public void testGetDomains() throws IOException { super.testGetDomains(); }
@Test public void testGetEntities() throws IOException { super.testGetEntities(); }
@Test public void testGetSingleEntity() throws IOException { super.testGetSingleEntity(); }
@Test public void testGetEntitiesWithFromId() throws IOException { super.testGetEntitiesWithFromId(); }
@Test public void testGetEntitiesWithPrimaryFilters() throws IOException { super.testGetEntitiesWithPrimaryFilters(); }
@Test public void testGetEntitiesWithSecondaryFilters() throws IOException { super.testGetEntitiesWithSecondaryFilters(); }
@Test public void testGetEvents() throws IOException { super.testGetEvents(); }
@Test public void testGetEntitiesWithFromTs() throws IOException { super.testGetEntitiesWithFromTs(); }
TimelineEvent ev3 = createEvent(789l, "launch_event", null); TimelineEvent ev4 = createEvent(0l, "init_event", null); List<TimelineEvent> events = new ArrayList<TimelineEvent>(); events.add(ev3); events.add(ev4); entities.setEntities(Collections.singletonList(createEntity(entityId2, entityType2, null, events, null, null, null, "domain_id_1"))); TimelinePutResponse response = store.put(entities); assertEquals(0, response.getErrors().size()); TimelineEvent ev1 = createEvent(123l, "start_event", null); entities.setEntities(Collections.singletonList(createEntity(entityId1, entityType1, 123l, Collections.singletonList(ev1), relatedEntities, primaryFilters, otherInfo1, "domain_id_1"))); response = store.put(entities); assertEquals(0, response.getErrors().size()); entities.setEntities(Collections.singletonList(createEntity(entityId1b, entityType1, null, Collections.singletonList(ev1), relatedEntities, primaryFilters, otherInfo1, "domain_id_1"))); TimelineEvent ev2 = createEvent(456l, "end_event", eventInfo); Map<String, Object> otherInfo2 = new HashMap<String, Object>(); otherInfo2.put("info2", "val2"); entities.setEntities(Collections.singletonList(createEntity(entityId1, entityType1, null, Collections.singletonList(ev2), null, primaryFilters, otherInfo2, "domain_id_1"))); response = store.put(entities); assertEquals(0, response.getErrors().size()); entities.setEntities(Collections.singletonList(createEntity(entityId1b,
if (store instanceof LeveldbTimelineStore) { LeveldbTimelineStore leveldb = (LeveldbTimelineStore) store; entities.setEntities(Collections.singletonList(createEntity( "ACL_ENTITY_ID_11", "ACL_ENTITY_TYPE_1", 63l, null, null, null, null, "domain_id_4"))); leveldb.put(entities); entities.setEntities(Collections.singletonList(createEntity( "ACL_ENTITY_ID_22", "ACL_ENTITY_TYPE_1", 64l, null, null, null, null, "domain_id_2")));
@Test public void testGetSingleEntity() throws IOException { super.testGetSingleEntity(); }
@Test public void testGetEntitiesWithFromId() throws IOException { super.testGetEntitiesWithFromId(); }
@Test public void testGetEntitiesWithPrimaryFilters() throws IOException { super.testGetEntitiesWithPrimaryFilters(); }
@Test public void testGetEntitiesWithSecondaryFilters() throws IOException { super.testGetEntitiesWithSecondaryFilters(); }
@Test public void testGetEvents() throws IOException { super.testGetEvents(); }
@Test public void testGetEntitiesWithFromTs() throws IOException { super.testGetEntitiesWithFromTs(); }
@Test public void testGetSingleEntity() throws IOException { super.testGetSingleEntity(); ((RollingLevelDBTimelineStore)store).clearStartTimeCache(); super.testGetSingleEntity(); loadTestEntityData(); }
@Test public void testGetDomain() throws IOException { super.testGetDomain(); }
@Test public void testGetEntities() throws IOException { super.testGetEntities(); }