generated from processing/processing-library-template-ant
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented testGetSQLConnection JUnit 5 testing
- Loading branch information
Showing
7 changed files
with
76 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/samuelal/ |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
package samuelal.squelized; | ||
|
||
import static org.junit.jupiter.api.Assertions.*; | ||
|
||
import java.util.Properties; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
class SQLConnectionTest { | ||
|
||
@Test | ||
void testGetSQLConnection() { | ||
Properties mySqlProps = new Properties(); | ||
mySqlProps.setProperty("user", "root"); | ||
mySqlProps.setProperty("password", "1234"); | ||
mySqlProps.setProperty("useUnicode", "true"); | ||
mySqlProps.setProperty("useJDBCCompliantTimezoneShift", "true"); | ||
mySqlProps.setProperty("useLegacyDatetimecode", "true"); | ||
mySqlProps.setProperty("serverTimezone", "UTC"); | ||
SQLConnection mysql = new MySQLConnection("jdbc:mysql://localhost:3306/squelized_test", mySqlProps); | ||
} | ||
|
||
@Test | ||
void testGetDatabaseType() { | ||
fail("Not yet implemented"); // TODO | ||
} | ||
|
||
@Test | ||
void testRunQuery() { | ||
fail("Not yet implemented"); // TODO | ||
} | ||
|
||
@Test | ||
void testGetTable() { | ||
fail("Not yet implemented"); // TODO | ||
} | ||
|
||
@Test | ||
void testGetColumn() { | ||
fail("Not yet implemented"); // TODO | ||
} | ||
|
||
@Test | ||
void testGetColumns() { | ||
fail("Not yet implemented"); // TODO | ||
} | ||
|
||
} |