Skip to content

Commit 79c5bca

Browse files
committed
grpc: Undo autoformat of generated test files
Signed-off-by: Johannes Zottele <[email protected]>
1 parent a04ad58 commit 79c5bca

File tree

2 files changed

+76
-80
lines changed

2 files changed

+76
-80
lines changed

tests/compiler-plugin-tests/src/test-gen/kotlinx/rpc/codegen/test/runners/BoxTestGenerated.java

Lines changed: 35 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -15,45 +15,43 @@
1515
import java.io.File;
1616
import java.util.regex.Pattern;
1717

18-
/**
19-
* This class is generated by {@link kotlinx.rpc.codegen.test.GenerateTestsKt}. DO NOT MODIFY MANUALLY
20-
*/
18+
/** This class is generated by {@link kotlinx.rpc.codegen.test.GenerateTestsKt}. DO NOT MODIFY MANUALLY */
2119
@SuppressWarnings("all")
2220
@TestMetadata("src/testData/box")
2321
@TestDataPath("$PROJECT_ROOT")
2422
public class BoxTestGenerated extends AbstractBoxTest {
25-
@Test
26-
public void testAllFilesPresentInBox() {
27-
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("src/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
28-
}
29-
30-
@Test
31-
@TestMetadata("customParameterTypes.kt")
32-
public void testCustomParameterTypes() {
33-
runTest("src/testData/box/customParameterTypes.kt");
34-
}
35-
36-
@Test
37-
@TestMetadata("flowParameter.kt")
38-
public void testFlowParameter() {
39-
runTest("src/testData/box/flowParameter.kt");
40-
}
41-
42-
@Test
43-
@TestMetadata("grpc.kt")
44-
public void testGrpc() {
45-
runTest("src/testData/box/grpc.kt");
46-
}
47-
48-
@Test
49-
@TestMetadata("multiModule.kt")
50-
public void testMultiModule() {
51-
runTest("src/testData/box/multiModule.kt");
52-
}
53-
54-
@Test
55-
@TestMetadata("simple.kt")
56-
public void testSimple() {
57-
runTest("src/testData/box/simple.kt");
58-
}
23+
@Test
24+
public void testAllFilesPresentInBox() {
25+
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("src/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
26+
}
27+
28+
@Test
29+
@TestMetadata("customParameterTypes.kt")
30+
public void testCustomParameterTypes() {
31+
runTest("src/testData/box/customParameterTypes.kt");
32+
}
33+
34+
@Test
35+
@TestMetadata("flowParameter.kt")
36+
public void testFlowParameter() {
37+
runTest("src/testData/box/flowParameter.kt");
38+
}
39+
40+
@Test
41+
@TestMetadata("grpc.kt")
42+
public void testGrpc() {
43+
runTest("src/testData/box/grpc.kt");
44+
}
45+
46+
@Test
47+
@TestMetadata("multiModule.kt")
48+
public void testMultiModule() {
49+
runTest("src/testData/box/multiModule.kt");
50+
}
51+
52+
@Test
53+
@TestMetadata("simple.kt")
54+
public void testSimple() {
55+
runTest("src/testData/box/simple.kt");
56+
}
5957
}

tests/compiler-plugin-tests/src/test-gen/kotlinx/rpc/codegen/test/runners/DiagnosticTestGenerated.java

Lines changed: 41 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -15,51 +15,49 @@
1515
import java.io.File;
1616
import java.util.regex.Pattern;
1717

18-
/**
19-
* This class is generated by {@link kotlinx.rpc.codegen.test.GenerateTestsKt}. DO NOT MODIFY MANUALLY
20-
*/
18+
/** This class is generated by {@link kotlinx.rpc.codegen.test.GenerateTestsKt}. DO NOT MODIFY MANUALLY */
2119
@SuppressWarnings("all")
2220
@TestMetadata("src/testData/diagnostics")
2321
@TestDataPath("$PROJECT_ROOT")
2422
public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
25-
@Test
26-
public void testAllFilesPresentInDiagnostics() {
27-
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("src/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
28-
}
29-
30-
@Test
31-
@TestMetadata("checkedAnnotation.kt")
32-
public void testCheckedAnnotation() {
33-
runTest("src/testData/diagnostics/checkedAnnotation.kt");
34-
}
35-
36-
@Test
37-
@TestMetadata("grpc.kt")
38-
public void testGrpc() {
39-
runTest("src/testData/diagnostics/grpc.kt");
40-
}
41-
42-
@Test
43-
@TestMetadata("rpcChecked.kt")
44-
public void testRpcChecked() {
45-
runTest("src/testData/diagnostics/rpcChecked.kt");
46-
}
47-
48-
@Test
49-
@TestMetadata("rpcService.kt")
50-
public void testRpcService() {
51-
runTest("src/testData/diagnostics/rpcService.kt");
52-
}
53-
54-
@Test
55-
@TestMetadata("strictMode.kt")
56-
public void testStrictMode() {
57-
runTest("src/testData/diagnostics/strictMode.kt");
58-
}
59-
60-
@Test
61-
@TestMetadata("withCodec.kt")
62-
public void testWithCodec() {
63-
runTest("src/testData/diagnostics/withCodec.kt");
64-
}
23+
@Test
24+
public void testAllFilesPresentInDiagnostics() {
25+
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("src/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
26+
}
27+
28+
@Test
29+
@TestMetadata("checkedAnnotation.kt")
30+
public void testCheckedAnnotation() {
31+
runTest("src/testData/diagnostics/checkedAnnotation.kt");
32+
}
33+
34+
@Test
35+
@TestMetadata("grpc.kt")
36+
public void testGrpc() {
37+
runTest("src/testData/diagnostics/grpc.kt");
38+
}
39+
40+
@Test
41+
@TestMetadata("rpcChecked.kt")
42+
public void testRpcChecked() {
43+
runTest("src/testData/diagnostics/rpcChecked.kt");
44+
}
45+
46+
@Test
47+
@TestMetadata("rpcService.kt")
48+
public void testRpcService() {
49+
runTest("src/testData/diagnostics/rpcService.kt");
50+
}
51+
52+
@Test
53+
@TestMetadata("strictMode.kt")
54+
public void testStrictMode() {
55+
runTest("src/testData/diagnostics/strictMode.kt");
56+
}
57+
58+
@Test
59+
@TestMetadata("withCodec.kt")
60+
public void testWithCodec() {
61+
runTest("src/testData/diagnostics/withCodec.kt");
62+
}
6563
}

0 commit comments

Comments
 (0)