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 / ArrayListStoreTest.java
... / ...
CommitLineData
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
10package org.eclipse.tracecompass.segmentstore.core.tests;
11
12import org.eclipse.jdt.annotation.NonNull;
13import org.eclipse.tracecompass.internal.segmentstore.core.arraylist.ArrayListStore;
14import org.eclipse.tracecompass.segmentstore.core.ISegment;
15import org.eclipse.tracecompass.segmentstore.core.ISegmentStore;
16
17/**
18 * Unit tests for intersecting elements in an ArrayListStore
19 *
20 * @author France Lapointe Nguyen
21 * @author Matthew Khouzam
22 */
23public class ArrayListStoreTest extends AbstractTestSegmentStore {
24
25 @Override
26 protected ISegmentStore<@NonNull ISegment> getSegmentStore() {
27 return new ArrayListStore<>();
28 }
29
30 @Override
31 protected ISegmentStore<@NonNull ISegment> getSegmentStore(@NonNull ISegment @NonNull [] data) {
32 return new ArrayListStore<>(data);
33 }
34}
This page took 0.024435 seconds and 5 git commands to generate.