-
Notifications
You must be signed in to change notification settings - Fork 11
Compilation test #170
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
Open
AaronJhaj
wants to merge
10
commits into
main
Choose a base branch
from
compilation-test
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Compilation test #170
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
223589a
annotated compilation test with Github issue
AaronJhaj 2993669
Merge branch 'main' of github.com:galasa-dev/integratedtests
AaronJhaj d413fd7
Merge branch 'main' of github.com:galasa-dev/integratedtests
AaronJhaj e50af36
adding gradle.properties to fix compilation test deffect
AaronJhaj 3bfc1a0
Updating GitHubIssue annotations (#171)
jadecarino ae37108
Remove Docker integrated tests (#174)
jadecarino eb6b0bc
uplift dependency on galasa framework to 0.26.0 instead of 0,.25.0 (#…
techcobweb 7a0c848
Add Docker inttests back to schedule now DSS cleared there should be …
jadecarino e700d68
Merge branch 'compilation-test' of github.com:galasa-dev/integratedte…
jadecarino 9e145fa
Upgrade inttests version to 0.26.0
jadecarino File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,6 +57,10 @@ private Path setupSimPlatform() throws ResourceUnavailableException, IOException | |
| refactorSimplatform(simplatformParent); | ||
|
|
||
| outputFiles("simplatform-refactored", simplatformParent, false); | ||
|
|
||
|
|
||
| makeGradleProperties(); | ||
|
|
||
|
|
||
| return simplatformParent; | ||
| } | ||
|
|
@@ -199,5 +203,13 @@ private void changePrefix(Path file) throws IOException { | |
| Files.write(file, fileData.getBytes()); | ||
| logger.trace("Changing prefix (" + incumbent + ") to \"" + prefix + "\" in file: " + file.toString()); | ||
| } | ||
|
|
||
| private void makeGradleProperties() throws IOException{ | ||
| String gradleProperties = "gradle.properties"; | ||
| String obr = "sourceMaven=https://development.galasa.dev/main/maven-repo/obr/"; | ||
| Path gradlePropertiesFile = testRunDirectory.resolve("/.gradle/" + gradleProperties); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Move this same logic into a different method called createParentGradleProperties as mentioned in my last comment. |
||
| Files.write(gradlePropertiesFile, obr.getBytes()); | ||
|
|
||
| } | ||
|
|
||
| } | ||
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think what this test is doing, is taking files that already exist in the Simplatform repository on Github and putting them in a new file structure for a test to use. As the gradle.properties file you are trying to create does not exist in Github, you will have to create it then allow it to be copied over like the other folders are. Similar to what is happening on line 53.