diff options
Diffstat (limited to 'tests/files')
-rw-r--r-- | tests/files/dual-dialogue.fountain.fdx | 21 | ||||
-rw-r--r-- | tests/files/indentation.fountain | 11 | ||||
-rw-r--r-- | tests/files/indentation.fountain.fdx | 24 | ||||
-rw-r--r-- | tests/files/indentation.fountain.html | 6 | ||||
-rw-r--r-- | tests/files/utf-8-bom.fountain | 18 | ||||
-rw-r--r-- | tests/files/utf-8-bom.fountain.fdx | 43 | ||||
-rw-r--r-- | tests/files/utf-8-bom.fountain.html | 6 |
7 files changed, 129 insertions, 0 deletions
diff --git a/tests/files/dual-dialogue.fountain.fdx b/tests/files/dual-dialogue.fountain.fdx new file mode 100644 index 0000000..16d022e --- /dev/null +++ b/tests/files/dual-dialogue.fountain.fdx @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<FinalDraft DocumentType="Script" Template="No" Version="1"> + <Content> + <Paragraph> + <DualDialogue> + <Paragraph Type="Character"> + <Text>GIRL</Text> + </Paragraph> + <Paragraph Type="Dialogue"> + <Text>Hey!</Text> + </Paragraph> + <Paragraph Type="Character"> + <Text>GUY</Text> + </Paragraph> + <Paragraph Type="Dialogue"> + <Text>Hello!</Text> + </Paragraph> + </DualDialogue> + </Paragraph> + </Content> +</FinalDraft> diff --git a/tests/files/indentation.fountain b/tests/files/indentation.fountain new file mode 100644 index 0000000..1640032 --- /dev/null +++ b/tests/files/indentation.fountain @@ -0,0 +1,11 @@ +EXT. INDENTATION TEST + + Four spaces + + Three spaces + + Two spaces + + One space + +No spaces diff --git a/tests/files/indentation.fountain.fdx b/tests/files/indentation.fountain.fdx new file mode 100644 index 0000000..958417f --- /dev/null +++ b/tests/files/indentation.fountain.fdx @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<FinalDraft DocumentType="Script" Template="No" Version="1"> + + <Content> + <Paragraph Type="Scene Heading"> + <Text>EXT. INDENTATION TEST</Text> + </Paragraph> + <Paragraph Type="Action"> + <Text> Four spaces</Text> + </Paragraph> + <Paragraph Type="Action"> + <Text> Three spaces</Text> + </Paragraph> + <Paragraph Type="Action"> + <Text> Two spaces</Text> + </Paragraph> + <Paragraph Type="Action"> + <Text> One space</Text> + </Paragraph> + <Paragraph Type="Action"> + <Text>No spaces</Text> + </Paragraph> + </Content> +</FinalDraft> diff --git a/tests/files/indentation.fountain.html b/tests/files/indentation.fountain.html new file mode 100644 index 0000000..491b515 --- /dev/null +++ b/tests/files/indentation.fountain.html @@ -0,0 +1,6 @@ +<h6>EXT. INDENTATION TEST</h6> +<div class="action"><p> Four spaces</p></div> +<div class="action"><p> Three spaces</p></div> +<div class="action"><p> Two spaces</p></div> +<div class="action"><p> One space</p></div> +<div class="action"><p>No spaces</p></div> diff --git a/tests/files/utf-8-bom.fountain b/tests/files/utf-8-bom.fountain new file mode 100644 index 0000000..ddfe1f9 --- /dev/null +++ b/tests/files/utf-8-bom.fountain @@ -0,0 +1,18 @@ +EXT. SOMEWHERE - DAY
+
+GUY and GURL walk down the street.
+
+It's a sunny day.
+Sunnier than normal.
+Too sunny to be funny.
+
+GUY
+So what's up?
+
+GURL
+Nothing much.
+Just thinking.
+And you?
+
+GUY
+Nothing.
\ No newline at end of file diff --git a/tests/files/utf-8-bom.fountain.fdx b/tests/files/utf-8-bom.fountain.fdx new file mode 100644 index 0000000..9701f3a --- /dev/null +++ b/tests/files/utf-8-bom.fountain.fdx @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<FinalDraft DocumentType="Script" Template="No" Version="1"> + + <Content> + <Paragraph Type="Scene Heading"> + <Text>EXT. SOMEWHERE - DAY</Text> + </Paragraph> + <Paragraph Type="Action"> + <Text>GUY and GURL walk down the street.</Text> + </Paragraph> + <Paragraph Type="Action"> + <Text>It's a sunny day. +</Text> + <Text>Sunnier than normal. +</Text> + <Text>Too sunny to be funny.</Text> + </Paragraph> + <Paragraph Type="Character"> + <Text>GUY</Text> + </Paragraph> + <Paragraph Type="Dialogue"> + <Text>So what's up?</Text> + </Paragraph> + <Paragraph Type="Character"> + <Text>GURL</Text> + </Paragraph> + <Paragraph Type="Dialogue"> + <Text>Nothing much.</Text> + </Paragraph> + <Paragraph Type="Dialogue"> + <Text>Just thinking.</Text> + </Paragraph> + <Paragraph Type="Dialogue"> + <Text>And you?</Text> + </Paragraph> + <Paragraph Type="Character"> + <Text>GUY</Text> + </Paragraph> + <Paragraph Type="Dialogue"> + <Text>Nothing.</Text> + </Paragraph> + </Content> +</FinalDraft> diff --git a/tests/files/utf-8-bom.fountain.html b/tests/files/utf-8-bom.fountain.html new file mode 100644 index 0000000..70043dd --- /dev/null +++ b/tests/files/utf-8-bom.fountain.html @@ -0,0 +1,6 @@ +<h6>EXT. SOMEWHERE - DAY</h6> +<div class="action"><p>GUY and GURL walk down the street.</p></div> +<div class="action"><p>It's a sunny day.<br/>Sunnier than normal.<br/>Too sunny to be funny.</p></div> +<div class="dialog"><p class="character">GUY</p><p>So what's up?</p></div> +<div class="dialog"><p class="character">GURL</p><p>Nothing much.</p><p>Just thinking.</p><p>And you?</p></div> +<div class="dialog"><p class="character">GUY</p><p>Nothing.</p></div> |