Conversation
Release 0.27.0
Release 0.27.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on #895
#651 — Generate resources for test source sets
Closes #651.
Fixed
set, including shared test source sets such as
commonTestandiosTest.jsTestandiosTestwhen they contain their ownmoko-resourcesdirectory.when both are linked into the same test binary:
PlatformDetailsProvider, preventingmain-resource lookups from being redirected to the test bundle.
test component instead of the main component's
Rclass.Compatibility
Production resource APIs are unchanged. When a test hierarchy and its parallel
main hierarchy both contain resources, test-only resources are exposed through
a source-set-qualified object such as
SharedRescommonTest. This follows theexisting naming rule for resource objects generated below the main source set
and avoids duplicate declarations and runtime resource shadowing.
Verification
files, and assets from
commonTest, plus resources declared injsTestandiosTest.sharedChecks, shared by the JVM and JS testcompilations, verifies that test/main association does not rely on source-set
naming conventions.
files, and assets all reference the isolated test
PlatformDetailsProvider.