Skip to content

Commit cec92a8

Browse files
committed
Added missing projectreactor.xml
1 parent 5245e97 commit cec92a8

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<jqassistant-rules xmlns="http://schema.jqassistant.org/rule/v2.2"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://schema.jqassistant.org/rule/v2.2 https://jqassistant.github.io/jqassistant/current/schema/jqassistant-rule-v2.2.xsd">
4+
5+
<concept id="projectreactor:AssertMethod">
6+
<providesConcept refId="java:AssertMethod"/>
7+
<description>
8+
Sets labels :Assert and :ProjectReactor for Project Reactor assert methods.
9+
</description>
10+
<cypher><![CDATA[
11+
MATCH
12+
(assertType:Type)-[:DECLARES]->(assertMethod)
13+
WHERE
14+
assertType.fqn =~ 'reactor\\.test\\.StepVerifier.*'
15+
AND assertMethod.signature =~ '.* verify.*'
16+
SET
17+
assertMethod:ProjectReactor:Assert
18+
RETURN
19+
assertMethod
20+
]]></cypher>
21+
</concept>
22+
23+
</jqassistant-rules>

0 commit comments

Comments
 (0)