Skip to content

Commit

Permalink
fixing maven
Browse files Browse the repository at this point in the history
also adding private constructors to the classes that aren't meant to be constructed
  • Loading branch information
11BelowStudio committed Feb 28, 2024
1 parent e80053b commit 01b735a
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>RELEASE</version>
<version>5.10.2</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
9 changes: 8 additions & 1 deletion src/hecc_up/HeccUpTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
*/
public class HeccUpTests {

/**
* don't construct this.
*/
private HeccUpTests(){}

/**
* Testing the 'HECCSample'; seeing if it'll output the appropriate .hecc file.
*/
Expand Down Expand Up @@ -621,7 +626,9 @@ String getLoggedString(){
/**
* Some constants for use in the tests.
*/
private static class HeccUpTestConstants{
private enum HeccUpTestConstants{

;

/**
* The 'HeccSample.hecc' file, except just a string.
Expand Down
5 changes: 5 additions & 0 deletions src/hecc_up/gameParts/MetadataTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
*/
public class MetadataTests {

/**
* don't construct this.
*/
private MetadataTests(){}

/**
* Tests some valid metadata
*/
Expand Down
5 changes: 5 additions & 0 deletions src/hecc_up/gameParts/VariableTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
*/
public class VariableTests {

/**
* don't construct this.
*/
private VariableTests(){}

/**
* tests the name of a variable
*/
Expand Down
5 changes: 5 additions & 0 deletions src/oh_hecc/OhHeccParserTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
*/
public class OhHeccParserTest {

/**
* don't construct this.
*/
private OhHeccParserTest(){}

/**
* Just testing a valid .hecc file, no trickery or anything here (evaluating correctness via passage names)
*/
Expand Down
5 changes: 5 additions & 0 deletions src/oh_hecc/game_parts/GameDataObjectTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
*/
public class GameDataObjectTests {

/**
* don't construct this.
*/
private GameDataObjectTests(){}

/**
* Basically making sure the gamedataobject is as it should be without doing anything weird to it
*/
Expand Down
6 changes: 6 additions & 0 deletions src/oh_hecc/game_parts/metadata/EditableMetadataTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
*/
public class EditableMetadataTests {


/**
* don't construct this.
*/
private EditableMetadataTests(){}

/**
* This is mostly here to test the initial constructor for the EditableMetadata
*/
Expand Down
5 changes: 5 additions & 0 deletions src/oh_hecc/game_parts/passage/EditablePassageTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
*/
public class EditablePassageTest {

/**
* don't construct this.
*/
private EditablePassageTest(){}

/**
* testing to see if I can set up a sample passage
*/
Expand Down
4 changes: 4 additions & 0 deletions src/oh_hecc/game_parts/passage/OutputtablePassageTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
*/
public class OutputtablePassageTest {

/**
* don't construct this.
*/
private OutputtablePassageTest(){}

/**
* Making sure this constructor works as expected
Expand Down
4 changes: 4 additions & 0 deletions src/utilities/ImageManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
*/
public class ImageManager {

/**
* don't construct this.
*/
private ImageManager(){}

/**
* The location of the directory holding the images within /src.
Expand Down
5 changes: 5 additions & 0 deletions src/utilities/TextAssetReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
*/
public class TextAssetReader {

/**
* don't construct this.
*/
private TextAssetReader(){}

/**
* where the static textAssets are stored (src/assets/textAssets)
*/
Expand Down

0 comments on commit 01b735a

Please sign in to comment.