Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tests
Browse files Browse the repository at this point in the history
rametta committed Oct 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent dbcd606 commit af7aa08
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion tests/ts/my-game/example/ability.ts
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ mutate_distance(value:number):boolean {
return true;
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "MyGame.Example.Ability" {
return 'MyGame.Example.Ability';
}

2 changes: 1 addition & 1 deletion tests/ts/my-game/example/monster.ts
Original file line number Diff line number Diff line change
@@ -813,7 +813,7 @@ mutate_double_inf_default(value:number):boolean {
return true;
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "MyGame.Example.Monster" {
return 'MyGame.Example.Monster';
}

2 changes: 1 addition & 1 deletion tests/ts/my-game/example/referrable.ts
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ mutate_id(value:bigint):boolean {
return true;
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "MyGame.Example.Referrable" {
return 'MyGame.Example.Referrable';
}

2 changes: 1 addition & 1 deletion tests/ts/my-game/example/stat.ts
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ mutate_count(value:number):boolean {
return true;
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "MyGame.Example.Stat" {
return 'MyGame.Example.Stat';
}

2 changes: 1 addition & 1 deletion tests/ts/my-game/example/struct-of-structs-of-structs.ts
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ a(obj?:StructOfStructs):StructOfStructs|null {
return (obj || new StructOfStructs()).__init(this.bb_pos, this.bb!);
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "MyGame.Example.StructOfStructsOfStructs" {
return 'MyGame.Example.StructOfStructsOfStructs';
}

2 changes: 1 addition & 1 deletion tests/ts/my-game/example/struct-of-structs.ts
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ c(obj?:Ability):Ability|null {
return (obj || new Ability()).__init(this.bb_pos + 12, this.bb!);
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "MyGame.Example.StructOfStructs" {
return 'MyGame.Example.StructOfStructs';
}

2 changes: 1 addition & 1 deletion tests/ts/my-game/example/test-simple-table-with-enum.ts
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ mutate_color(value:Color):boolean {
return true;
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "MyGame.Example.TestSimpleTableWithEnum" {
return 'MyGame.Example.TestSimpleTableWithEnum';
}

2 changes: 1 addition & 1 deletion tests/ts/my-game/example/test.ts
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ mutate_b(value:number):boolean {
return true;
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "MyGame.Example.Test" {
return 'MyGame.Example.Test';
}

2 changes: 1 addition & 1 deletion tests/ts/my-game/example/type-aliases.ts
Original file line number Diff line number Diff line change
@@ -214,7 +214,7 @@ vf64Array():Float64Array|null {
return offset ? new Float64Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__vector(this.bb_pos + offset), this.bb!.__vector_len(this.bb_pos + offset)) : null;
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "MyGame.Example.TypeAliases" {
return 'MyGame.Example.TypeAliases';
}

2 changes: 1 addition & 1 deletion tests/ts/my-game/example/vec3.ts
Original file line number Diff line number Diff line change
@@ -66,7 +66,7 @@ test3(obj?:Test):Test|null {
return (obj || new Test()).__init(this.bb_pos + 26, this.bb!);
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "MyGame.Example.Vec3" {
return 'MyGame.Example.Vec3';
}

2 changes: 1 addition & 1 deletion tests/ts/my-game/example2/monster.ts
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ static getSizePrefixedRootAsMonster(bb:flatbuffers.ByteBuffer, obj?:Monster):Mon
return (obj || new Monster()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "MyGame.Example2.Monster" {
return 'MyGame.Example2.Monster';
}

2 changes: 1 addition & 1 deletion tests/ts/my-game/in-parent-namespace.ts
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ static getSizePrefixedRootAsInParentNamespace(bb:flatbuffers.ByteBuffer, obj?:In
return (obj || new InParentNamespace()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "MyGame.InParentNamespace" {
return 'MyGame.InParentNamespace';
}

2 changes: 1 addition & 1 deletion tests/ts/optional-scalars/scalar-stuff.ts
Original file line number Diff line number Diff line change
@@ -209,7 +209,7 @@ defaultEnum():OptionalByte {
return offset ? this.bb!.readInt8(this.bb_pos + offset) : OptionalByte.One;
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "optional_scalars.ScalarStuff" {
return 'optional_scalars.ScalarStuff';
}

2 changes: 1 addition & 1 deletion tests/ts/union_vector/attacker.ts
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ mutate_sword_attack_damage(value:number):boolean {
return true;
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "Attacker" {
return 'Attacker';
}

2 changes: 1 addition & 1 deletion tests/ts/union_vector/book-reader.ts
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ mutate_books_read(value:number):boolean {
return true;
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "BookReader" {
return 'BookReader';
}

2 changes: 1 addition & 1 deletion tests/ts/union_vector/falling-tub.ts
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ mutate_weight(value:number):boolean {
return true;
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "FallingTub" {
return 'FallingTub';
}

2 changes: 1 addition & 1 deletion tests/ts/union_vector/hand-fan.ts
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ mutate_length(value:number):boolean {
return true;
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "HandFan" {
return 'HandFan';
}

2 changes: 1 addition & 1 deletion tests/ts/union_vector/movie.ts
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@ charactersLength():number {
return offset ? this.bb!.__vector_len(this.bb_pos + offset) : 0;
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "Movie" {
return 'Movie';
}

2 changes: 1 addition & 1 deletion tests/ts/union_vector/rapunzel.ts
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ mutate_hair_length(value:number):boolean {
return true;
}

static getFullyQualifiedName():string {
static getFullyQualifiedName(): "Rapunzel" {
return 'Rapunzel';
}

0 comments on commit af7aa08

Please sign in to comment.