Clover coverage report - brownies library - 1.0-beta-1 Coverage timestamp: 月 8 16 2004 17:14:42 GMT+09:00 FRAMES NO FRAMES |
file stats: | LOC: | 293 |  | Methods: | 38
| NCLOC: | 114 |  | Classes: | 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
Source file | Conditionals | Statements | Methods | TOTAL
MockBaseStatement.java | - | 0% | 0% | 0% |

1 |  |
     /*
2 |  |
      * Joey and its relative products are published under the terms
3 |  |
      * of the Apache Software License.
4 |  |
      */
5 |  |
     /*
6 |  |
      * Created on 2003/12/11
7 |  |
      */
8 |  |
     package org.asyrinx.brownie.jdbc.mockbase;
9 |  |
10 |  |
     import java.sql.Connection;
11 |  |
     import java.sql.ResultSet;
12 |  |
     import java.sql.SQLException;
13 |  |
     import java.sql.SQLWarning;
14 |  |
     import java.sql.Statement;
15 |  |
16 |  |
     /**
17 |  |
      * @author akima
18 |  |
      */
19 |  |
     public class MockBaseStatement implements Statement {
20 |  |
21 |  |
         /**
22 |  |
          *
23 |  |
          */
24 | 0 |
         public MockBaseStatement() {
25 | 0 |
             super();
26 |  |
         }
27 |  |
28 |  |
         /**
29 |  |
          * @see java.sql.Statement#addBatch(java.lang.String)
30 |  |
          */
31 | 0 |
         public void addBatch(String sql) throws SQLException {
32 |  |
             //do nothing
33 |  |
         }
34 |  |
35 |  |
         /**
36 |  |
          * @see java.sql.Statement#cancel()
37 |  |
          */
38 | 0 |
         public void cancel() throws SQLException {
39 |  |
             //do nothing
40 |  |
         }
41 |  |
42 |  |
         /**
43 |  |
          * @see java.sql.Statement#clearBatch()
44 |  |
          */
45 | 0 |
         public void clearBatch() throws SQLException {
46 |  |
             //do nothing
47 |  |
         }
48 |  |
49 |  |
         /**
50 |  |
          * @see java.sql.Statement#clearWarnings()
51 |  |
          */
52 | 0 |
         public void clearWarnings() throws SQLException {
53 |  |
             //do nothing
54 |  |
         }
55 |  |
56 |  |
         /**
57 |  |
          * @see java.sql.Statement#close()
58 |  |
          */
59 | 0 |
         public void close() throws SQLException {
60 |  |
             //do nothing
61 |  |
         }
62 |  |
63 |  |
         /**
64 |  |
          * @see java.sql.Statement#execute(java.lang.String, int)
65 |  |
          */
66 | 0 |
         public boolean execute(String sql, int autoGeneratedKeys)
67 |  |
                 throws SQLException {
68 | 0 |
             return false;
69 |  |
         }
70 |  |
71 |  |
         /**
72 |  |
          * @see java.sql.Statement#execute(java.lang.String, int[])
73 |  |
          */
74 | 0 |
         public boolean execute(String sql, int[] columnIndexes) throws SQLException {
75 | 0 |
             return false;
76 |  |
         }
77 |  |
78 |  |
         /**
79 |  |
          * @see java.sql.Statement#execute(java.lang.String, java.lang.String[])
80 |  |
          */
81 | 0 |
         public boolean execute(String sql, String[] columnNames)
82 |  |
                 throws SQLException {
83 | 0 |
             return false;
84 |  |
         }
85 |  |
86 |  |
         /**
87 |  |
          * @see java.sql.Statement#execute(java.lang.String)
88 |  |
          */
89 | 0 |
         public boolean execute(String sql) throws SQLException {
90 | 0 |
             return false;
91 |  |
         }
92 |  |
93 |  |
         /**
94 |  |
          * @see java.sql.Statement#executeBatch()
95 |  |
          */
96 | 0 |
         public int[] executeBatch() throws SQLException {
97 | 0 |
             return null;
98 |  |
         }
99 |  |
100 |  |
         /**
101 |  |
          * @see java.sql.Statement#executeQuery(java.lang.String)
102 |  |
          */
103 | 0 |
         public ResultSet executeQuery(String sql) throws SQLException {
104 | 0 |
             return null;
105 |  |
         }
106 |  |
107 |  |
         /**
108 |  |
          * @see java.sql.Statement#executeUpdate(java.lang.String, int)
109 |  |
          */
110 | 0 |
         public int executeUpdate(String sql, int autoGeneratedKeys)
111 |  |
                 throws SQLException {
112 | 0 |
             return 0;
113 |  |
         }
114 |  |
115 |  |
         /**
116 |  |
          * @see java.sql.Statement#executeUpdate(java.lang.String, int[])
117 |  |
          */
118 | 0 |
         public int executeUpdate(String sql, int[] columnIndexes)
119 |  |
                 throws SQLException {
120 | 0 |
             return 0;
121 |  |
         }
122 |  |
123 |  |
         /**
124 |  |
          * @see java.sql.Statement#executeUpdate(java.lang.String,
125 |  |
          *      java.lang.String[])
126 |  |
          */
127 | 0 |
         public int executeUpdate(String sql, String[] columnNames)
128 |  |
                 throws SQLException {
129 | 0 |
             return 0;
130 |  |
         }
131 |  |
132 |  |
         /**
133 |  |
          * @see java.sql.Statement#executeUpdate(java.lang.String)
134 |  |
          */
135 | 0 |
         public int executeUpdate(String sql) throws SQLException {
136 | 0 |
             return 0;
137 |  |
         }
138 |  |
139 |  |
         /**
140 |  |
          * @see java.sql.Statement#getConnection()
141 |  |
          */
142 | 0 |
         public Connection getConnection() throws SQLException {
143 | 0 |
             return null;
144 |  |
         }
145 |  |
146 |  |
         /**
147 |  |
          * @see java.sql.Statement#getFetchDirection()
148 |  |
          */
149 | 0 |
         public int getFetchDirection() throws SQLException {
150 | 0 |
             return 0;
151 |  |
         }
152 |  |
153 |  |
         /**
154 |  |
          * @see java.sql.Statement#getFetchSize()
155 |  |
          */
156 | 0 |
         public int getFetchSize() throws SQLException {
157 | 0 |
             return 0;
158 |  |
         }
159 |  |
160 |  |
         /**
161 |  |
          * @see java.sql.Statement#getGeneratedKeys()
162 |  |
          */
163 | 0 |
         public ResultSet getGeneratedKeys() throws SQLException {
164 | 0 |
             return null;
165 |  |
         }
166 |  |
167 |  |
         /**
168 |  |
          * @see java.sql.Statement#getMaxFieldSize()
169 |  |
          */
170 | 0 |
         public int getMaxFieldSize() throws SQLException {
171 | 0 |
             return 0;
172 |  |
         }
173 |  |
174 |  |
         /**
175 |  |
          * @see java.sql.Statement#getMaxRows()
176 |  |
          */
177 | 0 |
         public int getMaxRows() throws SQLException {
178 | 0 |
             return 0;
179 |  |
         }
180 |  |
181 |  |
         /**
182 |  |
          * @see java.sql.Statement#getMoreResults()
183 |  |
          */
184 | 0 |
         public boolean getMoreResults() throws SQLException {
185 | 0 |
             return false;
186 |  |
         }
187 |  |
188 |  |
         /**
189 |  |
          * @see java.sql.Statement#getMoreResults(int)
190 |  |
          */
191 | 0 |
         public boolean getMoreResults(int current) throws SQLException {
192 | 0 |
             return false;
193 |  |
         }
194 |  |
195 |  |
         /**
196 |  |
          * @see java.sql.Statement#getQueryTimeout()
197 |  |
          */
198 | 0 |
         public int getQueryTimeout() throws SQLException {
199 | 0 |
             return 0;
200 |  |
         }
201 |  |
202 |  |
         /**
203 |  |
          * @see java.sql.Statement#getResultSet()
204 |  |
          */
205 | 0 |
         public ResultSet getResultSet() throws SQLException {
206 | 0 |
             return null;
207 |  |
         }
208 |  |
209 |  |
         /**
210 |  |
          * @see java.sql.Statement#getResultSetConcurrency()
211 |  |
          */
212 | 0 |
         public int getResultSetConcurrency() throws SQLException {
213 | 0 |
             return 0;
214 |  |
         }
215 |  |
216 |  |
         /**
217 |  |
          * @see java.sql.Statement#getResultSetHoldability()
218 |  |
          */
219 | 0 |
         public int getResultSetHoldability() throws SQLException {
220 | 0 |
             return 0;
221 |  |
         }
222 |  |
223 |  |
         /**
224 |  |
          * @see java.sql.Statement#getResultSetType()
225 |  |
          */
226 | 0 |
         public int getResultSetType() throws SQLException {
227 | 0 |
             return 0;
228 |  |
         }
229 |  |
230 |  |
         /**
231 |  |
          * @see java.sql.Statement#getUpdateCount()
232 |  |
          */
233 | 0 |
         public int getUpdateCount() throws SQLException {
234 | 0 |
             return 0;
235 |  |
         }
236 |  |
237 |  |
         /**
238 |  |
          * @see java.sql.Statement#getWarnings()
239 |  |
          */
240 | 0 |
         public SQLWarning getWarnings() throws SQLException {
241 | 0 |
             return null;
242 |  |
         }
243 |  |
244 |  |
         /**
245 |  |
          * @see java.sql.Statement#setCursorName(java.lang.String)
246 |  |
          */
247 | 0 |
         public void setCursorName(String name) throws SQLException {
248 |  |
             //do nothing
249 |  |
         }
250 |  |
251 |  |
         /**
252 |  |
          * @see java.sql.Statement#setEscapeProcessing(boolean)
253 |  |
          */
254 | 0 |
         public void setEscapeProcessing(boolean enable) throws SQLException {
255 |  |
             //do nothing
256 |  |
         }
257 |  |
258 |  |
         /**
259 |  |
          * @see java.sql.Statement#setFetchDirection(int)
260 |  |
          */
261 | 0 |
         public void setFetchDirection(int direction) throws SQLException {
262 |  |
             //do nothing
263 |  |
         }
264 |  |
265 |  |
         /**
266 |  |
          * @see java.sql.Statement#setFetchSize(int)
267 |  |
          */
268 | 0 |
         public void setFetchSize(int rows) throws SQLException {
269 |  |
             //do nothing
270 |  |
         }
271 |  |
272 |  |
         /**
273 |  |
          * @see java.sql.Statement#setMaxFieldSize(int)
274 |  |
          */
275 | 0 |
         public void setMaxFieldSize(int max) throws SQLException {
276 |  |
             //do nothing
277 |  |
         }
278 |  |
279 |  |
         /**
280 |  |
          * @see java.sql.Statement#setMaxRows(int)
281 |  |
          */
282 | 0 |
         public void setMaxRows(int max) throws SQLException {
283 |  |
             //do nothing
284 |  |
         }
285 |  |
286 |  |
         /**
287 |  |
          * @see java.sql.Statement#setQueryTimeout(int)
288 |  |
          */
289 | 0 |
         public void setQueryTimeout(int seconds) throws SQLException {
290 |  |
             //do nothing
291 |  |
         }
292 |  |
293 |  |
     }