File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
vertx-oracle-client/src/test/java/io/vertx/oracleclient/test/tck Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2011-2021 Contributors to the Eclipse Foundation
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
7
+ * which is available at https://www.apache.org/licenses/LICENSE-2.0.
8
+ *
9
+ * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
10
+ */
11
+ package io .vertx .oracleclient .test .tck ;
12
+
13
+ import io .vertx .ext .unit .junit .VertxUnitRunner ;
14
+ import io .vertx .oracleclient .test .junit .OracleRule ;
15
+ import io .vertx .sqlclient .tck .NullValueEncodeTestBase ;
16
+ import org .junit .ClassRule ;
17
+ import org .junit .runner .RunWith ;
18
+
19
+ @ RunWith (VertxUnitRunner .class )
20
+ public class OracleNullValueEncodeTest extends NullValueEncodeTestBase {
21
+
22
+ @ ClassRule
23
+ public static OracleRule rule = OracleRule .SHARED_INSTANCE ;
24
+
25
+ @ Override
26
+ protected void initConnector () {
27
+ connector = ClientConfig .POOLED .connect (vertx , rule .options ());
28
+ }
29
+
30
+ @ Override
31
+ protected String statement (String ... parts ) {
32
+ return "SELECT ? FROM dual" ;
33
+ }
34
+ }
You can’t perform that action at this time.
0 commit comments