Commit | Line | Data |
---|---|---|
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 | 10 | package org.eclipse.tracecompass.segmentstore.core.tests; |
aaa6f547 MK |
11 | |
12 | import org.eclipse.jdt.annotation.NonNull; | |
664a3a81 | 13 | import org.eclipse.tracecompass.internal.segmentstore.core.arraylist.LazyArrayListStore; |
aaa6f547 MK |
14 | import org.eclipse.tracecompass.segmentstore.core.ISegment; |
15 | import org.eclipse.tracecompass.segmentstore.core.ISegmentStore; | |
16 | ||
17 | /** | |
18 | * Unit tests for intersecting elements in an LazyArrayListStore | |
19 | * | |
20 | * @author Matthew Khouzam | |
21 | */ | |
22 | public 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 | } |