Skip to content

fix: restore integration tests and minor plugin fixes #4

Merged
mdelambilly merged 3 commits into
mainfrom
bugfix-202604
Mar 27, 2026
Merged

fix: restore integration tests and minor plugin fixes #4
mdelambilly merged 3 commits into
mainfrom
bugfix-202604

Conversation

@mdelambilly
Copy link
Copy Markdown
Owner

  • Fix 210 integration tests failing with NullPointerException on setUp():
    add META-INF/plugin.xml to testing:integration-neo4j main resources
    so that the IJPGP 2.x test sandbox loads all required plugin services
    (DataSourcesComponent, CypherMetadataProviderService, ExecutorService, etc.)
    and Cypher language extensions. Remove the now-redundant
    testImplementation project(':graph-database-plugin').
  • Remove the until-build restriction so the plugin stays compatible with
    future IntelliJ builds without requiring a release.
  • Restrict Cypher keyword auto-uppercase to .cyp / .cypher / .cql files
    only, preventing unintended uppercasing in other file types (e.g. Java string
    literals injected with Cypher language).

Test plan

  • Run .\gradlew.bat :testing:integration-neo4j:test — all 260 tests pass
  • Run .\gradlew.bat :graph-database-plugin:runIde — keyword auto-uppercase
    only triggers in Cypher files, not in other languages

mdelambilly and others added 3 commits March 26, 2026 14:57
Add META-INF/plugin.xml to testing:integration-neo4j main resources so
that IJPGP 2.x includes it in the composedJar used for the test sandbox.
This registers all required services (DataSourcesComponent,
DataSourcesComponentMetadata, CypherMetadataProviderService, etc.) and
Cypher language extensions, fixing 210 NullPointerExceptions in
LightJavaCodeInsightFixtureTestCase setUp().

Remove redundant testImplementation project(':graph-database-plugin')
since all individual modules are already listed explicitly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mdelambilly mdelambilly merged commit baf5295 into main Mar 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant