Fixing test cases.
This commit is contained in:
@@ -1,95 +0,0 @@
|
|||||||
|
|
||||||
package pokerth_protocol;
|
|
||||||
//
|
|
||||||
// This file was generated by the BinaryNotes compiler.
|
|
||||||
// See http://bnotes.sourceforge.net
|
|
||||||
// Any modifications to this file will be lost upon recompilation of the source ASN.1.
|
|
||||||
//
|
|
||||||
|
|
||||||
import org.bn.*;
|
|
||||||
import org.bn.annotations.*;
|
|
||||||
import org.bn.annotations.constraints.*;
|
|
||||||
import org.bn.coders.*;
|
|
||||||
import org.bn.types.*;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ASN1PreparedElement
|
|
||||||
@ASN1BoxedType ( name = "AfkWarningMessage" )
|
|
||||||
public class AfkWarningMessage implements IASN1PreparedElement {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ASN1PreparedElement
|
|
||||||
@ASN1Sequence ( name = "AfkWarningMessage" , isSet = false )
|
|
||||||
public static class AfkWarningMessageSequenceType implements IASN1PreparedElement {
|
|
||||||
@ASN1Integer( name = "" )
|
|
||||||
|
|
||||||
@ASN1Element ( name = "remainingTimeouts", isOptional = false , hasTag = false , hasDefaultValue = false )
|
|
||||||
|
|
||||||
private Long remainingTimeouts = null;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public Long getRemainingTimeouts () {
|
|
||||||
return this.remainingTimeouts;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public void setRemainingTimeouts (Long value) {
|
|
||||||
this.remainingTimeouts = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public void initWithDefaults() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public IASN1PreparedElementData getPreparedData() {
|
|
||||||
return preparedData_AfkWarningMessageSequenceType;
|
|
||||||
}
|
|
||||||
|
|
||||||
private static IASN1PreparedElementData preparedData_AfkWarningMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(AfkWarningMessageSequenceType.class);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ASN1Element ( name = "AfkWarningMessage", isOptional = false , hasTag = true, tag = 135,
|
|
||||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
|
||||||
|
|
||||||
private AfkWarningMessageSequenceType value;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public AfkWarningMessage () {
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public void setValue(AfkWarningMessageSequenceType value) {
|
|
||||||
this.value = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public AfkWarningMessageSequenceType getValue() {
|
|
||||||
return this.value;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public void initWithDefaults() {
|
|
||||||
}
|
|
||||||
|
|
||||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AfkWarningMessage.class);
|
|
||||||
public IASN1PreparedElementData getPreparedData() {
|
|
||||||
return preparedData;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -44,12 +44,6 @@ import org.bn.types.*;
|
|||||||
|
|
||||||
private java.util.Collection<Long> bestHandPosition = null;
|
private java.util.Collection<Long> bestHandPosition = null;
|
||||||
|
|
||||||
@ASN1Integer( name = "" )
|
|
||||||
|
|
||||||
@ASN1Element ( name = "cardsValue", isOptional = true , hasTag = false , hasDefaultValue = false )
|
|
||||||
|
|
||||||
private Long cardsValue = null;
|
|
||||||
|
|
||||||
|
|
||||||
@ASN1Element ( name = "moneyWon", isOptional = false , hasTag = false , hasDefaultValue = false )
|
@ASN1Element ( name = "moneyWon", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||||
|
|
||||||
@@ -60,6 +54,12 @@ import org.bn.types.*;
|
|||||||
|
|
||||||
private AmountOfMoney playerMoney = null;
|
private AmountOfMoney playerMoney = null;
|
||||||
|
|
||||||
|
@ASN1Integer( name = "" )
|
||||||
|
|
||||||
|
@ASN1Element ( name = "cardsValue", isOptional = true , hasTag = false , hasDefaultValue = false )
|
||||||
|
|
||||||
|
private Long cardsValue = null;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public NonZeroId getPlayerId () {
|
public NonZeroId getPlayerId () {
|
||||||
@@ -110,22 +110,6 @@ import org.bn.types.*;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
public Long getCardsValue () {
|
|
||||||
return this.cardsValue;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public boolean isCardsValuePresent () {
|
|
||||||
return this.cardsValue != null;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public void setCardsValue (Long value) {
|
|
||||||
this.cardsValue = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public AmountOfMoney getMoneyWon () {
|
public AmountOfMoney getMoneyWon () {
|
||||||
return this.moneyWon;
|
return this.moneyWon;
|
||||||
}
|
}
|
||||||
@@ -150,6 +134,22 @@ import org.bn.types.*;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public Long getCardsValue () {
|
||||||
|
return this.cardsValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public boolean isCardsValuePresent () {
|
||||||
|
return this.cardsValue != null;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void setCardsValue (Long value) {
|
||||||
|
this.cardsValue = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public void initWithDefaults() {
|
public void initWithDefaults() {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user