This commit is contained in:
Simon Hanna 2017-03-13 13:42:20 +01:00
parent 172625b193
commit f7c944acc9
3 changed files with 27 additions and 0 deletions

View File

@ -49,6 +49,10 @@ class TestSongBeamerFileImport(SongImportTestHelper):
self.file_import([os.path.join(TEST_PATH, 'Lobsinget dem Herrn.sng')], self.file_import([os.path.join(TEST_PATH, 'Lobsinget dem Herrn.sng')],
self.load_external_result_data(os.path.join(TEST_PATH, 'Lobsinget dem Herrn.json'))) self.load_external_result_data(os.path.join(TEST_PATH, 'Lobsinget dem Herrn.json')))
def test_cp1252_encoded_file(self):
self.file_import([os.path.join(TEST_PATH, 'cp1252song.sng')],
self.load_external_result_data(os.path.join(TEST_PATH, 'cp1252song.json')))
class TestSongBeamerImport(TestCase): class TestSongBeamerImport(TestCase):
""" """

View File

@ -0,0 +1,8 @@
{
"title": "Some Song",
"authors": ["Author"],
"verses" : [
["Here are a couple of \"weird\" chars.\n", "v"],
["Here is another one….\n\n", "v"]
]
}

View File

@ -0,0 +1,15 @@
#LangCount=1
#Editor=SongBeamer 4.28a
#Version=3
#Format=F/K//
#TitleFormat=U
#Title=Some Song
#Author=Author
#Melody=Author
#(c)=No copyright
#CCLI=0000000000
---
Here are a couple of "weird" chars.
---
Here is another one….