mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-29 15:52:08 +01:00
VersionImpl: Fix outdated method names
This commit is contained in:
parent
003423a165
commit
e465ae60a7
2 changed files with 6 additions and 5 deletions
|
@ -66,7 +66,7 @@ public class VersionImpl implements Version {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getSopSpecVersionNumber() {
|
public int getSopSpecRevisionNumber() {
|
||||||
return SOP_VERSION;
|
return SOP_VERSION;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,7 +76,8 @@ public class VersionImpl implements Version {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getSopSpecImplementationIncompletenessRemarks() {
|
public String getSopSpecImplementationRemarks() {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,12 +54,12 @@ public class VersionTest {
|
||||||
@Test
|
@Test
|
||||||
public void testGetSopSpecVersion() {
|
public void testGetSopSpecVersion() {
|
||||||
boolean incomplete = sop.version().isSopSpecImplementationIncomplete();
|
boolean incomplete = sop.version().isSopSpecImplementationIncomplete();
|
||||||
int revisionNumber = sop.version().getSopSpecVersionNumber();
|
int revisionNumber = sop.version().getSopSpecRevisionNumber();
|
||||||
|
|
||||||
String revisionString = sop.version().getSopSpecRevisionString();
|
String revisionString = sop.version().getSopSpecRevisionName();
|
||||||
assertEquals("draft-dkg-openpgp-stateless-cli-" + String.format("%02d", revisionNumber), revisionString);
|
assertEquals("draft-dkg-openpgp-stateless-cli-" + String.format("%02d", revisionNumber), revisionString);
|
||||||
|
|
||||||
String incompletenessRemarks = sop.version().getSopSpecImplementationIncompletenessRemarks();
|
String incompletenessRemarks = sop.version().getSopSpecImplementationRemarks();
|
||||||
|
|
||||||
String fullSopSpecVersion = sop.version().getSopSpecVersion();
|
String fullSopSpecVersion = sop.version().getSopSpecVersion();
|
||||||
if (incomplete) {
|
if (incomplete) {
|
||||||
|
|
Loading…
Reference in a new issue