-
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 #59 from EvoEsports/feature/fallthrough-attributes
Feature/fallthrough attributes
- Loading branch information
Showing
8 changed files
with
131 additions
and
52 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 was deleted.
Oops, something went wrong.
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
10 changes: 10 additions & 0 deletions
10
tests/ManiaTemplates.Tests/IntegrationTests/expected/fallthrough-test.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,10 @@ | ||
<manialink version="3" id="MtFallthroughTest" name="EvoSC#-MtFallthroughTest"> | ||
<frame size="20 11" data-test="unit0" datatest="1"> | ||
</frame> | ||
<frame size="20 11" data-test="unit1" datatest="2"> | ||
</frame> | ||
<frame size="20 11" data-test="unit2" datatest="3"> | ||
</frame> | ||
<frame /> | ||
<frame /> | ||
</manialink> |
8 changes: 8 additions & 0 deletions
8
tests/ManiaTemplates.Tests/IntegrationTests/templates/component-multiple-elements.mt
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,8 @@ | ||
<component> | ||
<template> | ||
<frame> | ||
</frame> | ||
<frame> | ||
</frame> | ||
</template> | ||
</component> |
12 changes: 12 additions & 0 deletions
12
tests/ManiaTemplates.Tests/IntegrationTests/templates/fallthrough-attributes.mt
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,12 @@ | ||
<component> | ||
<using namespace="System.Linq" /> | ||
<import component="Wrapper" as="Wrapper" /> | ||
<import component="MultiChild" as="MultiChild" /> | ||
|
||
<template> | ||
<Wrapper foreach="int i in Enumerable.Range(1, 3)" | ||
data-test="unit{{ __index }}" | ||
datatest="{{ i }}" /> | ||
<MultiChild data-test="nope" /> | ||
</template> | ||
</component> |
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