Fix VersioningSystem and versioning system tests javadoc

This commit is contained in:
JeremyStar™ 2024-09-04 17:03:06 +02:00
parent 8caafd6d01
commit 07cbbb9bb3
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
3 changed files with 5 additions and 7 deletions

View file

@ -41,7 +41,7 @@ public interface VersioningSystem {
* Compares a {@link VersioningSystem} with another. * Compares a {@link VersioningSystem} with another.
* *
* @param version {@link VersioningSystem} to compare against * @param version {@link VersioningSystem} to compare against
* @return smaller = {@code 0}, equal = {@code 1}, bigger = {@code 2} * @return {@code 0} if the supplied version is bigger, {@code 1} if equal and {@code 2} if smaller
* @throws IncompatibleVersioningSystemException incompatible with the supplied versioning system * @throws IncompatibleVersioningSystemException incompatible with the supplied versioning system
* @since v1-alpha1 * @since v1-alpha1
*/ */

View file

@ -19,9 +19,8 @@
package de.staropensource.sosengine.base.srctests.implementation.versioning; package de.staropensource.sosengine.base.srctests.implementation.versioning;
import de.staropensource.sosengine.base.implementation.versioning.OneNumberVersioningSystem;
import de.staropensource.sosengine.base.implementation.versioning.TwoNumberVersioningSystem;
import de.staropensource.sosengine.base.exception.versioning.InvalidVersionStringException; import de.staropensource.sosengine.base.exception.versioning.InvalidVersionStringException;
import de.staropensource.sosengine.base.implementation.versioning.OneNumberVersioningSystem;
import de.staropensource.sosengine.base.srctests.TestBase; import de.staropensource.sosengine.base.srctests.TestBase;
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.ParameterizedTest;
@ -31,7 +30,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.fail; import static org.junit.jupiter.api.Assertions.fail;
/** /**
* Tests the class {@link TwoNumberVersioningSystem}. * Tests the class {@link OneNumberVersioningSystem}.
*/ */
@DisplayName("OneNumberVersioningSystem") @DisplayName("OneNumberVersioningSystem")
public class OneNumberVersioningSystemTest extends TestBase { public class OneNumberVersioningSystemTest extends TestBase {

View file

@ -19,9 +19,8 @@
package de.staropensource.sosengine.base.srctests.implementation.versioning; package de.staropensource.sosengine.base.srctests.implementation.versioning;
import de.staropensource.sosengine.base.implementation.versioning.SemanticVersioningSystem;
import de.staropensource.sosengine.base.implementation.versioning.StarOpenSourceVersioningSystem;
import de.staropensource.sosengine.base.exception.versioning.InvalidVersionStringException; import de.staropensource.sosengine.base.exception.versioning.InvalidVersionStringException;
import de.staropensource.sosengine.base.implementation.versioning.StarOpenSourceVersioningSystem;
import de.staropensource.sosengine.base.srctests.TestBase; import de.staropensource.sosengine.base.srctests.TestBase;
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.ParameterizedTest;
@ -31,7 +30,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.fail; import static org.junit.jupiter.api.Assertions.fail;
/** /**
* Tests the class {@link SemanticVersioningSystem}. * Tests the class {@link StarOpenSourceVersioningSystem}.
*/ */
@DisplayName("StarOpenSourceVersioningSystem") @DisplayName("StarOpenSourceVersioningSystem")
public class StarOpenSourceVersioningSystemTest extends TestBase { public class StarOpenSourceVersioningSystemTest extends TestBase {