This repository has been archived by the owner on Jan 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[UTY-2392] Port test-project to new CodeWriter (#1241)
- Loading branch information
Paul Balaji
authored
Jan 16, 2020
1 parent
4cb620d
commit 4df80cb
Showing
17 changed files
with
46 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ts/Generated/Source/improbable/dependentschema/DependentComponentComponentReaderWriter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...enerated/Source/improbable/dependentschema/DependentDataComponentCommandSenderReceiver.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...enerated/Source/improbable/dependentschema/DependentDataComponentComponentReaderWriter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ject/Assets/Generated/Source/improbable/tests/DependencyTestChildComponentReaderWriter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
test-project/Assets/Generated/Source/improbable/tests/DependencyTestComponentReaderWriter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...Assets/Generated/Source/improbable/tests/DependencyTestGrandchildComponentReaderWriter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ct/Assets/Generated/Source/improbable/testschema/ExhaustiveEntityComponentReaderWriter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ct/Assets/Generated/Source/improbable/testschema/ExhaustiveMapKeyComponentReaderWriter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../Assets/Generated/Source/improbable/testschema/ExhaustiveMapValueComponentReaderWriter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../Assets/Generated/Source/improbable/testschema/ExhaustiveOptionalComponentReaderWriter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../Assets/Generated/Source/improbable/testschema/ExhaustiveRepeatedComponentReaderWriter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../Assets/Generated/Source/improbable/testschema/ExhaustiveSingularComponentReaderWriter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
...probable.gdk.dependencytest/.codegen/Source/Generators/ModularCodegenTestGeneratorPart.cs
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
....gdk.dependencytest/.codegen/Source/Generators/TestProject/ModularCodegenTestGenerator.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using Improbable.Gdk.CodeGeneration.CodeWriter; | ||
|
||
namespace Improbable.Gdk.CodeGenerator | ||
{ | ||
public static class ModularCodegenTestGenerator | ||
{ | ||
public static string Generate() | ||
{ | ||
return CodeWriter.Populate(cgw => | ||
{ | ||
cgw.Namespace("Improbable.Gdk.ModularCodegenTests", ns => | ||
{ | ||
ns.Type("public class TemplateTest", t => | ||
{ | ||
}); | ||
}); | ||
}).Format(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
...ckages/io.improbable.gdk.dependencytest/.codegen/Templates/ModularCodegenTestGenerator.tt
This file was deleted.
Oops, something went wrong.