aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/xtremelabs/robolectric/util/SQLiteTestHelper.java
blob: 2734fef42aa5dd4fc22383cb069f80377ff03f8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.xtremelabs.robolectric.util;

import java.util.List;

import static org.hamcrest.CoreMatchers.instanceOf;
import static org.junit.Assert.assertThat;

public class SQLiteTestHelper {

    static void verifyColumnValues(List<Object> colValues) {
        assertThat(colValues.get(0), instanceOf(Float.class));
        assertThat(colValues.get(1), instanceOf(byte[].class));
        assertThat(colValues.get(2), instanceOf(String.class));
        assertThat(colValues.get(3), instanceOf(Integer.class));
    }

}