Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: pptx rendering #161

Merged
merged 12 commits into from
May 21, 2024

add test for parsing presentation

92f781f
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

fix: pptx rendering #161

add test for parsing presentation
92f781f
Select commit
Loading
Failed to load commit list.
GitHub Actions / Unit Tests succeeded May 21, 2024 in 0s

204 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
target/surefire-reports/TEST-io.github.erdos.stencil.APITest.xml 2✅ 24ms
target/surefire-reports/TEST-io.github.erdos.stencil.functions.BasicFunctionsTest.xml 3✅ 2ms
target/surefire-reports/TEST-io.github.erdos.stencil.functions.DateFunctionsTest.xml 3✅ 110ms
target/surefire-reports/TEST-io.github.erdos.stencil.functions.FunctionEvaluatorTest.xml 1✅ 1ms
target/surefire-reports/TEST-io.github.erdos.stencil.functions.LocaleFunctionsTest.xml 2✅ 51ms
target/surefire-reports/TEST-io.github.erdos.stencil.functions.NumberFunctionsTest.xml 3✅ 2ms
target/surefire-reports/TEST-io.github.erdos.stencil.functions.StringFunctionsTest.xml 1✅ 2ms
target/surefire-reports/TEST-io.github.erdos.stencil.impl.DirWatcherTemplateFactoryTest.xml 2✅ 6s
target/surefire-reports/TEST-io.github.erdos.stencil.scenarios.LoopTest.xml 1✅ 37ms
target/surefire-reports/TEST-io.github.erdos.stencil.scenarios.SemanticErrorsTest.xml 1✅ 0ms
target/surefire-reports/TEST-io.github.erdos.stencil.scenarios.SyntaxErrorsTest.xml 1✅ 1ms
target/surefire-reports/TEST-io.github.erdos.stencil.scenarios.TableColumnsTest.xml 4✅ 354ms
target/surefire-reports/TEST-io.github.erdos.stencil.scenarios.VariablesTest.xml 2✅ 2s
target/surefire-reports/TEST-io.github.erdos.stencil.standalone.ArgsParserTest.xml 3✅ 1ms
target/surefire-reports/TEST-io.github.erdos.stencil.standalone.JsonParserTest.xml 15✅ 6ms
target/surefire-reports/TEST-io.github.erdos.stencil.standalone.StencilArgsParserTest.xml 6✅ 5ms
target/surefire-reports/TEST-io.github.erdos.stencil.TemplateVariablesTest.xml 4✅ 6ms
target/surefire-reports/TEST-stencil.api-test.xml 12✅ 822ms
target/surefire-reports/TEST-stencil.cleanup-test.xml 11✅ 12ms
target/surefire-reports/TEST-stencil.errors.xml 7✅ 123ms
target/surefire-reports/TEST-stencil.eval-test.xml 4✅ 4ms
target/surefire-reports/TEST-stencil.fs-test.xml 4✅ 5ms
target/surefire-reports/TEST-stencil.functions-test.xml 9✅ 45ms
target/surefire-reports/TEST-stencil.ignored-tag-test.xml 4✅ 7ms
target/surefire-reports/TEST-stencil.infix-test.xml 22✅ 76ms
target/surefire-reports/TEST-stencil.integration.xml 0ms
target/surefire-reports/TEST-stencil.log-test.xml 1✅ 10ms
target/surefire-reports/TEST-stencil.merger-test.xml 5✅ 22ms
target/surefire-reports/TEST-stencil.model-test.xml 2✅ 373ms
target/surefire-reports/TEST-stencil.model.numbering-test.xml 3✅ 3ms
target/surefire-reports/TEST-stencil.postprocess.fragments-test.xml 1✅ 1ms
target/surefire-reports/TEST-stencil.postprocess.html-test.xml 3✅ 30ms
target/surefire-reports/TEST-stencil.postprocess.list-ref-test.xml 14✅ 3s
target/surefire-reports/TEST-stencil.postprocess.table-test.xml 1✅ 3ms
target/surefire-reports/TEST-stencil.postprocess.whitespaces-test.xml 3✅ 7ms
target/surefire-reports/TEST-stencil.process-test.xml 2✅ 3ms
target/surefire-reports/TEST-stencil.tokenizer-test.xml 11✅ 8ms
target/surefire-reports/TEST-stencil.tree-postprocess-test.xml 14✅ 19ms
target/surefire-reports/TEST-stencil.util-test.xml 17✅ 17ms
target/surefire-reports/TEST-stencil.various.xml 0ms
target/surefire-reports/TEST-stencil.visual.xml 1ms

✅ target/surefire-reports/TEST-io.github.erdos.stencil.APITest.xml

2 tests were completed in 24ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.APITest 2✅ 24ms

✅ io.github.erdos.stencil.APITest

✅ testWithoutCustomFunction
✅ testCustomFunction

✅ target/surefire-reports/TEST-io.github.erdos.stencil.functions.BasicFunctionsTest.xml

3 tests were completed in 2ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.functions.BasicFunctionsTest 3✅ 2ms

✅ io.github.erdos.stencil.functions.BasicFunctionsTest

✅ testEmpty
✅ testCoalesce
✅ testSwitch

✅ target/surefire-reports/TEST-io.github.erdos.stencil.functions.DateFunctionsTest.xml

3 tests were completed in 110ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.functions.DateFunctionsTest 3✅ 110ms

✅ io.github.erdos.stencil.functions.DateFunctionsTest

✅ testDate1
✅ testNonParseable
✅ testNullCases

✅ target/surefire-reports/TEST-io.github.erdos.stencil.functions.FunctionEvaluatorTest.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.functions.FunctionEvaluatorTest 1✅ 1ms

✅ io.github.erdos.stencil.functions.FunctionEvaluatorTest

✅ allFunctionsMustBeNullSafe

✅ target/surefire-reports/TEST-io.github.erdos.stencil.functions.LocaleFunctionsTest.xml

2 tests were completed in 51ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.functions.LocaleFunctionsTest 2✅ 51ms

✅ io.github.erdos.stencil.functions.LocaleFunctionsTest

✅ testPercent
✅ testCurrency

✅ target/surefire-reports/TEST-io.github.erdos.stencil.functions.NumberFunctionsTest.xml

3 tests were completed in 2ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.functions.NumberFunctionsTest 3✅ 2ms

✅ io.github.erdos.stencil.functions.NumberFunctionsTest

✅ testFloor
✅ testRound
✅ testCeil

✅ target/surefire-reports/TEST-io.github.erdos.stencil.functions.StringFunctionsTest.xml

1 tests were completed in 2ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.functions.StringFunctionsTest 1✅ 2ms

✅ io.github.erdos.stencil.functions.StringFunctionsTest

✅ testJoin

✅ target/surefire-reports/TEST-io.github.erdos.stencil.impl.DirWatcherTemplateFactoryTest.xml

2 tests were completed in 6s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.impl.DirWatcherTemplateFactoryTest 2✅ 6s

✅ io.github.erdos.stencil.impl.DirWatcherTemplateFactoryTest

✅ testFileChange
✅ testFileChange2

✅ target/surefire-reports/TEST-io.github.erdos.stencil.scenarios.LoopTest.xml

1 tests were completed in 37ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.scenarios.LoopTest 1✅ 37ms

✅ io.github.erdos.stencil.scenarios.LoopTest

✅ testLoop1

✅ target/surefire-reports/TEST-io.github.erdos.stencil.scenarios.SemanticErrorsTest.xml

1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.scenarios.SemanticErrorsTest 1✅ 0ms

✅ io.github.erdos.stencil.scenarios.SemanticErrorsTest

✅ testSyntaxError1

✅ target/surefire-reports/TEST-io.github.erdos.stencil.scenarios.SyntaxErrorsTest.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.scenarios.SyntaxErrorsTest 1✅ 1ms

✅ io.github.erdos.stencil.scenarios.SyntaxErrorsTest

✅ testSyntaxError1

✅ target/surefire-reports/TEST-io.github.erdos.stencil.scenarios.TableColumnsTest.xml

4 tests were completed in 354ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.scenarios.TableColumnsTest 4✅ 354ms

✅ io.github.erdos.stencil.scenarios.TableColumnsTest

✅ testHidingColumnAll
✅ testAllColumnsVisible
✅ testHidingColumn1
✅ testHidingColumn2

✅ target/surefire-reports/TEST-io.github.erdos.stencil.scenarios.VariablesTest.xml

2 tests were completed in 2s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.scenarios.VariablesTest 2✅ 2s

✅ io.github.erdos.stencil.scenarios.VariablesTest

✅ testConditionals1
✅ testConditionals2

✅ target/surefire-reports/TEST-io.github.erdos.stencil.standalone.ArgsParserTest.xml

3 tests were completed in 1ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.standalone.ArgsParserTest 3✅ 1ms

✅ io.github.erdos.stencil.standalone.ArgsParserTest

✅ testArgUnexpected
✅ testFlags
✅ testArgLongForm

✅ target/surefire-reports/TEST-io.github.erdos.stencil.standalone.JsonParserTest.xml

15 tests were completed in 6ms with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.standalone.JsonParserTest 15✅ 6ms

✅ io.github.erdos.stencil.standalone.JsonParserTest

✅ readNumberNegativeTest
✅ readVecTestEmpty
✅ expectWordTest
✅ readVecTestSimple
✅ readMapTestSimple
✅ readVecTestUnit
✅ expectWordFailureTest
✅ readNumberTest2
✅ readScalarsTest
✅ readMapTestComplex
✅ readNumberTest
✅ testReadStr
✅ expectWordFailureTest2
✅ readMapWithNegativeValue
✅ readMapTestEmpty

✅ target/surefire-reports/TEST-io.github.erdos.stencil.standalone.StencilArgsParserTest.xml

6 tests were completed in 5ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.standalone.StencilArgsParserTest 6✅ 5ms

✅ io.github.erdos.stencil.standalone.StencilArgsParserTest

✅ parseEmpty
✅ parseOverride
✅ parseHelpAndVersion
✅ parseOverrideError
✅ parseFilesOnly1
✅ parseFilesOnly2

✅ target/surefire-reports/TEST-io.github.erdos.stencil.TemplateVariablesTest.xml

4 tests were completed in 6ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.github.erdos.stencil.TemplateVariablesTest 4✅ 6ms

✅ io.github.erdos.stencil.TemplateVariablesTest

✅ testArray
✅ testSimple
✅ testNestedArray
✅ testNestedArraySimple

✅ target/surefire-reports/TEST-stencil.api-test.xml

12 tests were completed in 822ms with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.api-test 12✅ 822ms

✅ stencil.api-test

✅ test-custom-function
✅ test-multipart
✅ test-prepare-fragment-names
✅ test-prepare-variable-names
✅ test-image
✅ test-link
✅ test-fragment
✅ test-prepare-nil
✅ test-prepare+render+cleanup
✅ test-render-with-fragments
✅ test-cleanup-fails
✅ test-fragment-nil

✅ target/surefire-reports/TEST-stencil.cleanup-test.xml

11 tests were completed in 12ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.cleanup-test 11✅ 12ms

✅ stencil.cleanup-test

✅ stack-revert-close-test
✅ tokens->ast-test
✅ normal-ast-test-condition-only-then
✅ test-find-variables
✅ test-process-if-then-else
✅ normal-ast-test-0-deep
✅ normal-ast-test-0
✅ normal-ast-test-1
✅ test-normal-ast-for-loop-1
✅ tokens->ast-if-test
✅ test-process-if-nested

✅ target/surefire-reports/TEST-stencil.errors.xml

7 tests were completed in 123ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.errors 7✅ 123ms

✅ stencil.errors

✅ test-missing-end
✅ test-arithmetic-errors
✅ test-not-closed
✅ test-parsing-errors
✅ test-evaluation-errors
✅ test-unexpected-cmd
✅ test-unexpected-else

✅ target/surefire-reports/TEST-stencil.eval-test.xml

4 tests were completed in 4ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.eval-test 4✅ 4ms

✅ stencil.eval-test

✅ test-echo
✅ test-for
✅ test-if
✅ test-no-change

✅ target/surefire-reports/TEST-stencil.fs-test.xml

4 tests were completed in 5ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.fs-test 4✅ 5ms

✅ stencil.fs-test

✅ test-exists?
✅ test-directory?
✅ test-unix-path
✅ test-unroll

✅ target/surefire-reports/TEST-stencil.functions-test.xml

9 tests were completed in 45ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.functions-test 9✅ 45ms

✅ stencil.functions-test

✅ test-replace
✅ test-join-and
✅ test-format
✅ test-replace-image
✅ test-list
✅ test-numerics
✅ test-coalesce
✅ test-map
✅ test-date

✅ target/surefire-reports/TEST-stencil.ignored-tag-test.xml

4 tests were completed in 7ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.ignored-tag-test 4✅ 7ms

✅ stencil.ignored-tag-test

✅ test-ignored-tag-2
✅ test-ignored-tag-1
✅ with-pu-test
✅ test-ignored-tag-3

✅ target/surefire-reports/TEST-stencil.infix-test.xml

22 tests were completed in 76ms with 22 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.infix-test 22✅ 76ms

✅ stencil.infix-test

✅ operator-precedeces
✅ tokenize-string-literal
✅ range-function
✅ nested-field-access
✅ map-function
✅ basic-arithmetic
✅ test-read-string-literal
✅ test-colhide-expr
✅ tokenize-wrong-tokens
✅ parse-simple
✅ all-ops-supported
✅ logical-operators
✅ basic-string-operations
✅ sum-function
✅ unknown-function
✅ tokenize-string-fun-eq
✅ test-unexpected
✅ contains-function
✅ negativ-szamok
✅ tokenize-test
✅ coalesce-function
✅ length-function

✅ target/surefire-reports/TEST-stencil.integration.xml

No tests found

Test suite Passed Failed Skipped Time
stencil.integration 0ms

✅ target/surefire-reports/TEST-stencil.log-test.xml

1 tests were completed in 10ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.log-test 1✅ 10ms

✅ stencil.log-test

✅ test-logs

✅ target/surefire-reports/TEST-stencil.merger-test.xml

5 tests were completed in 22ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.merger-test 5✅ 22ms

✅ stencil.merger-test

✅ cleanup-runs-test
✅ text-split-tokens-test
✅ cleanup-runs_fragments-only
✅ peek-next-text-test
✅ find-first-code-test

✅ target/surefire-reports/TEST-stencil.model-test.xml

2 tests were completed in 373ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.model-test 2✅ 373ms

✅ stencil.model-test

✅ test-load-template-model
✅ test-load-template-model-presentation

✅ target/surefire-reports/TEST-stencil.model.numbering-test.xml

3 tests were completed in 3ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.model.numbering-test 3✅ 3ms

✅ stencil.model.numbering-test

✅ test-style-for-def
✅ test-style-for-def-with-abstract
✅ test-style-for-def-empty

✅ target/surefire-reports/TEST-stencil.postprocess.fragments-test.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.postprocess.fragments-test 1✅ 1ms

✅ stencil.postprocess.fragments-test

✅ test-split-paragraphs-1

✅ target/surefire-reports/TEST-stencil.postprocess.html-test.xml

3 tests were completed in 30ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.postprocess.html-test 3✅ 30ms

✅ stencil.postprocess.html-test

✅ test-fix-html-chunks-errors
✅ test-fix-html-chunks
✅ test-ooxml-runs

✅ target/surefire-reports/TEST-stencil.postprocess.list-ref-test.xml

14 tests were completed in 3s with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.postprocess.list-ref-test 14✅ 3s

✅ stencil.postprocess.list-ref-test

✅ render-number-chicago
✅ test-parse-instr-text
✅ render-number-decimal-zero
✅ test-integration-bookmark
✅ render-number-decimal
✅ test-pattern-rm-prefix-if-no-suffix
✅ render-list-relative
✅ test-find-elem
✅ test-locs-seq
✅ test-integration
✅ render-list-sanity
✅ render-number-upper-roman
✅ render-number-upper-letter
✅ test-integration-bookmark-missing

✅ target/surefire-reports/TEST-stencil.postprocess.table-test.xml

1 tests were completed in 3ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.postprocess.table-test 1✅ 3ms

✅ stencil.postprocess.table-test

✅ get-borders-test

✅ target/surefire-reports/TEST-stencil.postprocess.whitespaces-test.xml

3 tests were completed in 7ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.postprocess.whitespaces-test 3✅ 7ms

✅ stencil.postprocess.whitespaces-test

✅ test-lines-of
✅ test-multi-replace
✅ test-whitespaces

✅ target/surefire-reports/TEST-stencil.process-test.xml

2 tests were completed in 3ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.process-test 2✅ 3ms

✅ stencil.process-test

✅ simple-substitution
✅ test-preparing-template-fragment-invocation

✅ target/surefire-reports/TEST-stencil.tokenizer-test.xml

11 tests were completed in 8ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.tokenizer-test 11✅ 8ms

✅ stencil.tokenizer-test

✅ read-tokens-nested
✅ read-tokens-if-then-elif-else
✅ read-tokens-unless-then-else
✅ read-tokens-if-then-else
✅ read-tokens-attributes-ns
✅ read-tokens-if-elif-then-else
✅ read-tokens-echo
✅ read-tokens-if-then-elif
✅ read-tokens-for
✅ read-tokens-if-then
✅ read-tokens-unless-then

✅ target/surefire-reports/TEST-stencil.tree-postprocess-test.xml

14 tests were completed in 19ms with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.tree-postprocess-test 14✅ 19ms

✅ stencil.tree-postprocess-test

✅ resize-rational
✅ test-column-merging-joined
✅ test-column-merging-super-complex
✅ test-get-borders
✅ resize-first
✅ test-column-merging-super-complex-3
✅ test-row-hiding-simple
✅ test-column-merging-super-complex-2
✅ test-column-hiding-border-right
✅ test-preprocess-remove-thin-cols
✅ resize-last
✅ resize-cut
✅ test-column-cut
✅ test-column-merging-simple

✅ target/surefire-reports/TEST-stencil.util-test.xml

17 tests were completed in 17ms with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
stencil.util-test 17✅ 17ms

✅ stencil.util-test

✅ xml-zip-test
✅ stacks-difference-test
✅ fail-test
✅ trim-test
✅ mod-stack-top-last-test
✅ update-peek-test
✅ test-suffixes
✅ update-some-test
✅ find-last-test
✅ test-->int
✅ find-first-test
✅ suffixes-test
✅ fixpt-test
✅ test-prefixes
✅ mod-stack-top-conj-test
✅ prefixes-test
✅ whitespace?-test

✅ target/surefire-reports/TEST-stencil.various.xml

No tests found

Test suite Passed Failed Skipped Time
stencil.various 0ms

✅ target/surefire-reports/TEST-stencil.visual.xml

No tests found

Test suite Passed Failed Skipped Time
stencil.visual 1ms