summaryrefslogtreecommitdiffstats
path: root/luni/src/test/java/tests/sql/BlobTest.java
blob: 43fb2a6cc3e129770a4ca1fd2ec7afdbc66a69a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
/*
 * Copyright (C) 2008 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package tests.sql;

import dalvik.annotation.TestLevel;
import dalvik.annotation.TestTargetClass;
import dalvik.annotation.TestTargetNew;

import junit.framework.TestCase;

import java.sql.Blob;

/**
 * @author andrea@google.com (Your Name Here)
 *
 */
@TestTargetClass(Blob.class)
public class BlobTest extends TestCase {

    /**
     * Test method for {@link java.sql.Blob#getBinaryStream()}.
     */
    @TestTargetNew(
      level = TestLevel.NOT_FEASIBLE,
      notes = "",
      method = "getBinaryStream",
      args = {}
      )
    public void testGetBinaryStream() {
        fail("Not yet implemented");
    }

    /**
     * Test method for {@link java.sql.Blob#getBytes(long, int)}.
     */
    @TestTargetNew(
      level = TestLevel.NOT_FEASIBLE,
      notes = "",
      method = "getBytes",
      args = {long.class, int.class}
      )
    public void testGetBytes() {
        fail("Not yet implemented");
    }

    /**
     * Test method for {@link java.sql.Blob#length()}.
     */
    @TestTargetNew(
      level = TestLevel.NOT_FEASIBLE,
      notes = "",
      method = "length",
      args = {}
      )
    public void testLength() {
        fail("Not yet implemented");
    }

    /**
     * Test method for {@link java.sql.Blob#position(java.sql.Blob, long)}.
     */
    @TestTargetNew(
      level = TestLevel.NOT_FEASIBLE,
      notes = "",
      method = "position",
      args = {Blob.class, long.class}
      )
    public void testPositionBlobLong() {
        fail("Not yet implemented");
    }

    /**
     * Test method for {@link java.sql.Blob#position(byte[], long)}.
     */
    @TestTargetNew(
      level = TestLevel.NOT_FEASIBLE,
      notes = "",
      method =  "position",
      args = {byte[].class, long.class}
    )
    public void testPositionByteArrayLong() {
        fail("Not yet implemented");
    }

    /**
     * Test method for {@link java.sql.Blob#setBinaryStream(long)}.
     */
    @TestTargetNew(
      level = TestLevel.NOT_FEASIBLE,
      notes = "",
      method = "setBinaryStream",
      args = {long.class}
      )
    public void testSetBinaryStream() {
        fail("Not yet implemented");
    }

    /**
     * Test method for {@link java.sql.Blob#setBytes(long, byte[])}.
     */
    @TestTargetNew(
            level = TestLevel.NOT_FEASIBLE,
            notes = "",
            method  = "setBytes",
            args = {long.class, byte[].class}
    )
    public void testSetBytesLongByteArray() {
        fail("Not yet implemented");
    }

    /**
     * Test method for {@link java.sql.Blob#setBytes(long, byte[], int, int)}.
     */
    @TestTargetNew(
      level = TestLevel.NOT_FEASIBLE,
      notes = "",
      method = "setBytes",
      args = {long.class, byte[].class, int.class, int.class}
      )
    public void testSetBytesLongByteArrayIntInt() {
        fail("Not yet implemented");
    }

    /**
     * Test method for {@link java.sql.Blob#truncate(long)}.
     */
    @TestTargetNew(
      level = TestLevel.NOT_FEASIBLE,
      notes = "",
      method = "truncate",
      args = {long.class}
      )
    public void testTruncate() {
        fail("Not yet implemented");
    }

}