diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-08-10 02:10:49 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-08-11 23:35:46 +0200 |
| commit | c259338463b394e61504ff0e232b0ba102c1eda2 (patch) | |
| tree | c2ef8349a741f579e6aa57fccdb875354576ae9d /test/data | |
| parent | 4f9802e8a7225fc1b3db105b45e3688a64af3588 (diff) | |
Add verify check for empty <Text> nodes in timed text.
Diffstat (limited to 'test/data')
| -rw-r--r-- | test/data/empty_but_with_children.xml | 2 | ||||
| -rw-r--r-- | test/data/empty_text.mxf | bin | 0 -> 158277 bytes | |||
| -rw-r--r-- | test/data/empty_with_empty_children.xml | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/test/data/empty_but_with_children.xml b/test/data/empty_but_with_children.xml new file mode 100644 index 00000000..74f3ddb5 --- /dev/null +++ b/test/data/empty_but_with_children.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<DCSubtitle Version="1.0"><SubtitleID>04a77cb2-3d44-4fea-8817-ce9feb5ad79b</SubtitleID><MovieTitle>DCP</MovieTitle><ReelNumber>1</ReelNumber><Language>Unknown</Language><LoadFont Id="font0" URI="font_0.ttf"/><Font AspectAdjust="1.0" Color="FFFFFFFF" Effect="none" EffectColor="FF000000" Id="font0" Script="normal" Size="42" Underlined="no" Weight="normal"><Subtitle SpotNumber="1" TimeIn="00:00:00:208" TimeOut="00:00:06:031" FadeUpTime="0" FadeDownTime="0"><Text VAlign="bottom" VPosition="10"><Font Italic="no">This</Font><Font Italic="yes"> is </Font><Font Italic="no">wrong.</Font></Text></Subtitle></Font></DCSubtitle> diff --git a/test/data/empty_text.mxf b/test/data/empty_text.mxf Binary files differnew file mode 100644 index 00000000..b60c04a4 --- /dev/null +++ b/test/data/empty_text.mxf diff --git a/test/data/empty_with_empty_children.xml b/test/data/empty_with_empty_children.xml new file mode 100644 index 00000000..1e58f20b --- /dev/null +++ b/test/data/empty_with_empty_children.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<DCSubtitle Version="1.0"><SubtitleID>04a77cb2-3d44-4fea-8817-ce9feb5ad79b</SubtitleID><MovieTitle>DCP</MovieTitle><ReelNumber>1</ReelNumber><Language>Unknown</Language><LoadFont Id="font0" URI="font_0.ttf"/><Font AspectAdjust="1.0" Color="FFFFFFFF" Effect="none" EffectColor="FF000000" Id="font0" Script="normal" Size="42" Underlined="no" Weight="normal"><Subtitle SpotNumber="1" TimeIn="00:00:00:208" TimeOut="00:00:06:031" FadeUpTime="0" FadeDownTime="0"><Text VAlign="bottom" VPosition="10"><Font Italic="no"></Font><Font Italic="yes"></Font><Font Italic="no"></Font></Text></Subtitle></Font></DCSubtitle> |
