bioweb  0.09.92
C++/Python(django)/JavaScript(angularJS) framework
Functions | Variables
test02_services.js File Reference

client unit tests, check the service calling More...

Go to the source code of this file.

Functions

 module ("test02_services",{setup:function(){this.$scope=injector.get('$rootScope').$new();}, teardown:function(){}})
 
function functionResponseCheck (r)
 
 asyncTest ("service getVersion", function(){expect(1);var srv=injector.get('srvInfo');srv.getVersion(functionResponseCheck);setTimeout(function(){start();}, 100);})
 

Variables

var injector = angular.injector(['ng', 'myApp'])
 
var srv
 
srv2 baseURL = "http://127.0.0.1:50008/"
 

Detailed Description

client unit tests, check the service calling

Definition in file test02_services.js.

Variable Documentation

var srv
Initial value:
= injector.get('srvInfo')
var srv2 = injector.get('srvCommands')
srv.baseURL = "http://127.0.0.1:50008/"
Definition: srv.py:1

Definition at line 5 of file test02_services.js.