Campbell Barton
ea1f1fe0c2
BLI_string, dont pass unicode to ascii BLI_str_partition functions
2014-07-08 06:06:34 +10:00
Bastien Montagne
e3c8cf0a9e
Add (r)partition funcs to BLI_string, to get left-most/right-most first occurence of delimiters.
...
Inspired by Python (r)partition str functions. Also added some Gtest cases for those new funcs.
Reviewed by Campbell Barton, many thanks!
2014-07-04 14:14:06 +02:00
Campbell Barton
228361973d
Add BLI_stack test
2014-06-30 11:55:01 +10:00
Campbell Barton
8df6769040
CMake: update source files
2014-06-28 23:17:11 +10:00
Campbell Barton
489937e1e7
GTest now works without buildinfo
2014-06-23 01:16:49 +10:00
Howard Trickey
eaac6cbcd9
Add a bmesh_core_test, a start at testing bmesh functionality.
...
Needed to make the blender link libraries a global property
now that tests are parallel to source directory.
Current sort order for blender link libraries doesn't work
for tests that start with few defined symbols. Doubling the
lib list works, but a TODO to find a better way (probably
using CMake's own mechanism for tracking dependencies).
2014-06-19 11:53:55 -04:00
Campbell Barton
7ecc3f4734
Add brief license headers to tests
...
These are effectively public-domain, but use apache2.0 to avoid adding new licenses
2014-06-19 18:48:41 +10:00
Sergey Sharybin
a6e58cd761
Use Blender codestyle, not Google's one!
2014-06-19 12:47:56 +06:00
Sergey Sharybin
16d64a99b4
Add unit tests for aligned alloc
...
This was really handy on initial work of aligned alloc
and would be handy as well when we'll need to support
arbitrary alignment on Apple platforms.
2014-06-19 12:45:00 +06:00
Sergey Sharybin
72b607ab74
Some WITH_TESTS weer not renamed to WITH_GTEST
2014-06-18 22:28:27 +06:00
Sergey Sharybin
306cbb82ec
GTest unit testing framework
...
Currently covers only small set of functionality.
2014-06-19 02:09:16 +10:00