-
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.
Merge pull request #10 from CrossBreezeNL/feature/new-icon
Update CrossGenerate icon and prepare release v3.4.0
- Loading branch information
Showing
10 changed files
with
107 additions
and
23 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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Binary file modified
BIN
-10.4 KB
(19%)
XGenerate/src/main/resources/com/xbreeze/xgenerate/gui/x-generate-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
57 changes: 57 additions & 0 deletions
57
...Test/src/test/resources/features/unit/commandline/Unit_CommandLine_ProgressScreen.feature
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,57 @@ | ||
@Unit | ||
Feature: Unit_CommandLine_ProgressScreen | ||
In this feature we'll test the progress screen feature. | ||
|
||
Background: | ||
Given I have the following model: | ||
""" | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<entities> | ||
<entity name="A"/> | ||
<entity name="B"/> | ||
<entity name="C"/> | ||
</entities> | ||
""" | ||
# In the below template we have an unbounded section to make sure there is a warning in the console/log output. | ||
And the following template named "Unit_Config_Template_OutputType_table_name.txt": | ||
""" | ||
table_name | ||
-- @XGenTextSection(name='UnboundedSection') | ||
Unbounded section contents. | ||
""" | ||
And the following config: | ||
""" | ||
<XGenConfig> | ||
<Model/> | ||
<TextTemplate rootSectionName="Template"> | ||
<FileFormat singleLineCommentPrefix="--" /> | ||
<Output type="single_output" /> | ||
</TextTemplate> | ||
<Binding> | ||
<SectionModelBinding section="Template" modelXPath="/entities/entity" placeholderName="table" /> | ||
</Binding> | ||
</XGenConfig> | ||
""" | ||
And the following app config: | ||
""" | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<XGenAppConfig> | ||
<App> | ||
<ConfigFolder>C:\git\GitHub\CrossGenerate\XGenerateTest\src\test\resources\feature-support-files\Config\</ConfigFolder> | ||
<ModelFolder>C:\git\GitHub\CrossGenerate\XGenerateTest\src\test\resources\feature-support-files\Model\</ModelFolder> | ||
<OutputFolder>C:\CrossGenerate\Test\Output\</OutputFolder> | ||
<TemplateFolder>C:\git\GitHub\CrossGenerate\XGenerateTest\src\test\resources\feature-support-files\Template\</TemplateFolder> | ||
</App> | ||
</XGenAppConfig> | ||
""" | ||
And the directory "C:\CrossGenerate\Test\Log" is empty. | ||
|
||
Scenario: Generate with progress screen | ||
Given the following additional comma separated commandline arguments: | ||
""" | ||
-ps, true | ||
""" | ||
When I run the generator | ||
Then I expect 1 generation result | ||
And no log file | ||
And I expect exit code 0 |