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

#1509 Adapt template sets in Eclipse #1631

Conversation

cedricarnauld123
Copy link
Contributor

@cedricarnauld123 cedricarnauld123 commented Jan 18, 2023

Adresses/Fixes #1509.
#1622
Implements

  • Restored original code to test the adaptTemplates command in eclipse application and deleted faulty code

@devonfw/cobigen

@CLAassistant
Copy link

CLAassistant commented Jan 18, 2023

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
3 out of 4 committers have signed the CLA.

✅ jan-vcapgemini
✅ maybeec
✅ cedricarnauld123
❌ Cedric Betom


Cedric Betom seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Cedric Betom added 2 commits January 18, 2023 16:04
enableCrossOsArchive in restore p2 cache
Comment on lines 34 to 43
/** Temporary files rule to create temporary folders or files */
@Rule
public TemporaryFolder tempFolder = new TemporaryFolder();

/** Root path of the Test Resources */
private static final String resourcesRootPath = "src/main/resources/OpenAPITest/";

/** Line separator, e.g. for windows '\r\n' */
public static final String LINE_SEPARATOR = java.lang.System.getProperty("line.separator");

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not so easy to follow changes, please put a reformat in a separate commit.

withEnvironmentVariable(ConfigurationConstants.CONFIG_ENV_HOME, tmpProject.getParentFile().getAbsolutePath())
.execute(() -> testBasicOpenAPIGenerationWithAdaptTemplates());
}
// EclipseCobiGenUtils.runAndCaptureUpdateTemplates(bot);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this commented out code for?

* @throws Exception test fails
*/
@Test
@Ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should always be an explanation why a particular test is being ignored. It is probably because of the TODO?

@NelsonNew NelsonNew mentioned this pull request Feb 23, 2023
3 tasks
@jan-vcapgemini jan-vcapgemini changed the title #1509 Restored original code for adaptTemplatesAndGenerate Test #1509 Adapt template sets in Eclipse Mar 13, 2023
jan-vcapgemini and others added 3 commits March 22, 2023 18:58
…test

# Conflicts:
#	cobigen-eclipse/cobigen-eclipse-test/src/main/java/com/devonfw/cobigen/eclipse/test/AdaptTemplatesTest.java
#	cobigen-eclipse/cobigen-eclipse/src/com/devonfw/cobigen/eclipse/common/tools/ResourcesPluginUtil.java
#	cobigen/cobigen-core-api/src/main/java/com/devonfw/cobigen/api/util/CobiGenPaths.java
…testBasicOpenAPIGenerationWithAdaptMonolithicTemplates
…testBasicOpenAPIGenerationWithAdaptMonolithicTemplates
@EduardKrieger
Copy link
Contributor

Closed cause of CLA problems, the new PR #1654 will continue the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants