-
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.
Added Test classes WaveFactoryTest, LevelWavesTest and WaveClassTest …
…to aid in testing of the waves feature.
- Loading branch information
1 parent
251b0a6
commit 6e056bc
Showing
4 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
source/core/src/test/com/csse3200/game/components/tasks/waves/LevelWavesTest.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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.csse3200.game.components.tasks.waves; | ||
|
||
import com.csse3200.game.areas.ForestGameArea; | ||
import com.csse3200.game.extensions.GameExtension; | ||
import com.csse3200.game.services.GameTime; | ||
import org.junit.jupiter.api.BeforeEach; | ||
import org.junit.jupiter.api.extension.ExtendWith; | ||
import org.mockito.junit.jupiter.MockitoExtension; | ||
|
||
import static org.mockito.Mockito.mock; | ||
import static org.mockito.Mockito.when; | ||
|
||
@ExtendWith(GameExtension.class) | ||
@ExtendWith(MockitoExtension.class) | ||
class LevelWavesTest { | ||
|
||
@BeforeEach | ||
void setUp() { | ||
|
||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
source/core/src/test/com/csse3200/game/components/tasks/waves/WaveClassTest.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.csse3200.game.components.tasks.waves; | ||
|
||
class WaveClassTest { | ||
} |
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
16 changes: 16 additions & 0 deletions
16
source/core/src/test/com/csse3200/game/entities/factories/WaveFactoryTest.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.csse3200.game.entities.factories; | ||
|
||
import com.csse3200.game.extensions.GameExtension; | ||
import org.junit.jupiter.api.BeforeEach; | ||
import org.junit.jupiter.api.extension.ExtendWith; | ||
import org.mockito.junit.jupiter.MockitoExtension; | ||
|
||
@ExtendWith(GameExtension.class) | ||
@ExtendWith(MockitoExtension.class) | ||
class WaveFactoryTest { | ||
|
||
@BeforeEach | ||
void setUp() { | ||
|
||
} | ||
} |