Short description:
We need a function isoNS.retryNetworkCall(myFunction) that retry calling myFunction in escalating seconds when network problems occur . Furthermore you should create unit tests to test the functionality of isoNS.retryNetworkCall() using the framework in https://sc37.scandiatransplant.org/Ext.ux.UnitTest.js.
Detailed requirements:
Each of the requirements must be both implemented and tested with the Unit Test framework in Ext.ux.Unit.js.
1. Retrying is done in escalating seconds, starting with 1 second.
2. If a network problem occur and it is fixed, the application should finish the request that caused the network problem before.
3. If there is a network problem and the retrying has been going on for more than 10 minutes without any improvements, the retrying should stop and the user should see an alert box with the message ‘Check your connection and try again’.
4. There should be a function isoNS.resetRetry that resets the retrying process, that is the escalating counting should start from the beginning and the countdown for the timeout described in 3. should be reset.
5. There should be a function isoNS.cancelRetry that stops the retrying.
Starting On: September 27, 2012
Ending On:
Posted On: September 27, 2012 11:21 UTC
ID: 201680454
Category: Web Development > Web Programming
Skills: unit-testing,javascript,extjs
Country: Denmark
Hours Billed: 0.00
click to apply
via All Web Development jobs | oDesk.com https://www.odesk.com/jobs/Retrying-during-network-problems_%7E01945edbe1b2943e11?source=rss
We need a function isoNS.retryNetworkCall(myFunction) that retry calling myFunction in escalating seconds when network problems occur . Furthermore you should create unit tests to test the functionality of isoNS.retryNetworkCall() using the framework in https://sc37.scandiatransplant.org/Ext.ux.UnitTest.js.
Detailed requirements:
Each of the requirements must be both implemented and tested with the Unit Test framework in Ext.ux.Unit.js.
1. Retrying is done in escalating seconds, starting with 1 second.
2. If a network problem occur and it is fixed, the application should finish the request that caused the network problem before.
3. If there is a network problem and the retrying has been going on for more than 10 minutes without any improvements, the retrying should stop and the user should see an alert box with the message ‘Check your connection and try again’.
4. There should be a function isoNS.resetRetry that resets the retrying process, that is the escalating counting should start from the beginning and the countdown for the timeout described in 3. should be reset.
5. There should be a function isoNS.cancelRetry that stops the retrying.
Starting On: September 27, 2012
Ending On:
Posted On: September 27, 2012 11:21 UTC
ID: 201680454
Category: Web Development > Web Programming
Skills: unit-testing,javascript,extjs
Country: Denmark
Hours Billed: 0.00
click to apply
via All Web Development jobs | oDesk.com https://www.odesk.com/jobs/Retrying-during-network-problems_%7E01945edbe1b2943e11?source=rss
No hay comentarios:
Publicar un comentario