Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
package io.jenkins.plugins.postgresqlapi;

import static org.hamcrest.MatcherAssert.assertThat;

import org.junit.jupiter.api.Test;
import static org.hamcrest.CoreMatchers.*;
import org.junit.Test;

public class ClasspathTest {
class ClasspathTest {

@Test
public void testClasspath() throws ClassNotFoundException {
void testClasspath() throws ClassNotFoundException {
assertThat(Class.forName("org.postgresql.Driver"), notNullValue());
}

@Test
public void testDriver() {
void testDriver() {
org.postgresql.Driver driver = new org.postgresql.Driver();
assertThat(driver.acceptsURL("jdbc:postgresql://localhost/postgres"), is(true));
}
Expand Down