File tree Expand file tree Collapse file tree 3 files changed +80
-1
lines changed
testkit-backend/src/main/java/neo4j/org/testkit/backend/messages Expand file tree Collapse file tree 3 files changed +80
-1
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) "Neo4j"
3+ * Neo4j Sweden AB [http://neo4j.com]
4+ *
5+ * This file is part of Neo4j.
6+ *
7+ * Licensed under the Apache License, Version 2.0 (the "License");
8+ * you may not use this file except in compliance with the License.
9+ * You may obtain a copy of the License at
10+ *
11+ * http://www.apache.org/licenses/LICENSE-2.0
12+ *
13+ * Unless required by applicable law or agreed to in writing, software
14+ * distributed under the License is distributed on an "AS IS" BASIS,
15+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+ * See the License for the specific language governing permissions and
17+ * limitations under the License.
18+ */
19+ package neo4j .org .testkit .backend .messages .requests ;
20+
21+ import lombok .Getter ;
22+ import lombok .NoArgsConstructor ;
23+ import lombok .Setter ;
24+ import neo4j .org .testkit .backend .TestkitState ;
25+ import neo4j .org .testkit .backend .messages .responses .RunTest ;
26+ import neo4j .org .testkit .backend .messages .responses .TestkitResponse ;
27+
28+ @ Setter
29+ @ Getter
30+ @ NoArgsConstructor
31+ public class StartTest implements TestkitRequest
32+ {
33+ private StartTestBody data ;
34+
35+ @ Override
36+ public TestkitResponse process ( TestkitState testkitState )
37+ {
38+ return RunTest .builder ().build ();
39+ }
40+
41+ @ Setter
42+ @ Getter
43+ @ NoArgsConstructor
44+ public static class StartTestBody
45+ {
46+ private String testName ;
47+ }
48+ }
Original file line number Diff line number Diff line change 3434 @ JsonSubTypes .Type ( SessionBeginTransaction .class ), @ JsonSubTypes .Type ( TransactionCommit .class ),
3535 @ JsonSubTypes .Type ( SessionLastBookmarks .class ), @ JsonSubTypes .Type ( SessionWriteTransaction .class ),
3636 @ JsonSubTypes .Type ( ResolverResolutionCompleted .class ), @ JsonSubTypes .Type ( CheckMultiDBSupport .class ),
37- @ JsonSubTypes .Type ( DomainNameResolutionCompleted .class )
37+ @ JsonSubTypes .Type ( DomainNameResolutionCompleted .class ), @ JsonSubTypes . Type ( StartTest . class )
3838} )
3939public interface TestkitRequest
4040{
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) "Neo4j"
3+ * Neo4j Sweden AB [http://neo4j.com]
4+ *
5+ * This file is part of Neo4j.
6+ *
7+ * Licensed under the Apache License, Version 2.0 (the "License");
8+ * you may not use this file except in compliance with the License.
9+ * You may obtain a copy of the License at
10+ *
11+ * http://www.apache.org/licenses/LICENSE-2.0
12+ *
13+ * Unless required by applicable law or agreed to in writing, software
14+ * distributed under the License is distributed on an "AS IS" BASIS,
15+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+ * See the License for the specific language governing permissions and
17+ * limitations under the License.
18+ */
19+ package neo4j .org .testkit .backend .messages .responses ;
20+
21+ import lombok .Builder ;
22+
23+ @ Builder
24+ public class RunTest implements TestkitResponse
25+ {
26+ @ Override
27+ public String testkitName ()
28+ {
29+ return "RunTest" ;
30+ }
31+ }
You can’t perform that action at this time.
0 commit comments