Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Test Failures (rules-reviewed/ embedded-cache-libraries, web-technology, configuration-management tests) #267

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
<rules>
<rule id="embedded-cache-libraries-01000">
<when>
<graph-query discriminator="JarArchiveModel">
<property name="fileName" searchType="regex">.*ehcache.*\.jar$</property>
</graph-query>
<file filename="{*}ehcache{*}.jar"/>
</when>
<perform>
<hint title="EHCache library" category-id="potential" effort="5">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<rule id="configuration-management-technology-usage-0100-test">
<when>
<not>
<technology-statistics-exists name="Spring Cloud Config" number-found="3">
<technology-statistics-exists name="Spring Cloud Config" number-found="4">
<tag name="Sustain"/>
<tag name="Configuration Management"/>
<tag name="Embedded"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<rule id="configuration-management-0100-test">
<when>
<not>
<iterable-filter size="3">
<hint-exists message="The application embeds Spring Cloud" />
<iterable-filter size="4">
<hint-exists message="The application embeds Spring Cloud Config" />
</iterable-filter>
<technology-tag-exists technology-tag="Spring Cloud Config"/>
</not>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<when>
<not>
<iterable-filter size="1">
<hint-exists message="The application embeds an Ehcache library" />
<hint-exists message="The application uses EHCache" />
</iterable-filter>
</not>
</when>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<rule id="technology-usage-web-01700-test">
<when>
<not>
<technology-statistics-exists name="Swing" number-found="1">
<technology-statistics-exists name="Swing" number-found="2">
<tag name="View"/>
<tag name="Rich"/>
<tag name="Embedded"/>
Expand Down
Loading