You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: graphql-kotlin-toolkit-codegen/src/test/kotlin/com/auritylab/graphql/kotlin/toolkit/codegen/_test/AbstractCompilationTest.kt
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ abstract class AbstractCompilationTest(
22
22
* Will compile the given [main] and the given [dependencies]. This function will return the runtime reflection
23
23
* reference to the [main] class. The [dependencies] will just be added to the compilation.
Copy file name to clipboardExpand all lines: graphql-kotlin-toolkit-codegen/src/test/kotlin/com/auritylab/graphql/kotlin/toolkit/codegen/_test/AbstractMockCompilationTest.kt
Copy file name to clipboardExpand all lines: graphql-kotlin-toolkit-codegen/src/test/kotlin/com/auritylab/graphql/kotlin/toolkit/codegen/codeblock/ArgumentCodeBlockGeneratorTest.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ internal class ArgumentCodeBlockGeneratorTest : AbstractCompilationTest() {
24
24
val resolver = generator.buildResolver("argument", Scalars.GraphQLString, null)
25
25
26
26
// Wrap the resolver and compile the code.
27
-
val compiled = compile(getWrapperClass(resolver))
27
+
val compiled = compile(getWrapperClass(resolver)).main
Copy file name to clipboardExpand all lines: graphql-kotlin-toolkit-codegen/src/test/kotlin/com/auritylab/graphql/kotlin/toolkit/codegen/generator/EnumGeneratorTest.kt
Copy file name to clipboardExpand all lines: graphql-kotlin-toolkit-codegen/src/test/kotlin/com/auritylab/graphql/kotlin/toolkit/codegen/generator/InputObjectGeneratorTest.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ internal class InputObjectGeneratorTest : AbstractCompilationTest() {
Copy file name to clipboardExpand all lines: graphql-kotlin-toolkit-codegen/src/test/kotlin/com/auritylab/graphql/kotlin/toolkit/codegen/generator/ObjectTypeGeneratorTest.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ internal class ObjectTypeGeneratorTest : AbstractCompilationTest() {
Copy file name to clipboardExpand all lines: graphql-kotlin-toolkit-codegen/src/test/kotlin/com/auritylab/graphql/kotlin/toolkit/codegen/generator/ValueWrapperGeneratorTest.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ internal class ValueWrapperGeneratorTest : AbstractCompilationTest() {
Copy file name to clipboardExpand all lines: graphql-kotlin-toolkit-codegen/src/test/kotlin/com/auritylab/graphql/kotlin/toolkit/codegen/generator/fieldResolver/FieldResolverGeneratorTest.kt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ internal class FieldResolverGeneratorTest : AbstractCompilationTest(true) {
45
45
@BeforeAll
46
46
funcompileCode() {
47
47
// Compile the code of the generator
48
-
generatedClass = compile(generator)
48
+
generatedClass = compile(generator).main
49
49
}
50
50
51
51
@Test
@@ -142,7 +142,7 @@ internal class FieldResolverGeneratorTest : AbstractCompilationTest(true) {
142
142
@BeforeAll
143
143
funcompileCode() {
144
144
// Compile the code of the generator
145
-
generatedClass = compile(generator)
145
+
generatedClass = compile(generator).main
146
146
}
147
147
148
148
@Test
@@ -194,7 +194,7 @@ internal class FieldResolverGeneratorTest : AbstractCompilationTest(true) {
0 commit comments