Skip to content

Commit

Permalink
Polish.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-simons committed Mar 13, 2024
1 parent 39549b4 commit 1df1165
Show file tree
Hide file tree
Showing 30 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
<artifactId>neo4j-jdbc-it</artifactId>
<version>6.0.0-SNAPSHOT</version>
</parent>
<artifactId>neo4j-jdbc-stub-it</artifactId>
<artifactId>neo4j-jdbc-it-stub</artifactId>

<name>Neo4j JDBC Driver Stub IT</name>
<name>Neo4j JDBC Driver (IT w/ stub server)</name>
<description>Integration tests using the stub server.</description>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.neo4j.jdbc.stub.it;
package org.neo4j.jdbc.it.stub;

import java.sql.SQLException;

import org.junit.jupiter.api.Test;
import org.neo4j.jdbc.stub.it.server.IntegrationTestBase;
import org.neo4j.jdbc.stub.it.server.StubScript;
import org.neo4j.jdbc.it.stub.server.IntegrationTestBase;
import org.neo4j.jdbc.it.stub.server.StubScript;

import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.neo4j.jdbc.stub.it.server;
package org.neo4j.jdbc.it.stub.server;

import java.sql.Connection;
import java.sql.DriverManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.neo4j.jdbc.stub.it.server;
package org.neo4j.jdbc.it.stub.server;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.neo4j.jdbc.stub.it.server;
package org.neo4j.jdbc.it.stub.server;

record StubScriptConfig(String path) {
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.neo4j.jdbc.stub.it.server;
package org.neo4j.jdbc.it.stub.server;

import org.junit.jupiter.api.extension.ExtensionContext;
import org.junit.jupiter.api.extension.ParameterContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.neo4j.jdbc.stub.it.server;
package org.neo4j.jdbc.it.stub.server;

import java.io.Serial;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.neo4j.jdbc.stub.it.server;
package org.neo4j.jdbc.it.stub.server;

import org.junit.jupiter.api.extension.ExtensionContext;
import org.junit.jupiter.api.extension.TestExecutionExceptionHandler;
Expand Down
2 changes: 1 addition & 1 deletion neo4j-jdbc-it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<description>Parent project for the integration tests</description>

<modules>
<module>neo4j-jdbc-stub-it</module>
<module>neo4j-jdbc-it-stub</module>
<module>neo4j-jdbc-it-cp</module>
<module>neo4j-jdbc-it-mp</module>
<module>spring-boot-smoke-tests</module>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ public void abort(Executor ignored) throws SQLException {
public void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException {
assertIsOpen();
if (milliseconds < 0) {
throw new SQLException("The network timeout must not be negative.");
throw new SQLException("The network timeout must not be negative");
}
this.networkTimeout = milliseconds;
if (milliseconds == 0) {
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@
<exclude>**/*.conf</exclude>
<exclude>**/*.csv</exclude>
<exclude>**/*.cypher</exclude>
<exclude>**/*.script</exclude>
<exclude>**/*.tpl</exclude>
<exclude>**/.env</exclude>
<exclude>**/org.mockito.plugins.MockMaker</exclude>
Expand Down

0 comments on commit 1df1165

Please sign in to comment.