Blender Git Loki
Git Commits -> Revision 53920b1
Revision 53920b1 by Joseph Eagar (master) November 11, 2010, 23:36 (GMT) |
=BMesh: (personal) Testing Framework= I've got my testing framework done now. It's based on recording events at the GHOST level. This has issues; a test created on one computer might not pass on another, due to floating point inaccuracies (though I tried to blunt this a bit). This isn't appropriate for general use. I wrote it for personal use, and other devs might find it useful for their personal use as well. However, it lacks the reliability you'd need for a real unit testing framework. This isn't meant to replace lief's work, by any means, which is a real unit testing framework. |
Commit Details:
Full Hash: 53920b1b838bfd53c0b45056b5d98b51ab298f47
SVN Revision: 33028
Parent Commit: bc428e3
Lines Changed: +601, -155
20 Modified Paths:
/intern/ghost/GHOST_C-api.h (+7, -0) (Diff)
/intern/ghost/GHOST_IEvent.h (+20, -2) (Diff)
/intern/ghost/GHOST_ISystem.h (+7, -0) (Diff)
/intern/ghost/GHOST_IWindow.h (+13, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+33, -0) (Diff)
/intern/ghost/intern/GHOST_Event.h (+41, -0) (Diff)
/intern/ghost/intern/GHOST_EventButton.h (+17, -0) (Diff)
/intern/ghost/intern/GHOST_EventCursor.h (+18, -0) (Diff)
/intern/ghost/intern/GHOST_EventKey.h (+17, -0) (Diff)
/intern/ghost/intern/GHOST_EventManager.cpp (+277, -9) (Diff)
/intern/ghost/intern/GHOST_EventManager.h (+34, -2) (Diff)
/intern/ghost/intern/GHOST_EventTrackpad.h (+21, -1) (Diff)
/intern/ghost/intern/GHOST_EventWheel.h (+16, -0) (Diff)
/intern/ghost/intern/GHOST_System.cpp (+28, -1) (Diff)
/intern/ghost/intern/GHOST_System.h (+7, -0) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+13, -2) (Diff)
/source/blender/blenkernel/BKE_context.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/context.c (+25, -19) (Diff)
/source/blender/blenkernel/intern/mesh.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+2, -119) (Diff)
/intern/ghost/GHOST_IEvent.h (+20, -2) (Diff)
/intern/ghost/GHOST_ISystem.h (+7, -0) (Diff)
/intern/ghost/GHOST_IWindow.h (+13, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+33, -0) (Diff)
/intern/ghost/intern/GHOST_Event.h (+41, -0) (Diff)
/intern/ghost/intern/GHOST_EventButton.h (+17, -0) (Diff)
/intern/ghost/intern/GHOST_EventCursor.h (+18, -0) (Diff)
/intern/ghost/intern/GHOST_EventKey.h (+17, -0) (Diff)
/intern/ghost/intern/GHOST_EventManager.cpp (+277, -9) (Diff)
/intern/ghost/intern/GHOST_EventManager.h (+34, -2) (Diff)
/intern/ghost/intern/GHOST_EventTrackpad.h (+21, -1) (Diff)
/intern/ghost/intern/GHOST_EventWheel.h (+16, -0) (Diff)
/intern/ghost/intern/GHOST_System.cpp (+28, -1) (Diff)
/intern/ghost/intern/GHOST_System.h (+7, -0) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+13, -2) (Diff)
/source/blender/blenkernel/BKE_context.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/context.c (+25, -19) (Diff)
/source/blender/blenkernel/intern/mesh.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+2, -119) (Diff)