Skip to content

Add tests for @{baseVersion}@ and DEFAULT_FILE_NAME_MAPPING constants - #71

Open
elharo wants to merge 1 commit into
masterfrom
test/add-baseVersion-coverage
Open

Add tests for @{baseVersion}@ and DEFAULT_FILE_NAME_MAPPING constants#71
elharo wants to merge 1 commit into
masterfrom
test/add-baseVersion-coverage

Conversation

@elharo

@elharo elharo commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Both DEFAULT_FILE_NAME_MAPPING and DEFAULT_FILE_NAME_MAPPING_CLASSIFIER use @{baseVersion}@, but no existing test ever exercised this expression or these constants.

Added four tests:

  • baseVersionMapping -- directly tests @{baseVersion}@ in a mapping expression
  • defaultFileNameMapping -- tests the DEFAULT_FILE_NAME_MAPPING constant
  • defaultFileNameMappingClassifier -- tests DEFAULT_FILE_NAME_MAPPING_CLASSIFIER with a non-null classifier
  • defaultFileNameMappingNullClassifier -- tests DEFAULT_FILE_NAME_MAPPING_CLASSIFIER with a null classifier

All 10 tests pass.

Closes #64

Both DEFAULT_FILE_NAME_MAPPING and DEFAULT_FILE_NAME_MAPPING_CLASSIFIER
use @{baseVersion}@ but no test ever exercised this expression or these
constants. Add four tests:

- baseVersionMapping: directly tests @{baseVersion}@ in an expression
- defaultFileNameMapping: tests DEFAULT_FILE_NAME_MAPPING constant
- defaultFileNameMappingClassifier: tests DEFAULT_FILE_NAME_MAPPING_CLASSIFIER with a classifier
- defaultFileNameMappingNullClassifier: tests DEFAULT_FILE_NAME_MAPPING_CLASSIFIER without a classifier

Closes #64
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.

Tests never exercise @{baseVersion}@ used in DEFAULT constants

1 participant