aboutsummaryrefslogtreecommitdiff
path: root/src/unittest (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix wrap_rows at inner byte of multibyte sequencefigec2015-06-181-7/+17
| | | | Also fix UTF-8 inner byte bounds and make unittest for case this fixes.
* Make wrap_rows not wrap inside utf-8 multibyte sequencesest312015-06-171-0/+8
| | | | | | Also count multibyte sequences as "one" character. Adds unittest for the bug reporter's case. Fixes #2796.
* Add UTF and other utility unit testsest312015-06-141-0/+25
|
* Split ObjDef/ObjDefManager out to objdef.cppkwolekr2015-05-181-2/+1
|
* Add -Wsign-compare for Clang builds and fix some signed/unsigned compiler ↵kwolekr2015-05-161-1/+1
| | | | warnings
* Schematics: Add per-node force placement optionkwolekr2015-05-091-40/+55
|
* Fix compilation for non-client builds, and fix signed comparison warningkwolekr2015-05-081-2/+2
|
* Tests: Add schematic unittestskwolekr2015-05-084-0/+298
| | | | | Improve schematic file-saving interface Add ability to create temporary test files
* NodeResolver: Remove NodeResolveMethodkwolekr2015-05-071-43/+3
| | | | This simplifies NodeResolver logic and makes some interfaces cleaner.
* Fix build on Debian broken by b45df9d (missing include, somehow?)kwolekr2015-05-051-0/+1
|
* NodeDefManager: Improve const-correctness of interfaceskwolekr2015-05-051-20/+14
| | | | | | - Add ability to explicitly reset NodeResolve state (useful for unittesting) - Remove non-essential NodeResolve methods modifying state from INodeDefManager - Add const qualifier to NodeDefManager and ContentFeatures serialize
* Tests: Add NodeResolver unittestskwolekr2015-05-056-16/+338
| | | | | | Minor misc. NodeResolver cleanups Prefix faux content type constants for testing with t_ to avoid confusion or name collisions
* Fix GCC compiler warningShadowNinja2015-05-041-2/+2
|
* Tests: Add ObjDef unittestskwolekr2015-05-032-0/+108
|
* Fix several MSVC issues numeric.hSmallJoker2015-05-011-0/+11
| | | | | -> Round negative numbers correctly CMakeLists.txt -> Link Json with the static run-time library
* Fix MSVC compatibilitykwolekr2015-04-291-17/+11
| | | | | | Make sure to include random unittests in android builds, too Use SWAP() macro Ensure that negative ranges are tested as well in random unittests
* Tests: Add random unittestskwolekr2015-04-293-1/+279
|
* Tests: Modularize unit testingkwolekr2015-04-2618-0/+3373
Split unit tests into separate files under src/unittest/ Give better unittest diagnostics Clean up some code