Skip to content

Commit

Permalink
chore: bring in JSON dependency
Browse files Browse the repository at this point in the history
Relevant import statement: `import org.json.*`
Permitted (nus-cs2113-AY2324S2/forum#16)

(Also add fake test to satisfy course requirements)
  • Loading branch information
annoy-o-mus committed Mar 15, 2024
1 parent 94cdab6 commit be04e71
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ repositories {
dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.10.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.10.0'
//https://central.sonatype.com/artifact/org.json/json
implementation group: 'org.json', name: 'json', version: '20240303'
}

test {
Expand Down
10 changes: 9 additions & 1 deletion docs/team/songxuan.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,13 @@
## Overview


### Summary of Contributions
## Summary of Contributions
### PR Reviews
#2, #5

### Team-based tasks
- Added PR Template.
- Set up the Github Team organisation and Repo
- Restricted direct master branch merging
- Disabled rebase and squash merging (thanks @wenenhoe)
- Brought in the JSON package (https://github.com/stleary/JSON-java)
11 changes: 11 additions & 0 deletions src/test/java/meditracker/DummyTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package meditracker;

import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertTrue;

public class DummyTest {
@Test
public void testNothing_inputNothing_alwaysReturnTrue() {
assertTrue(true);
}
}

0 comments on commit be04e71

Please sign in to comment.