Source

semanticeditor / semanticeditor / tests.py

Author Commit Message Labels Comments Date
Luke Plant
Added ordering by category, with tests.
Luke Plant
Factored out models.get_classes function from views.retrieve_styles for easier testing Added basic test.
Luke Plant
Fixed issue 37 - newrow/newcol get deleted sometimes. This required re-writing the logic to locate command divs, but it was very nasty anyway.
Luke Plant
Made lots of tests for formatting functions more readable
Luke Plant
Split presentation.py module (over 1000 lines) into a set of modules. Also added tests to increase test coverage, and culled some old code that was no longer needed, updating some tests in doing so.
Luke Plant
Fixed broken error message for incorrect command order, and added test. Also moved related assertions to the module level.
Luke Plant
Remove error for duplicate heading names and improve 'friendly' name when content is empty
Luke Plant
Added checking for max column violations for inner columns
Luke Plant
Added 'innerrow' and 'innercol' to help text about allowed_elements. For UI consistency, this required changing newinnerrow -> innerrow and newinnercol -> innercol in tests and in command definition.
Luke Plant
Fixed extract_presentation to work with inner row/col.
Luke Plant
Rewrote _create_layout(). This has the side effect of eliminating unneeded '<div class=row>' divs, so the tests had to be updated. Keeping the old behaviour is tricky.
Luke Plant
Implemented layout of inner rows and columns. Implementation is fairly hideous, but serves as a basic working point.
Luke Plant
Fixed a failing test, caused by cleaning of hard spaces.
Luke Plant
Implemented issue #31 - remove hard spaces in clean routine.
Luke Plant
Fixed issue #27 - paragraphs containing only plugins should be auto-converted to divs
Luke Plant
Updated a test
Luke Plant
Merged bug fix
Luke Plant
Better test and proper fix
Luke Plant
Merged bug fix
Luke Plant
Got clean_html to remove duplicate IDs.
Luke Plant
Merged bug fix
Luke Plant
Fixed some CR/LF bugs (important for <pre> sections)
Luke Plant
Merge bug fix
Luke Plant
Fixed bug with HTML cleaning removing <br>'s with text beside them.
Luke Plant
Merged from Daniele
Luke Plant
"New row" and "New column" buttons moved, and new row/col represented in main window
dja...@v026.medcn.uwcm.ac.uk
committed stuff
dja...@v026.medcn.uwcm.ac.uk
rollback
Luke Plant
Fixed inlines wrapping blocks
Luke Plant
Updated test for change in settings
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next