Hi
After reading the sinonjs api, made up this call

var mockEnv = 
this.mock(qx.core.Environment).expects("get").withArgs("username").returns("usernmae");

To mock the environnement for a special call.
But when I run my unit test (wich execute this mocking), the execution
hang on infinitly.


Do i use sinon correctly??

Regards

-- 
Benjamin Dreux
Analyste-Programmeur
Chaire de logiciel libre-Finance Social et solidaire
UQAM
Montréal

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to