Adding new java based test cases.
This commit is contained in:
1 parent
c352030c3c
commit
85d26e79a4
129 files changed
+20383
-1739
No files matched your search
@@ -0,0 +1,62 @@
|
||||
|
||||
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
|
||||
@ASN1Enum (
|
||||
name = "NetGameMode"
|
||||
)
|
||||
public class NetGameMode implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "gameCreated", hasTag = true , tag = 1 )
|
||||
gameCreated ,
|
||||
@ASN1EnumItem ( name = "gameStarted", hasTag = true , tag = 2 )
|
||||
gameStarted ,
|
||||
@ASN1EnumItem ( name = "gameClosed", hasTag = true , tag = 3 )
|
||||
gameClosed ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(NetGameMode.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user