timing.core: add testing for less used functions in the segment store
[deliverable/tracecompass.git] / statesystem / org.eclipse.tracecompass.segmentstore.core.tests / src / org / eclipse / tracecompass / segmentstore / core / tests / LazyArrayListStoreTest.java
CommitLineData
aaa6f547
MK
1/*******************************************************************************
2 * Copyright (c) 2016 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *******************************************************************************/
9
664a3a81 10package org.eclipse.tracecompass.segmentstore.core.tests;
aaa6f547
MK
11
12import org.eclipse.jdt.annotation.NonNull;
664a3a81 13import org.eclipse.tracecompass.internal.segmentstore.core.arraylist.LazyArrayListStore;
aaa6f547
MK
14import org.eclipse.tracecompass.segmentstore.core.ISegment;
15import org.eclipse.tracecompass.segmentstore.core.ISegmentStore;
16
17/**
18 * Unit tests for intersecting elements in an LazyArrayListStore
19 *
20 * @author Matthew Khouzam
21 */
22public class LazyArrayListStoreTest extends AbstractTestSegmentStore {
23
24 @Override
25 protected ISegmentStore<@NonNull ISegment> getSegmentStore() {
26 return new LazyArrayListStore<>();
27 }
664a3a81 28
131f8938
MK
29 @Override
30 protected ISegmentStore<@NonNull ISegment> getSegmentStore(@NonNull ISegment @NonNull [] data) {
31 return new LazyArrayListStore<>(data);
32 }
aaa6f547 33}
This page took 0.026693 seconds and 5 git commands to generate.