Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
b010e2e4
Commit
b010e2e4
authored
Mar 23, 2011
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testcase: try to load a 2.0.0 format file
parent
7dfec321
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
110 additions
and
1 deletion
+110
-1
tests/script/expected-out/simple-magic-2.0.0.txt
tests/script/expected-out/simple-magic-2.0.0.txt
+19
-0
tests/script/run-tests.pl
tests/script/run-tests.pl
+1
-1
tests/script/simple-magic-2.0.0.mse-set/card issue 59
tests/script/simple-magic-2.0.0.mse-set/card issue 59
+15
-0
tests/script/simple-magic-2.0.0.mse-set/card my simple card
tests/script/simple-magic-2.0.0.mse-set/card my simple card
+17
-0
tests/script/simple-magic-2.0.0.mse-set/card other style
tests/script/simple-magic-2.0.0.mse-set/card other style
+21
-0
tests/script/simple-magic-2.0.0.mse-set/image1
tests/script/simple-magic-2.0.0.mse-set/image1
+0
-0
tests/script/simple-magic-2.0.0.mse-set/set
tests/script/simple-magic-2.0.0.mse-set/set
+37
-0
No files found.
tests/script/expected-out/simple-magic-2.0.0.txt
0 → 100644
View file @
b010e2e4
Full Spoiler List for Simple Magic test Set
Set by
This is a longer description,
of the set.
[b]Issue #59[/b]
Card — Type :common:
Käwörd [i](Trigger issue #59?)[/i]
[b]Other Style[/b] 2UU
Creature — Right side up :common:
This is a flip card
[b]My simple card[/b] 2RR
Creature — Flower :uncommon:
T: My simple card deals 1 damage to target player.
[i]Flavor is italic.[/i]
tests/script/run-tests.pl
View file @
b010e2e4
...
...
@@ -34,7 +34,7 @@ test_case("script/Magic Funcions", sub{
test_case
("
compatability/2.0.0
",
sub
{
mkdir
("
out
");
run_export_test
("
magic-forum
",
"
simple-magic-2.0.0.mse-set
",
"
out/simple-magic-2.0.0.txt
",
cleanup
=>
1
);
compare_files
("
out/
compat
2.0.0.txt
",
"
expected-out/simple-magic-2.0.0.txt
");
compare_files
("
out/
simple-magic-
2.0.0.txt
",
"
expected-out/simple-magic-2.0.0.txt
");
});
1
;
tests/script/simple-magic-2.0.0.mse-set/card issue 59
0 → 100644
View file @
b010e2e4
mse_version: 2.0.0
card:
has_styling: false
notes:
time_created: 2011-01-10 20:05:21
time_modified: 2011-01-10 20:34:52
name: Issue #59
image:
super_type: <word-list-type>Card</word-list-type>
sub_type: Type
rule_text: <kw-A><nospellcheck>Käwörd</nospellcheck><atom-reminder-custom> <i-auto>(Trigger issue <error-spelling:en_us:/magic.mse-game/magic-words>#59</error-spelling:en_us:/magic.mse-game/magic-words>?)</i-auto></atom-reminder-custom></kw-A>
flavor_text: <i-flavor></i-flavor>
copyright:
image_2:
copyright_2:
tests/script/simple-magic-2.0.0.mse-set/card my simple card
0 → 100644
View file @
b010e2e4
mse_version: 2.0.0
card:
has_styling: false
notes:
time_created: 2010-10-06 23:15:08
time_modified: 2010-10-06 23:18:15
name: My simple card
casting_cost: 2RR
image: image1
super_type: <word-list-type>Creature</word-list-type>
sub_type: <word-list-race>Flower</word-list-race><soft> </soft><word-list-class></word-list-class>
rarity: uncommon
rule_text: <sym-auto>T</sym-auto>: <atom-cardname><nospellcheck>My simple card</nospellcheck></atom-cardname> deals 1 damage to target player.
flavor_text: <i-flavor>Flavor is italic.</i-flavor>
copyright: (C) 2010 Twan van Laarhoven
image_2:
copyright_2:
tests/script/simple-magic-2.0.0.mse-set/card other style
0 → 100644
View file @
b010e2e4
mse_version: 2.0.0
card:
stylesheet: new-flip
has_styling: false
notes:
time_created: 2011-03-23 17:34:08
time_modified: 2011-03-23 17:34:47
name: Other Style
casting_cost: 2UU
image:
super_type: <word-list-type>Creature</word-list-type>
sub_type: <word-list-race>Right</word-list-race> <word-list-class>side</word-list-class> <word-list-class>up</word-list-class><soft> </soft><word-list-class></word-list-class>
rule_text: This is a flip card
flavor_text: <i-flavor></i-flavor>
copyright: (C) 2010 Twan van Laarhoven
image_2:
super_type_2: <word-list-type>Creature</word-list-type>
sub_type_2: <word-list-race>Flipped</word-list-race><soft> </soft><word-list-class></word-list-class>
rule_text_2: Flipped text
flavor_text_2: <i-flavor></i-flavor>
copyright_2: (C) 2010 Twan van Laarhoven
tests/script/simple-magic-2.0.0.mse-set/image1
0 → 100644
View file @
b010e2e4
File added
tests/script/simple-magic-2.0.0.mse-set/set
0 → 100644
View file @
b010e2e4
mse_version: 0.3.8
game: magic
stylesheet: new
set_info:
title: Simple Magic test Set
description:
This is a longer description,
of the set.
artist: the Artist
copyright: (C) 2010 Twan van Laarhoven
symbol:
styling:
magic-new:
text_box_mana_symbols: magic-mana-small.mse-symbol-font
overlay:
magic-new-flip:
text_box_mana_symbols: magic-mana-small.mse-symbol-font
overlay:
magic-new-textless-land: overlay:
include_file: card my simple card
include_file: card issue 59
include_file: card other style
keyword:
keyword: Käwörd
match: Käwörd
reminder: Trigger issue #59?
rules:
mode: custom
keyword:
keyword: Ploink
match: Ploink
reminder: {if has_pt() then "This creature" else "it"} can attack tapped or untapped and can only be blocked by creatures in the same state.
rules:
mode: custom
version_control:
type: none
apprentice_code:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment