-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow chunk list command header customization and fix update checker …
…again
- Loading branch information
1 parent
06452bc
commit 0b4462f
Showing
8 changed files
with
76 additions
and
14 deletions.
There are no files selected for viewing
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
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
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,5 @@ | ||
# ClaimChunk 0.0.25-FIX1 | ||
|
||
Fixes: | ||
* My stupid update checker | ||
* Allow header customization for chunk list command in messages.json |
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
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
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
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
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,25 @@ | ||
package com.cjburkey.claimchunk; | ||
|
||
import com.cjburkey.claimchunk.update.SemVer; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
class TestSemVerMee { | ||
|
||
@Test | ||
void testVersions() { | ||
SemVer v0022 = new SemVer(0, 0, 22, null); | ||
SemVer v0024 = new SemVer(0, 0, 24, null); | ||
SemVer v0024FIX1 = new SemVer(0, 0, 24, "FIX1"); | ||
SemVer v0024FIX2 = new SemVer(0, 0, 24, "FIX2"); | ||
SemVer v0024RC1 = new SemVer(0, 0, 24, "RC1"); | ||
SemVer v0024RC2 = new SemVer(0, 0, 24, "RC2"); | ||
|
||
assert v0024.isNewerThan(v0022); | ||
assert v0024FIX1.isNewerThan(v0024); | ||
assert v0024FIX1.isNewerThan(v0024RC1); | ||
assert v0024FIX2.isNewerThan(v0024FIX1); | ||
assert v0024RC2.isNewerThan(v0024RC1); | ||
assert !v0024RC1.isNewerThan(v0024RC2); | ||
} | ||
} |