summaryrefslogtreecommitdiff
path: root/src/test/java/sevenUnits/utils/SemanticVersionTest.java
diff options
context:
space:
mode:
authorAdrien Hopkins <adrien.p.hopkins@gmail.com>2025-06-04 19:45:37 -0500
committerAdrien Hopkins <adrien.p.hopkins@gmail.com>2025-06-04 19:45:37 -0500
commit79e1653caf5c30667877a158433cbcd766a135af (patch)
tree891527e7365bf78eab3722704c1f74e57fbbca7d /src/test/java/sevenUnits/utils/SemanticVersionTest.java
parentd80b80857e739eb32afd7625789944abd3afe376 (diff)
Add version numbers to all @since tags
Specifically, for every @since tag with a date, I added another that contains the correspending version. I did not add date @since tags to comments that do not have them, as that would be too tedious for what it's worth. These dates could still be found by using git bisect though.
Diffstat (limited to 'src/test/java/sevenUnits/utils/SemanticVersionTest.java')
-rw-r--r--src/test/java/sevenUnits/utils/SemanticVersionTest.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/java/sevenUnits/utils/SemanticVersionTest.java b/src/test/java/sevenUnits/utils/SemanticVersionTest.java
index 295ad39..3bef773 100644
--- a/src/test/java/sevenUnits/utils/SemanticVersionTest.java
+++ b/src/test/java/sevenUnits/utils/SemanticVersionTest.java
@@ -35,12 +35,14 @@ import org.junit.jupiter.api.Test;
* Tests for {@link SemanticVersionNumber}
*
* @since 2022-02-19
+ * @since v0.4.0
*/
public final class SemanticVersionTest {
/**
* Test for {@link SemanticVersionNumber#compatible}
*
* @since 2022-02-20
+ * @since v0.4.0
*/
@Test
public void testCompatibility() {
@@ -66,6 +68,7 @@ public final class SemanticVersionTest {
* Tests {@link SemanticVersionNumber#toString} for complex version numbers
*
* @since 2022-02-19
+ * @since v0.4.0
*/
@Test
public void testComplexToString() {
@@ -84,6 +87,7 @@ public final class SemanticVersionTest {
* Tests that complex version can be created and their parts read
*
* @since 2022-02-19
+ * @since v0.4.0
*/
@Test
public void testComplexVersions() {
@@ -116,6 +120,7 @@ public final class SemanticVersionTest {
* Test that semantic version strings can be parsed correctly
*
* @since 2022-02-19
+ * @since v0.4.0
* @see SemanticVersionNumber#fromString
* @see SemanticVersionNumber#isValidVersionString
*/
@@ -267,6 +272,7 @@ public final class SemanticVersionTest {
* Test for {@link SemanticVersionNumber#isStable}
*
* @since 2022-02-19
+ * @since v0.4.0
*/
@Test
public void testIsStable() {
@@ -290,6 +296,7 @@ public final class SemanticVersionTest {
* and some more.
*
* @since 2022-02-19
+ * @since v0.4.0
*/
@Test
public void testOrder() {
@@ -350,6 +357,7 @@ public final class SemanticVersionTest {
* Tests that simple stable versions can be created and their parts read
*
* @since 2022-02-19
+ * @since v0.4.0
*/
@Test
public void testSimpleStableVersions() {
@@ -369,6 +377,7 @@ public final class SemanticVersionTest {
* numbers
*
* @since 2022-02-19
+ * @since v0.4.0
*/
@Test
public void testSimpleToString() {
@@ -383,6 +392,7 @@ public final class SemanticVersionTest {
* Tests that simple unstable versions can be created and their parts read
*
* @since 2022-02-19
+ * @since v0.4.0
*/
@Test
public void testSimpleUnstableVersions() {