Commit Graph

40 Commits

Author SHA1 Message Date
Carlo Sciolla bea66129a9
Fix note syntax in tests 2019-09-03 23:12:48 +02:00
Carlo Sciolla b0be4182fb
Fix tests 2019-09-03 23:06:44 +02:00
Felix Weilbach 7eb6167eb8
Added run mode EXECUTABLE (#102) 2019-09-03 23:06:42 +02:00
Carlo Sciolla 27d48942a6
🆕Multiple run modes, now including JAR and SERVER (#96)
It is now possible to support many execution modes, currently available are:

- `jar`: the traditional way of running PlantUML from `plantuml-mode`
- `server`: ask a [`plantuml-server`](https://github.com/plantuml/plantuml-server) instance to run the preview (defaults to https://www.plantuml.com/plantuml)
2019-05-31 10:53:40 +02:00
Carlo Sciolla 0e54f437f6
Added tests for Information Engineering (IE) notation 2019-03-16 12:55:56 +01:00
ReneSchmelzer ef4eecefae Rsch/indentation/multiple start regexs (#88)
* fix version

* split indentation rexgexs

Split the regexs as a preparation for improvement and enhancement.
No explicit enhancement was intended, although the
`plantuml-indent-regexp-block-start' covers more blocks now.

* enhance and test regexs for groups

Changed `plantuml-indent-regexp-group-start' to cover all cases
mentioned on sequence diagram page of the plantuml website. Added
tests for all elements-with and without label (text following the
keyword).

* add support and test for box/end box blocks

* indentation test for a nested interface block

* correction of () at end of file

* indentation test for deployment diagram

* file “Cask”: added dependency to dash

* indentation tests for diagram commons

* add indentation tests for component diagrams

* regex corrections and added indentation tests for class diagrams

correct indentation regexs found by tests for class diagrams

* add indentation tests for object diagrams

* add indentation tests for state diagrams

* enhance indentation class diagram test: abstract class and interface

* move indentation tests to diagram test files

* mv test/plantuml-indentation-test.el -> test/plantuml-indentation-basics-test.el

* add indentation sequence diagram tests and mv basics tests to diagram tests

* add indentation for ref-groups

* improved indentation for ref-groups

* support indentation for activity diagrams - current/old style

* indentation support for notes

* rm not used regexs

* indentation support for plantuml macros

* correction: … → etc.
2019-03-16 10:53:17 +01:00
Carlo Sciolla 366ecb605a
Support block indentation for abstract classes
Fixes #83
2019-01-08 23:06:58 +01:00
Carlo Sciolla 56d668c54e
Added extra keywords to the indentation block start regex
Keywords added:
- `folder`
- `frame`
- `cloud`

Fixes #78
2019-01-08 22:47:51 +01:00
Carlo Sciolla 6c0b9634bd
minor code formatting stuff 2019-01-07 22:15:02 +01:00
ReneSchmelzer ae97b806bc Rsch/indentation/fix and enhance (#85)
* fixed indentation code and added de-/activate to indentation

* added tests for indentation changes

* changed indentation code and tests

- more changes to plantuml-indent-regexs
- added more test
- changed function to determine indentation level and tests accordingly
- changed plantuml-indent-line and tests accordingly
- changed test names and doc strings to be more consistent

* more indentation tests, corrected regex for par block

- the par block usually does not have any label
- added database to start regex and added a test
- added block tests
2019-01-07 21:23:04 +01:00
Carlo Sciolla 6c0455b5e2
Make indentation work 2018-08-16 11:32:44 +02:00
Carlo Sciolla 5c8a95850b
Allow custom jar location for test execution
Tests are still broken though
2018-08-16 09:25:24 +02:00
Raymond Huang da2c301c1a Add autoindent support (#75)
Add indent-line implementation
2018-08-14 23:08:29 +02:00
Carlo Sciolla 4f4b8ffe91
Command changed, need to sync up the test 2018-08-14 21:42:28 +02:00
Carlo Sciolla 06725c7ce7
Disable broken test
Unicode testing appears to be broken only when run under ERT runner
2018-03-18 23:05:31 +01:00
Carlo Sciolla 75ffccdc91
Support CircleCI
And by the way, use coveralls.io
2018-03-18 23:05:31 +01:00
Carlo Sciolla fce628885b
Initialize plantuml-mode before tests 2017-08-19 21:46:16 +02:00
Carlo Sciolla 03fef302ec
Done with merge stuff 2017-08-19 21:40:04 +02:00
Carlo Sciolla 5a2e8d0dd2
Merged with develop 2017-08-19 19:33:36 +02:00
Carlo Sciolla 15d1e41972
WIP 2017-08-18 12:11:09 +02:00
Carlo Sciolla 6a210b7bb1
Try to test the install process 2017-07-08 11:35:40 +02:00
Carlo Sciolla 1011229c85
Start investigating #51 2017-07-07 21:18:37 +02:00
Carlo Sciolla f0632ea3fe
Added missing test file 2016-12-25 21:17:02 +01:00
Carlo Sciolla e671431ee1
#50 switch output type when needed 2016-12-25 21:15:52 +01:00
Carlo Sciolla 8daf8e24fa
#50 use different tests for different outputs 2016-12-25 21:15:15 +01:00
Carlo Sciolla 457ca82471
#50 use different tests for different outputs 2016-12-25 21:14:24 +01:00
Carlo Sciolla 160c865e2b
#50 Added support for unicode rendering 2016-12-25 21:13:40 +01:00
Carlo Sciolla 4bdff5676d
#50 use UTF-8 in `start-process`; test against a txt file generated by PlantUML instead of a hand-made one 2016-12-25 21:12:58 +01:00
Carlo Sciolla 1adc022ab4
#50 Factored out preview assertion function 2016-12-25 21:12:11 +01:00
Carlo Sciolla 9355343797
#50 switch output type when needed 2016-12-25 20:30:50 +01:00
Carlo Sciolla 343bc5a753
#50 use different tests for different outputs 2016-12-25 20:28:54 +01:00
Carlo Sciolla 4d2bffd2cc
#50 use different tests for different outputs 2016-12-25 20:28:40 +01:00
Carlo Sciolla 9ac32f1c19
#50 Added support for unicode rendering 2016-12-25 20:13:23 +01:00
Carlo Sciolla b5e880790b
#50 use UTF-8 in `start-process`; test against a txt file generated by PlantUML instead of a hand-made one 2016-12-25 19:31:01 +01:00
Carlo Sciolla 06a12c3d16
#50 Added (failing) unit test for unicode support 2016-12-25 19:14:32 +01:00
Carlo Sciolla f8148e9d5f
#50 Factored out preview assertion function 2016-12-25 18:29:48 +01:00
Carlo Sciolla 8752e703de
Working test setup which also tests preview 2016-12-25 17:37:18 +01:00
Carlo Sciolla 4f8e937dc2
Added Cask and ert-runner infrastructure 2016-12-25 17:37:18 +01:00
Carlo Sciolla a143ab5d7d
Working test setup which also tests preview 2016-11-11 12:53:41 +01:00
Carlo Sciolla 37dfe8c9fd
Added Cask and ert-runner infrastructure 2016-11-11 11:51:49 +01:00