Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2017-04-18Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2017-04-18Merged master@e12c3110024dc4b62ffefa739288218b04e39f71 into blender2.8Sybren A. Stüvel
This doesn't merge entire master into blender2.8, but at least solves one conflict.
2017-04-18Alembic unittest: pass unknown CLI arguments to unittest.main()Sybren A. Stüvel
This allows specifying test names on the CLI, in order to run only one of the tests.
2017-04-18Alembic export: fixed curve type and order.Sybren A. Stüvel
The order number written to Alembic is the same as we use in memory, so the +1 wasn't needed, at least according to the reference Maya exporter maya/AbcExport/MayaNurbsCurveWriter.cpp, function MayaNurbsCurveWriter::write(), in the Alembic source code. Furthermore, when writing an array of nurb orders, the curve type should be set to kVariableOrder, otherwise the importer will ignore it.
2017-04-14Alembic import: fixed dupligroup export when the dupli-empty has a parentSybren A. Stüvel
2017-04-14Added simple unittests for Alembic exporterSybren A. Stüvel
This test checks that a set of cubes are exported with the correct transform, both with flatten=True and flatten=False. This commit also adds an easy to use superclass for upcoming Alembic unit tests.
2017-04-13Unittests for depsgraph layer collection render settings evaluationDalai Felinto
Some of the tests are failing at the moment. Those problems were introduced in eba09b1520
2017-04-13Merge branch 'master' into blender2.8Alexander Romanov
2017-04-13Datablock ID PropertiesAlexander Romanov
The absence of datablock properties "will certainly be resolved soon as the need for them is becoming obvious" said the [[http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.67/Python_Nodes|Python Nodes release notes]]. So this patch allows Python scripts to create ID Properties which reference datablocks. This functionality is implemented for `PointerProperty` and now such properties can be created with Python. In addition to the standard update callback, `PointerProperty` can have a `poll` callback (standard RNA) which is useful for search menus. For details see the test included in this patch. Original author: @artfunkel Alexander (Blend4Web Team) Reviewers: brecht, artfunkel, mont29, campbellbarton Reviewed By: mont29, campbellbarton Subscribers: jta, sergey, campbellbarton, wisaac, poseidon4o, mont29, homyachetser, Evgeny_Rodygin, AlexKowel, yurikovelenov, fjuhec, sharlybg, cardboard, duarteframos, blueprintrandom, a.romanov, BYOB, disnel, aditiapratama, bliblubli, dfelinto, lukastoenne Maniphest Tasks: T37754 Differential Revision: https://developer.blender.org/D113
2017-04-10Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/editors/gpencil/drawgpencil.c
2017-04-10PyAPI: Fast buffer access to id property arraysJacques Lucke
Support Python's buffer protocol for ID-properties.
2017-04-10Layers unittest: layer_cyncing test was not being calledDalai Felinto
2017-04-10Unitettesting: Force python errors to show as errorDalai Felinto
2017-04-09Merge branch 'master' into blender2.8Campbell Barton
2017-04-07Tests: Compare vectors with epsilonSergey Sharybin
SOlves the test false-positively failing in 32 bit environment.
2017-04-07Simplified some test code in render_layer_common.pySybren A. Stüvel
2017-04-07No more need to alter sys.path in each and every render_layer unit test.Sybren A. Stüvel
I tried the clean way, by setting the PYTHONPATH environment variable for CTest, using SET (CTEST_ENVIRONMENT blablab), but that didn't seem to work.
2017-04-07Tests: import blendfile without modifying sys.pathSybren A. Stüvel
2017-04-07Merge branch 'master' into blender2.8Sybren A. Stüvel
# Conflicts: # source/blender/alembic/intern/abc_exporter.h # source/blender/alembic/intern/abc_util.cc
2017-04-07Fix building alembic gtest with buildinfo...Bastien Montagne
2017-04-06Alembic: rotation mode issue in copy_m44_axis_swap, and added unit tests.Sybren A. Stüvel
2017-04-06Added float[][] comparison macros to testing.hSybren A. Stüvel
I've moved EXPECT_M3_NEAR from abc_matrix_test.cc to testing.h, as that's a more suitable location.
2017-04-06Alembic: Renamed create_rotation_matrix to create_swapped_rotation_matrix ↵Sybren A. Stüvel
and more: Also replaced the bool param "to_yup" with "AbcAxisSwapMode mode", so that it's more explicit that axes are swapped. Also added unittests for create_swapped_rotation_matrix.
2017-04-06Layer unittesting: pep8 touch up on test_evaluation_selectability_f.pyDalai Felinto
2017-04-03Layer/Depsgraph: Update depsgraph for new objectsDalai Felinto
2017-04-03Layer: Adding unittest for a problem with selectability evaluationDalai Felinto
This is currently failing (and causing the object_delete test to fail). To be fixed separately
2017-04-01Layers / Depsgraph: Unittesting for selection and visibility evaluationDalai Felinto
2017-03-31Layers: Fix scene copying after IDProperty changesDalai Felinto
(also unittest: split scene copy in 4 tests)
2017-03-31Layers unittest: Fix tests breaking since Folded was removedDalai Felinto
2017-03-31Layers unittest: Breaking pep8, but getting tests to work againDalai Felinto
I will investigate this further later. The big problem is that the way I'm running tests if I have any error (e.g., ImportError) the pass still pass.
2017-03-29Merge branch 'master' into blender2.8Campbell Barton
2017-03-29Remove non-bmesh case from testCampbell Barton
2017-03-29Use 'empty' option for clearing factory settingsCampbell Barton
2017-03-25Merge branch 'master' into blender2.8Campbell Barton
2017-03-24Cleanup: minor edits to path testCampbell Barton
No need for redundant ID's and correct arg order
2017-03-24BLI_path_util: Add BLI_path_joinCampbell Barton
There weren't any convenient ways to join multiple paths in C that accounted for corner cases.
2017-03-22Layer Unittesting: pep8 2/2Dalai Felinto
Mass replacing the common code of all tests ``` echo "Fixing $1" ed "$1" <<'EOF' 1,/Testing/d i from render_layer_common import * import unittest import os import sys sys.path.append(os.path.dirname(__file__)) . w q EOF ``` Using line-width of 120
2017-03-22Layer Unittesting: pep8 1/2Dalai Felinto
Manual corrections, using line-width of 120
2017-03-22BLI_path_util: add BLI_path_name_at_indexCampbell Barton
Utility to get a file/dir in the path by index, supporting negative indices to start from the end of the path. Without this it wasn't straightforward to get the a files parent directory name from a filepath.
2017-03-20Layers unittesting: update after doversion changesDalai Felinto
Collections now are called "Collection 1", instead of "1"
2017-03-20Merge branch 'master' into blender2.8Campbell Barton
2017-03-18PyAPI: ID Property testsJacques Lucke
2017-03-13Outliner/layer: fix users trying to drop a collection into itself (recursion ↵Dalai Felinto
hell)
2017-03-10Layers: fix bug in move layer collection above/belowDalai Felinto
Reported by Julian Eisel (Severin)
2017-03-09Layers: move LayerCollectionDalai Felinto
This is to be used from the Outliner, when dragging and dropping collections from the Active Render Layer It also includes a cleanup on the outliner so it calls the new functions. Note: the outliner still needs fix to allow all the functionality here exposed. But this will be tackled by Julian Eisel later.
2017-03-09Layers: move SceneCollectionDalai Felinto
This is to be used from the Outliner, when dragging and dropping. It does not include moving LayerCollection (from Active Render Layer)
2017-03-02Fixup for layer rename unittest (rB3baa186724)Dalai Felinto
2017-03-02Layers unittest: isolate the depsgraph crash in individual testsDalai Felinto
(and re-order the tests alphabetically)
2017-03-01Add tests for layer renamingJulian Eisel
Could have an own file for each test, but this is good enough. With great help from @dfelinto, thanks!
2017-02-27Merge branch 'master' into blender2.8Luca Rood