Change package name from org.github.tursodatabase to tech.turso

This commit is contained in:
김선우 2025-02-12 09:58:25 +09:00
parent ebceefacde
commit cb7bd3d211
46 changed files with 128 additions and 128 deletions

View file

@ -29,7 +29,7 @@ Now you can use the dependency as follows:
```kotlin
dependencies {
implementation("org.github.tursodatabase:limbo:0.0.1-SNAPSHOT")
implementation("tech.turso:limbo:0.0.1-SNAPSHOT")
}
```

View file

@ -26,7 +26,7 @@ publishing {
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])
groupId = "org.github.tursodatabase"
groupId = "tech.turso"
artifactId = "limbo"
version = "0.0.1-SNAPSHOT"
}
@ -126,10 +126,10 @@ tasks.withType<JavaCompile> {
disableAllChecks = true
check("NullAway", CheckSeverity.ERROR)
option("NullAway:AnnotatedPackages", "org.github.tursodatabase")
option("NullAway:AnnotatedPackages", "tech.turso")
option(
"NullAway:CustomNullableAnnotations",
"org.github.tursodatabase.annotations.Nullable,org.github.tursodatabase.annotations.SkipNullableCheck"
"tech.turso.annotations.Nullable,tech.turso.annotations.SkipNullableCheck"
)
}
if (name.lowercase().contains("test")) {

View file

@ -2,7 +2,7 @@ plugins {
id("java")
}
group = "org.github.tursodatabase"
group = "tech.turso"
version = "1.0-SNAPSHOT"
repositories {
@ -11,7 +11,7 @@ repositories {
}
dependencies {
implementation("org.github.tursodatabase:limbo:0.0.1-SNAPSHOT")
implementation("tech.turso:limbo:0.0.1-SNAPSHOT")
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
}
@ -23,5 +23,5 @@ tasks.test {
tasks.register<JavaExec>("run") {
group = "application"
classpath = sourceSets["main"].runtimeClasspath
mainClass.set("org.github.tursodatabase.Main")
mainClass.set("tech.turso.Main")
}

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase;
package tech.turso;
import java.sql.Connection;
import java.sql.DriverManager;

View file

@ -1,2 +1,2 @@
projectGroup="org.github.tursodatabase"
projectGroup="tech.turso"
projectVersion=0.0.1-SNAPSHOT

View file

@ -42,7 +42,7 @@ pub fn to_limbo_connection(ptr: jlong) -> Result<&'static mut LimboConnection> {
}
#[no_mangle]
pub extern "system" fn Java_org_github_tursodatabase_core_LimboConnection__1close<'local>(
pub extern "system" fn Java_tech_turso_core_LimboConnection__1close<'local>(
_env: JNIEnv<'local>,
_obj: JObject<'local>,
connection_ptr: jlong,
@ -51,7 +51,7 @@ pub extern "system" fn Java_org_github_tursodatabase_core_LimboConnection__1clos
}
#[no_mangle]
pub extern "system" fn Java_org_github_tursodatabase_core_LimboConnection_prepareUtf8<'local>(
pub extern "system" fn Java_tech_turso_core_LimboConnection_prepareUtf8<'local>(
mut env: JNIEnv<'local>,
obj: JObject<'local>,
connection_ptr: jlong,

View file

@ -36,7 +36,7 @@ fn to_limbo_db(ptr: jlong) -> Result<&'static mut LimboDB> {
#[no_mangle]
#[allow(clippy::arc_with_non_send_sync)]
pub extern "system" fn Java_org_github_tursodatabase_core_LimboDB_openUtf8<'local>(
pub extern "system" fn Java_tech_turso_core_LimboDB_openUtf8<'local>(
mut env: JNIEnv<'local>,
obj: JObject<'local>,
file_path_byte_arr: JByteArray<'local>,
@ -79,7 +79,7 @@ pub extern "system" fn Java_org_github_tursodatabase_core_LimboDB_openUtf8<'loca
}
#[no_mangle]
pub extern "system" fn Java_org_github_tursodatabase_core_LimboDB_connect0<'local>(
pub extern "system" fn Java_tech_turso_core_LimboDB_connect0<'local>(
mut env: JNIEnv<'local>,
obj: JObject<'local>,
db_pointer: jlong,
@ -97,7 +97,7 @@ pub extern "system" fn Java_org_github_tursodatabase_core_LimboDB_connect0<'loca
}
#[no_mangle]
pub extern "system" fn Java_org_github_tursodatabase_core_LimboDB_close0<'local>(
pub extern "system" fn Java_tech_turso_core_LimboDB_close0<'local>(
_env: JNIEnv<'local>,
_obj: JObject<'local>,
db_pointer: jlong,
@ -106,7 +106,7 @@ pub extern "system" fn Java_org_github_tursodatabase_core_LimboDB_close0<'local>
}
#[no_mangle]
pub extern "system" fn Java_org_github_tursodatabase_core_LimboDB_throwJavaException<'local>(
pub extern "system" fn Java_tech_turso_core_LimboDB_throwJavaException<'local>(
mut env: JNIEnv<'local>,
obj: JObject<'local>,
error_code: jint,

View file

@ -44,7 +44,7 @@ pub fn to_limbo_statement(ptr: jlong) -> Result<&'static mut LimboStatement> {
}
#[no_mangle]
pub extern "system" fn Java_org_github_tursodatabase_core_LimboStatement_step<'local>(
pub extern "system" fn Java_tech_turso_core_LimboStatement_step<'local>(
mut env: JNIEnv<'local>,
obj: JObject<'local>,
stmt_ptr: jlong,
@ -90,7 +90,7 @@ pub extern "system" fn Java_org_github_tursodatabase_core_LimboStatement_step<'l
}
#[no_mangle]
pub extern "system" fn Java_org_github_tursodatabase_core_LimboStatement__1close<'local>(
pub extern "system" fn Java_tech_turso_core_LimboStatement__1close<'local>(
_env: JNIEnv<'local>,
_obj: JObject<'local>,
stmt_ptr: jlong,
@ -126,7 +126,7 @@ fn row_to_obj_array<'local>(
}
#[no_mangle]
pub extern "system" fn Java_org_github_tursodatabase_core_LimboStatement_columns<'local>(
pub extern "system" fn Java_tech_turso_core_LimboStatement_columns<'local>(
mut env: JNIEnv<'local>,
_obj: JObject<'local>,
stmt_ptr: jlong,
@ -148,7 +148,7 @@ pub extern "system" fn Java_org_github_tursodatabase_core_LimboStatement_columns
}
#[no_mangle]
pub extern "system" fn Java_org_github_tursodatabase_core_LimboStatement_bindNull<'local>(
pub extern "system" fn Java_tech_turso_core_LimboStatement_bindNull<'local>(
mut env: JNIEnv<'local>,
obj: JObject<'local>,
stmt_ptr: jlong,
@ -168,7 +168,7 @@ pub extern "system" fn Java_org_github_tursodatabase_core_LimboStatement_bindNul
}
#[no_mangle]
pub extern "system" fn Java_org_github_tursodatabase_core_LimboStatement_bindLong<'local>(
pub extern "system" fn Java_tech_turso_core_LimboStatement_bindLong<'local>(
mut env: JNIEnv<'local>,
obj: JObject<'local>,
stmt_ptr: jlong,
@ -191,7 +191,7 @@ pub extern "system" fn Java_org_github_tursodatabase_core_LimboStatement_bindLon
}
#[no_mangle]
pub extern "system" fn Java_org_github_tursodatabase_core_LimboStatement_bindDouble<'local>(
pub extern "system" fn Java_tech_turso_core_LimboStatement_bindDouble<'local>(
mut env: JNIEnv<'local>,
obj: JObject<'local>,
stmt_ptr: jlong,
@ -214,7 +214,7 @@ pub extern "system" fn Java_org_github_tursodatabase_core_LimboStatement_bindDou
}
#[no_mangle]
pub extern "system" fn Java_org_github_tursodatabase_core_LimboStatement_bindText<'local>(
pub extern "system" fn Java_tech_turso_core_LimboStatement_bindText<'local>(
mut env: JNIEnv<'local>,
obj: JObject<'local>,
stmt_ptr: jlong,
@ -242,7 +242,7 @@ pub extern "system" fn Java_org_github_tursodatabase_core_LimboStatement_bindTex
}
#[no_mangle]
pub extern "system" fn Java_org_github_tursodatabase_core_LimboStatement_bindBlob<'local>(
pub extern "system" fn Java_tech_turso_core_LimboStatement_bindBlob<'local>(
mut env: JNIEnv<'local>,
obj: JObject<'local>,
stmt_ptr: jlong,
@ -294,13 +294,13 @@ fn to_limbo_step_result<'local>(
if let Some(res) = result {
ctor_args.push(JValue::Object(&res));
env.new_object(
"org/github/tursodatabase/core/LimboStepResult",
"tech/turso/core/LimboStepResult",
"(I[Ljava/lang/Object;)V",
&ctor_args,
)
} else {
env.new_object(
"org/github/tursodatabase/core/LimboStepResult",
"tech/turso/core/LimboStepResult",
"(I)V",
&ctor_args,
)

View file

@ -23,7 +23,7 @@ pub(crate) fn utf8_byte_arr_to_str(
/// # Parameters
/// - `env`: The JNI environment.
/// - `obj`: The Java object on which the exception will be thrown.
/// - `err_code`: The error code corresponding to the exception. Refer to `org.github.tursodatabase.core.Codes` for the list of error codes.
/// - `err_code`: The error code corresponding to the exception. Refer to `tech.turso.core.Codes` for the list of error codes.
/// - `err_msg`: The error message to be included in the exception.
///
/// # Example

View file

@ -1,13 +1,13 @@
package org.github.tursodatabase;
package tech.turso;
import java.sql.*;
import java.util.Locale;
import java.util.Properties;
import org.github.tursodatabase.annotations.Nullable;
import org.github.tursodatabase.annotations.SkipNullableCheck;
import org.github.tursodatabase.jdbc4.JDBC4Connection;
import org.github.tursodatabase.utils.Logger;
import org.github.tursodatabase.utils.LoggerFactory;
import tech.turso.annotations.Nullable;
import tech.turso.annotations.SkipNullableCheck;
import tech.turso.jdbc4.JDBC4Connection;
import tech.turso.utils.Logger;
import tech.turso.utils.LoggerFactory;
public class JDBC implements Driver {
private static final Logger logger = LoggerFactory.getLogger(JDBC.class);

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase;
package tech.turso;
import java.sql.DriverPropertyInfo;
import java.util.Arrays;

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase;
package tech.turso;
import java.io.PrintWriter;
import java.sql.Connection;
@ -7,8 +7,8 @@ import java.sql.SQLFeatureNotSupportedException;
import java.util.Properties;
import java.util.logging.Logger;
import javax.sql.DataSource;
import org.github.tursodatabase.annotations.Nullable;
import org.github.tursodatabase.annotations.SkipNullableCheck;
import tech.turso.annotations.Nullable;
import tech.turso.annotations.SkipNullableCheck;
/** Provides {@link DataSource} API for configuring Limbo database connection. */
public class LimboDataSource implements DataSource {

View file

@ -1,6 +1,6 @@
package org.github.tursodatabase;
package tech.turso;
import org.github.tursodatabase.core.SqliteCode;
import tech.turso.core.SqliteCode;
/** Limbo error code. Superset of SQLite3 error code. */
public enum LimboErrorCode {

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase.annotations;
package tech.turso.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase.annotations;
package tech.turso.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase.annotations;
package tech.turso.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase.annotations;
package tech.turso.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;

View file

@ -1,14 +1,14 @@
package org.github.tursodatabase.core;
package tech.turso.core;
import static org.github.tursodatabase.utils.ByteArrayUtils.stringToUtf8ByteArray;
import static tech.turso.utils.ByteArrayUtils.stringToUtf8ByteArray;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Properties;
import org.github.tursodatabase.annotations.NativeInvocation;
import org.github.tursodatabase.utils.LimboExceptionUtils;
import org.github.tursodatabase.utils.Logger;
import org.github.tursodatabase.utils.LoggerFactory;
import tech.turso.annotations.NativeInvocation;
import tech.turso.utils.LimboExceptionUtils;
import tech.turso.utils.Logger;
import tech.turso.utils.LoggerFactory;
public class LimboConnection {
private static final Logger logger = LoggerFactory.getLogger(LimboConnection.class);

View file

@ -1,18 +1,18 @@
package org.github.tursodatabase.core;
package tech.turso.core;
import static org.github.tursodatabase.utils.ByteArrayUtils.stringToUtf8ByteArray;
import static tech.turso.utils.ByteArrayUtils.stringToUtf8ByteArray;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.sql.SQLException;
import org.github.tursodatabase.LimboErrorCode;
import org.github.tursodatabase.annotations.NativeInvocation;
import org.github.tursodatabase.annotations.VisibleForTesting;
import org.github.tursodatabase.utils.LimboExceptionUtils;
import org.github.tursodatabase.utils.Logger;
import org.github.tursodatabase.utils.LoggerFactory;
import tech.turso.LimboErrorCode;
import tech.turso.annotations.NativeInvocation;
import tech.turso.annotations.VisibleForTesting;
import tech.turso.utils.LimboExceptionUtils;
import tech.turso.utils.Logger;
import tech.turso.utils.LoggerFactory;
/** This class provides a thin JNI layer over the SQLite3 C API. */
public final class LimboDB implements AutoCloseable {

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase.core;
package tech.turso.core;
import java.sql.SQLException;
import java.util.Properties;

View file

@ -1,10 +1,10 @@
package org.github.tursodatabase.core;
package tech.turso.core;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.github.tursodatabase.annotations.Nullable;
import org.github.tursodatabase.utils.Logger;
import org.github.tursodatabase.utils.LoggerFactory;
import tech.turso.annotations.Nullable;
import tech.turso.utils.Logger;
import tech.turso.utils.LoggerFactory;
/**
* A table of data representing limbo database result set, which is generated by executing a

View file

@ -1,11 +1,11 @@
package org.github.tursodatabase.core;
package tech.turso.core;
import java.sql.SQLException;
import org.github.tursodatabase.annotations.NativeInvocation;
import org.github.tursodatabase.annotations.Nullable;
import org.github.tursodatabase.utils.LimboExceptionUtils;
import org.github.tursodatabase.utils.Logger;
import org.github.tursodatabase.utils.LoggerFactory;
import tech.turso.annotations.NativeInvocation;
import tech.turso.annotations.Nullable;
import tech.turso.utils.LimboExceptionUtils;
import tech.turso.utils.Logger;
import tech.turso.utils.LoggerFactory;
/**
* By default, only one <code>resultSet</code> object per <code>LimboStatement</code> can be open at

View file

@ -1,8 +1,8 @@
package org.github.tursodatabase.core;
package tech.turso.core;
import java.util.Arrays;
import org.github.tursodatabase.annotations.NativeInvocation;
import org.github.tursodatabase.annotations.Nullable;
import tech.turso.annotations.NativeInvocation;
import tech.turso.annotations.Nullable;
/** Represents the step result of limbo's statement's step function. */
public class LimboStepResult {

View file

@ -13,7 +13,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
package org.github.tursodatabase.core;
package tech.turso.core;
/** Sqlite error codes. */
public class SqliteCode {

View file

@ -1,7 +1,7 @@
package org.github.tursodatabase.exceptions;
package tech.turso.exceptions;
import java.sql.SQLException;
import org.github.tursodatabase.LimboErrorCode;
import tech.turso.LimboErrorCode;
public class LimboException extends SQLException {
private final LimboErrorCode resultCode;

View file

@ -1,13 +1,13 @@
package org.github.tursodatabase.jdbc4;
package tech.turso.jdbc4;
import java.sql.*;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import java.util.concurrent.Executor;
import org.github.tursodatabase.annotations.SkipNullableCheck;
import org.github.tursodatabase.core.LimboConnection;
import org.github.tursodatabase.core.LimboStatement;
import tech.turso.annotations.SkipNullableCheck;
import tech.turso.core.LimboConnection;
import tech.turso.core.LimboStatement;
public class JDBC4Connection implements Connection {

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase.jdbc4;
package tech.turso.jdbc4;
import java.io.IOException;
import java.io.InputStream;
@ -10,10 +10,10 @@ import java.sql.RowIdLifetime;
import java.sql.SQLException;
import java.sql.SQLFeatureNotSupportedException;
import java.util.Properties;
import org.github.tursodatabase.annotations.Nullable;
import org.github.tursodatabase.annotations.SkipNullableCheck;
import org.github.tursodatabase.utils.Logger;
import org.github.tursodatabase.utils.LoggerFactory;
import tech.turso.annotations.Nullable;
import tech.turso.annotations.SkipNullableCheck;
import tech.turso.utils.Logger;
import tech.turso.utils.LoggerFactory;
public class JDBC4DatabaseMetaData implements DatabaseMetaData {

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase.jdbc4;
package tech.turso.jdbc4;
import static java.util.Objects.requireNonNull;
@ -22,8 +22,8 @@ import java.sql.SQLXML;
import java.sql.Time;
import java.sql.Timestamp;
import java.util.Calendar;
import org.github.tursodatabase.annotations.SkipNullableCheck;
import org.github.tursodatabase.core.LimboResultSet;
import tech.turso.annotations.SkipNullableCheck;
import tech.turso.core.LimboResultSet;
public class JDBC4PreparedStatement extends JDBC4Statement implements PreparedStatement {

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase.jdbc4;
package tech.turso.jdbc4;
import java.io.InputStream;
import java.io.Reader;
@ -22,9 +22,9 @@ import java.sql.Time;
import java.sql.Timestamp;
import java.util.Calendar;
import java.util.Map;
import org.github.tursodatabase.annotations.Nullable;
import org.github.tursodatabase.annotations.SkipNullableCheck;
import org.github.tursodatabase.core.LimboResultSet;
import tech.turso.annotations.Nullable;
import tech.turso.annotations.SkipNullableCheck;
import tech.turso.core.LimboResultSet;
public class JDBC4ResultSet implements ResultSet {

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase.jdbc4;
package tech.turso.jdbc4;
import static java.util.Objects.requireNonNull;
@ -8,10 +8,10 @@ import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.Statement;
import java.util.concurrent.locks.ReentrantLock;
import org.github.tursodatabase.annotations.Nullable;
import org.github.tursodatabase.annotations.SkipNullableCheck;
import org.github.tursodatabase.core.LimboResultSet;
import org.github.tursodatabase.core.LimboStatement;
import tech.turso.annotations.Nullable;
import tech.turso.annotations.SkipNullableCheck;
import tech.turso.core.LimboResultSet;
import tech.turso.core.LimboStatement;
public class JDBC4Statement implements Statement {

View file

@ -1,7 +1,7 @@
package org.github.tursodatabase.utils;
package tech.turso.utils;
import java.nio.charset.StandardCharsets;
import org.github.tursodatabase.annotations.Nullable;
import tech.turso.annotations.Nullable;
public class ByteArrayUtils {
@Nullable

View file

@ -1,11 +1,11 @@
package org.github.tursodatabase.utils;
package tech.turso.utils;
import static org.github.tursodatabase.utils.ByteArrayUtils.utf8ByteBufferToString;
import static tech.turso.utils.ByteArrayUtils.utf8ByteBufferToString;
import java.sql.SQLException;
import org.github.tursodatabase.LimboErrorCode;
import org.github.tursodatabase.annotations.Nullable;
import org.github.tursodatabase.exceptions.LimboException;
import tech.turso.LimboErrorCode;
import tech.turso.annotations.Nullable;
import tech.turso.exceptions.LimboException;
public class LimboExceptionUtils {
/**

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase.utils;
package tech.turso.utils;
/** A simple internal Logger interface. */
public interface Logger {

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase.utils;
package tech.turso.utils;
import java.util.logging.Level;

View file

@ -1 +1 @@
org.github.tursodatabase.JDBC
tech.turso.JDBC

View file

@ -1,12 +1,12 @@
package org.github.tursodatabase;
package tech.turso;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Properties;
import org.github.tursodatabase.jdbc4.JDBC4Connection;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import tech.turso.jdbc4.JDBC4Connection;
public class IntegrationTest {

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase;
package tech.turso;
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
@ -6,8 +6,8 @@ import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Properties;
import org.github.tursodatabase.jdbc4.JDBC4Connection;
import org.junit.jupiter.api.Test;
import tech.turso.jdbc4.JDBC4Connection;
class JDBCTest {

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase;
package tech.turso;
import java.io.IOException;
import java.nio.file.Files;

View file

@ -1,11 +1,11 @@
package org.github.tursodatabase.core;
package tech.turso.core;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import java.util.Properties;
import org.github.tursodatabase.TestUtils;
import org.junit.jupiter.api.Test;
import tech.turso.TestUtils;
class LimboDBFactoryTest {

View file

@ -1,14 +1,14 @@
package org.github.tursodatabase.core;
package tech.turso.core;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.junit.jupiter.api.Assertions.assertFalse;
import java.sql.SQLException;
import org.github.tursodatabase.LimboErrorCode;
import org.github.tursodatabase.TestUtils;
import org.github.tursodatabase.exceptions.LimboException;
import org.junit.jupiter.api.Test;
import tech.turso.LimboErrorCode;
import tech.turso.TestUtils;
import tech.turso.exceptions.LimboException;
public class LimboDBTest {

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase.core;
package tech.turso.core;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
@ -7,10 +7,10 @@ import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.Properties;
import org.github.tursodatabase.TestUtils;
import org.github.tursodatabase.jdbc4.JDBC4Connection;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import tech.turso.TestUtils;
import tech.turso.jdbc4.JDBC4Connection;
class LimboStatementTest {

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase.jdbc4;
package tech.turso.jdbc4;
import static org.junit.jupiter.api.Assertions.*;
@ -6,9 +6,9 @@ import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Properties;
import org.github.tursodatabase.TestUtils;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import tech.turso.TestUtils;
class JDBC4ConnectionTest {

View file

@ -1,11 +1,11 @@
package org.github.tursodatabase.jdbc4;
package tech.turso.jdbc4;
import static org.junit.jupiter.api.Assertions.assertFalse;
import java.util.Properties;
import org.github.tursodatabase.TestUtils;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import tech.turso.TestUtils;
class JDBC4DatabaseMetaDataTest {

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase.jdbc4;
package tech.turso.jdbc4;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
@ -10,9 +10,9 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Properties;
import org.github.tursodatabase.TestUtils;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import tech.turso.TestUtils;
class JDBC4PreparedStatementTest {

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase.jdbc4;
package tech.turso.jdbc4;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
@ -14,11 +14,11 @@ import java.sql.SQLException;
import java.sql.Statement;
import java.util.Properties;
import java.util.stream.Stream;
import org.github.tursodatabase.TestUtils;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
import tech.turso.TestUtils;
class JDBC4ResultSetTest {

View file

@ -1,4 +1,4 @@
package org.github.tursodatabase.jdbc4;
package tech.turso.jdbc4;
import static org.junit.jupiter.api.Assertions.*;
@ -6,10 +6,10 @@ import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Properties;
import org.github.tursodatabase.TestUtils;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import tech.turso.TestUtils;
class JDBC4StatementTest {