summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2016-04-25Adapt isNamespacededIdentifier to most recent identifier formatAndreas Stöckel
2016-04-25Implement endAtWhitespace flag which tells TokenizedDataReader to stop ↵Andreas Stöckel
reading data after the first whitespace character
2016-04-25AutoformatAndreas Stöckel
2016-04-25Pass "greedy" flag to Handler::startTokenAndreas Stöckel
2016-04-25Pass "isImplicit" flag to Handler::fieldStartAndreas Stöckel
2016-04-25Add greedy flag to TokenDescriptor and SyntaxDescriptor and set it ↵Andreas Stöckel
correctly. Shorten Stack "checkTokensAreUnambiguous" method
2016-04-25Add additional unit test to TokenStackTest making sure that the returned ↵Andreas Stöckel
token lists are actually sorted correctly
2016-04-25Replace NodeVector by ManagedVector where NodeVector functionality is not ↵Andreas Stöckel
needed. Reduces calls to "Manager.registerEvent" to <10% of original value
2016-04-25Fix gcc 4.9 warningsAndreas Stöckel
2016-04-25Reimplement closeToken handlingAndreas Stöckel
Idea: Only start unrolling anything on the parser stack if an element that matches the given close token is found. This requires the endToken method in DocumentChildHandler to search for the given descriptor that might be ended. While performing this search, only a specified number of "explicit" structures/fields opened by the Stack class may be skipped (those with implicit default fields). Added an integration test ("python_code") which requires this new (hopefully sane) behaviour.
2016-04-25Sort integration testsAndreas Stöckel
2016-04-25Automatically protect whitespace after annotation endings and in front of ↵Andreas Stöckel
annotation starts.
2016-04-25Use "emph" instead of "emphasized" for the demo html output, adapt unit ↵Andreas Stöckel
tests accordingly
2016-04-25fixed a bug in the DocumentHandler which lead to problems in case of empty ↵Benjamin Paassen
explicit fields.
2016-04-25added test for empty explicit fields, which currently fails.Benjamin Paassen
2016-04-25refactored the more sophisticated OSXML parser tests to the integration test ↵Benjamin Paassen
folder.
2016-04-25Identifiers may not end with an underscoreAndreas Stöckel
2016-04-25Change way indent and dedent special tokens are produced by TokenizedDataAndreas Stöckel
* Move dedent to the end of the previous line * Leave indent to the first character of the current line * Dedent is called as many times as indent
2016-04-25Print help message if integration test framework is built in Release modeAndreas Stöckel
2016-04-25Cosmetic change: Do not print a newline for the first headlineAndreas Stöckel
2016-04-25Further improvements to integration test tool needed for debuggingAndreas Stöckel
* Allow specification of a number of tests that should run * Add usage help (-h or --help options) * Improve messages
2016-04-25Do not trim text, simply skip text fields that only consist of whitespace ↵Andreas Stöckel
characters
2016-04-25Changes to outputAndreas Stöckel
2016-04-25Write actual output to out.osxml file in the Testing/Integration directory ↵Andreas Stöckel
(to facilitate creating the expected output file and for later analysis)
2016-04-25Implement integration test frameworkAndreas Stöckel
2016-04-25Remove "inherit" flag in TokenStack, add tiny unit test for TokenStack, ↵Andreas Stöckel
temporarily remove pushTokens and popTokens calls from DocumentChildHandler
2016-04-25Check syntax descriptor depthAndreas Stöckel
2016-04-25Fix crash when an undefined annotation is met in the inputAndreas Stöckel
2015-03-04Added test for parsing syntax descriptionsAndreas Stöckel
2015-03-04Merge branch 'master' of somweyr.de:ousiaBenjamin Paassen
2015-03-04massively reworked demo html output.Benjamin Paassen
2015-03-04Renamed "start" and "end" token to "open" and "close" tokenAndreas Stöckel
2015-03-03added more complex tests and prevented endless loops in ↵Andreas Stöckel
DocumentChildHandler::startAnnotation
2015-03-03Added unit tests for annotation handlingAndreas Stöckel
2015-03-03prevented cycles in DocumentEntity::searchStartAnchorBenjamin Paassen
2015-03-03added a method to find the matching start anchor for some end anchor.Andreas Stöckel
2015-03-03Do not allow structs to be transparent and root at the same timeAndreas Stöckel
2015-03-03Removed last remains of "domain" in codeAndreas Stöckel
2015-03-03Storing type and name in the HandlerData once again, using a TokenAndreas Stöckel
Conflicts: application/src/core/parser/stack/Callbacks.hpp
2015-03-03Finished stack and adapted all unit testsAndreas Stöckel
2015-03-03Started restructuring and adapting Stack class, reenabled unit tests (does ↵Andreas Stöckel
not compile right now)
2015-03-02Merge branch 'astoecke_tokens' of somweyr.de:ousia into astoecke_tokensBenjamin Paassen
Conflicts: application/src/core/parser/stack/Callbacks.hpp application/src/core/parser/stack/Handler.hpp
2015-03-02added another domain test case for invalid syntax tokens.Benjamin Paassen
2015-03-02integrated syntax tokens in Domain.Benjamin Paassen
2015-03-02added check for witespace characters in Utils::isUserDefinedTokenBenjamin Paassen
2015-03-02OsxmlEventParser also fills a TokenizedData instance nowAndreas Stöckel
2015-03-02Unregistering all registered tokens when TokenRegistry is destroyedAndreas Stöckel
2015-03-02Wrote isUserDefinedToken function which checks whether a token is a valid ↵Andreas Stöckel
user defined token and added unit tests
2015-03-02Adapted OsxmlParser to new Stack interface, enabled Osxml code in CMakeLists ↵Andreas Stöckel
again
2015-03-01Renamed domain to ontology.Benjamin Paassen