diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-01-12 00:45:17 +0900 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-01-13 12:12:13 +0000 |
commit | 9b87116fa4c5873fa719468f775589edd6c8613c (patch) | |
tree | c495ae1adf2f009ee065b5c7c0f5466e1c9dc104 /starmath/qa/extras/data | |
parent | 5e4a7a95027d979b3bdd729d7ebe950da1129b2b (diff) |
fdo#70185: starmath: unit test writing
This adds a unit test of importing a simple MathML file.
New smdllapi.hxx defines a macro SM_DLLPUBLIC to turn on
visibility of symbols required from a CppunitTest.
Change-Id: I4f72d7d8f2766751580e5bde7dac4870e8dad62a
Reviewed-on: https://gerrit.libreoffice.org/13861
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'starmath/qa/extras/data')
-rw-r--r-- | starmath/qa/extras/data/simple.mml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/starmath/qa/extras/data/simple.mml b/starmath/qa/extras/data/simple.mml new file mode 100644 index 000000000000..822d1a709668 --- /dev/null +++ b/starmath/qa/extras/data/simple.mml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<math xmlns="http://www.w3.org/1998/Math/MathML"> + <msup> + <mfenced> + <mrow> + <mi>a</mi> + <mo>+</mo> + <mi>b</mi> + </mrow> + </mfenced> + <mn>2</mn> + </msup> +</math> |