-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
29 additions
and
30 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
50 changes: 25 additions & 25 deletions
50
MiniTwit/src/test/java/dk/itu/minitwit/MiniTwitApplicationTests.java
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 |
---|---|---|
@@ -1,29 +1,29 @@ | ||
package dk.itu.minitwit; | ||
|
||
import dk.itu.minitwit.database.SQLite; | ||
import dk.itu.minitwit.domain.SimData; | ||
import org.junit.jupiter.api.Test; | ||
import org.springframework.boot.test.context.SpringBootTest; | ||
|
||
import java.sql.SQLException; | ||
|
||
@SpringBootTest | ||
class MiniTwitApplicationTests { | ||
//package dk.itu.minitwit; | ||
// | ||
// @Test | ||
// void contextLoads() { | ||
//import dk.itu.minitwit.database.SQLite; | ||
//import dk.itu.minitwit.domain.SimData; | ||
//import org.junit.jupiter.api.Test; | ||
//import org.springframework.boot.test.context.SpringBootTest; | ||
// | ||
// } | ||
//import java.sql.SQLException; | ||
// | ||
// @Test | ||
// void simInsertWorksAsIntended () throws SQLException, ClassNotFoundException { | ||
// SQLite sql = new SQLite(); | ||
// SimData data = new SimData(); | ||
// data.setContent("asd dsa "); | ||
//@SpringBootTest | ||
//class MiniTwitApplicationTests { | ||
//// | ||
//// @Test | ||
//// void contextLoads() { | ||
//// | ||
//// } | ||
//// | ||
//// @Test | ||
//// void simInsertWorksAsIntended () throws SQLException, ClassNotFoundException { | ||
//// SQLite sql = new SQLite(); | ||
//// SimData data = new SimData(); | ||
//// data.setContent("asd dsa "); | ||
//// | ||
//// sql.insertMessage(1, data); | ||
//// } | ||
// | ||
// sql.insertMessage(1, data); | ||
// } | ||
|
||
|
||
|
||
} | ||
// | ||
// | ||
//} |