summaryrefslogtreecommitdiff
path: root/test/recursive.xml
diff options
context:
space:
mode:
authorChoe Hwanjin <choe.hwanjin@gmail.com>2018-06-05 12:29:02 +0900
committerChoe Hwanjin <choe.hwanjin@gmail.com>2018-06-05 12:29:02 +0900
commite97db746cc84f9338eb60b0aa60c3b22a0aea04a (patch)
tree6854b8dcec3ef787d7aefb6db2b3fa312146afd9 /test/recursive.xml
parent2222deef90efd70dbe4800317211f3c18d403923 (diff)
downloadlibhangul-e97db746cc84f9338eb60b0aa60c3b22a0aea04a.tar.gz
키보드 파일을 로딩시 재귀호출 테스트 코드 추가
키보드 파일이 자기자신을 include한 경우에대한 테스트 코드 추가한다. 관련 api hangul_keyboard_new_from_file()도 추가하고 샘플 키보드 파일 recursive.xml을 추가한다.
Diffstat (limited to 'test/recursive.xml')
-rw-r--r--test/recursive.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/recursive.xml b/test/recursive.xml
new file mode 100644
index 0000000..cd2ab15
--- /dev/null
+++ b/test/recursive.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<hangul-keyboard id="recursive" type="jamo">
+
+ <name>Recursive</name>
+
+ <map id="0">
+ <item key="0x20" value="0x0020"/>
+ </map>
+
+ <include file="recursive.xml"/>
+
+</hangul-keyboard>