Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Oct 27, 2024
1 parent 9c5f097 commit 58fa108
Show file tree
Hide file tree
Showing 22 changed files with 11 additions and 223 deletions.
2 changes: 1 addition & 1 deletion tests/Generator/CSharpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function testGenerateComplex()
$chunks = $generator->generate($this->getComplexSchema());
$this->write($generator, $chunks, __DIR__ . '/resource/csharp/complex');

$this->assertFileExists(__DIR__ . '/resource/csharp/complex/Specification.cs');
$this->assertFileExists(__DIR__ . '/resource/csharp/complex/TypeSchema.cs');
}

public function testGenerateOOP()
Expand Down
2 changes: 1 addition & 1 deletion tests/Generator/GoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function testGenerateComplex()
$chunks = $generator->generate($this->getComplexSchema());
$this->write($generator, $chunks, __DIR__ . '/resource/go/complex');

$this->assertFileExists(__DIR__ . '/resource/go/complex/specification.go');
$this->assertFileExists(__DIR__ . '/resource/go/complex/type_schema.go');
}

public function testGenerateOOP()
Expand Down
2 changes: 1 addition & 1 deletion tests/Generator/JavaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function testGenerateComplex()
$chunks = $generator->generate($this->getComplexSchema());
$this->write($generator, $chunks, __DIR__ . '/resource/java/complex');

$this->assertFileExists(__DIR__ . '/resource/java/complex/Specification.java');
$this->assertFileExists(__DIR__ . '/resource/java/complex/TypeSchema.java');
}

public function testGenerateOOP()
Expand Down
2 changes: 1 addition & 1 deletion tests/Generator/KotlinTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function testGenerateComplex()
$chunks = $generator->generate($this->getComplexSchema());
$this->write($generator, $chunks, __DIR__ . '/resource/kotlin/complex');

$this->assertFileExists(__DIR__ . '/resource/kotlin/complex/Specification.kt');
$this->assertFileExists(__DIR__ . '/resource/kotlin/complex/TypeSchema.kt');
}

public function testGenerateOOP()
Expand Down
2 changes: 1 addition & 1 deletion tests/Generator/PhpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function testGenerateComplex()
$chunks = $generator->generate($this->getComplexSchema());
$this->write($generator, $chunks, __DIR__ . '/resource/php/complex');

$this->assertFileExists(__DIR__ . '/resource/php/complex/Specification.php');
$this->assertFileExists(__DIR__ . '/resource/php/complex/TypeSchema.php');
}

public function testGenerateOOP()
Expand Down
2 changes: 1 addition & 1 deletion tests/Generator/PythonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function testGenerateComplex()
$chunks = $generator->generate($this->getComplexSchema());
$this->write($generator, $chunks, __DIR__ . '/resource/python/complex');

$this->assertFileExists(__DIR__ . '/resource/python/complex/specification.py');
$this->assertFileExists(__DIR__ . '/resource/python/complex/type_schema.py');
}

public function testGenerateOOP()
Expand Down
2 changes: 1 addition & 1 deletion tests/Generator/RubyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function testGenerateComplex()
$chunks = $generator->generate($this->getComplexSchema());
$this->write($generator, $chunks, __DIR__ . '/resource/ruby/complex');

$this->assertFileExists(__DIR__ . '/resource/ruby/complex/specification.rb');
$this->assertFileExists(__DIR__ . '/resource/ruby/complex/type_schema.rb');
}

public function testGenerateOOP()
Expand Down
2 changes: 1 addition & 1 deletion tests/Generator/RustTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function testGenerateComplex()
$chunks = $generator->generate($this->getComplexSchema());
$this->write($generator, $chunks, __DIR__ . '/resource/rust/complex');

$this->assertFileExists(__DIR__ . '/resource/rust/complex/specification.rs');
$this->assertFileExists(__DIR__ . '/resource/rust/complex/type_schema.rs');
}

public function testGenerateOOP()
Expand Down
2 changes: 1 addition & 1 deletion tests/Generator/SwiftTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function testGenerateComplex()
$chunks = $generator->generate($this->getComplexSchema());
$this->write($generator, $chunks, __DIR__ . '/resource/swift/complex');

$this->assertFileExists(__DIR__ . '/resource/swift/complex/Specification.swift');
$this->assertFileExists(__DIR__ . '/resource/swift/complex/TypeSchema.swift');
}

public function testGenerateOOP()
Expand Down
2 changes: 1 addition & 1 deletion tests/Generator/TypeScriptTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function testGenerateComplex()
$chunks = $generator->generate($this->getComplexSchema());
$this->write($generator, $chunks, __DIR__ . '/resource/typescript/complex');

$this->assertFileExists(__DIR__ . '/resource/typescript/complex/Specification.ts');
$this->assertFileExists(__DIR__ . '/resource/typescript/complex/TypeSchema.ts');
}

public function testGenerateOOP()
Expand Down
2 changes: 1 addition & 1 deletion tests/Generator/VisualBasicTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function testGenerateComplex()
$chunks = $generator->generate($this->getComplexSchema());
$this->write($generator, $chunks, __DIR__ . '/resource/visualbasic/complex');

$this->assertFileExists(__DIR__ . '/resource/visualbasic/complex/Specification.vb');
$this->assertFileExists(__DIR__ . '/resource/visualbasic/complex/TypeSchema.vb');
}

public function testGenerateOOP()
Expand Down
15 changes: 0 additions & 15 deletions tests/Generator/resource/csharp/complex/Specification.cs

This file was deleted.

6 changes: 0 additions & 6 deletions tests/Generator/resource/go/complex/specification.go

This file was deleted.

40 changes: 0 additions & 40 deletions tests/Generator/resource/java/complex/Specification.java

This file was deleted.

6 changes: 0 additions & 6 deletions tests/Generator/resource/kotlin/complex/Specification.kt

This file was deleted.

72 changes: 0 additions & 72 deletions tests/Generator/resource/php/complex/Specification.php

This file was deleted.

13 changes: 0 additions & 13 deletions tests/Generator/resource/python/complex/specification.py

This file was deleted.

10 changes: 0 additions & 10 deletions tests/Generator/resource/ruby/complex/specification.rb

This file was deleted.

16 changes: 0 additions & 16 deletions tests/Generator/resource/rust/complex/specification.rs

This file was deleted.

12 changes: 0 additions & 12 deletions tests/Generator/resource/swift/complex/Specification.swift

This file was deleted.

8 changes: 0 additions & 8 deletions tests/Generator/resource/typescript/complex/Specification.ts

This file was deleted.

14 changes: 0 additions & 14 deletions tests/Generator/resource/visualbasic/complex/Specification.vb

This file was deleted.

0 comments on commit 58fa108

Please sign in to comment.