forked from devonfw/cobigen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added logic to testTemplateSetNameIsShownCorrectly removed template set install status next to install button added updateTemplateSetInstallStatus method to DetailsController
- Loading branch information
1 parent
81175fd
commit a410cdc
Showing
6 changed files
with
127 additions
and
25 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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
41 changes: 41 additions & 0 deletions
41
cobigen/gui/src/test/resources/testdata/unittests/TemplateSetDetailsTest/template-set.xml
This file contains 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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<templateSetConfiguration xmlns="http://capgemini.com/devonfw/cobigen/TemplateSetConfiguration" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="6.0"> | ||
<contextConfiguration> | ||
<trigger id="crud_java_server_app" type="java"> | ||
<matcher type="fqn" value="*"> | ||
</matcher> | ||
</trigger> | ||
|
||
<tags> | ||
<tag name="Tag1"></tag> | ||
<tag name="Tag2"></tag> | ||
</tags> | ||
<links> | ||
<link | ||
url="https://docs.spring.io/spring-data/data-commons/docs/1.6.1.RELEASE/reference/html/repositories.html"></link> | ||
</links> | ||
</contextConfiguration> | ||
|
||
<templatesConfiguration> | ||
<templates> | ||
<templateExtension ref="${variables.entityName}Entity.java" mergeStrategy="javamerge"/> | ||
<templateExtension ref="${variables.entityName}.java" mergeStrategy="javamerge"/> | ||
</templates> | ||
|
||
<templateScans> | ||
<templateScan templatePath="templates" destinationPath="src/main"/> | ||
</templateScans> | ||
|
||
<increments> | ||
<increment name="inrement1" description="Description of increment 1" | ||
explanation="Explanation of increment 1"> | ||
<templateRef ref="${variables.entityName}Repository.java"/> | ||
</increment> | ||
<increment name="inrement2" description="Description of increment 2" | ||
explanation="Explanation of increment 2"> | ||
<templateRef ref="${variables.entityName}Repository.java"/> | ||
</increment> | ||
</increments> | ||
</templatesConfiguration> | ||
</templateSetConfiguration> |