Jasmine Test case for Angular UI grid onRegisterApi funtion

I’m writing Jasmine Unit test for AngularJS UI grid.
I have a below UI grid function in my controller
Code:

$scope.gridOption.onRegisterApi = function(gridApi) {
$scope.gridApi.core.on.sortChanged($scope, function(grid, sortColumns) {};
gridApi.pagination.on.paginationChanged($scope, function(newPage, pageSize) {};
};

I dont know how to write Unit test case for this function & internal private funtions….

Any one can help me on this?

Thanks in Advance!!!

Jasmine Test case for Angular UI grid onRegisterApi funtion

read more

Jasmine Test case for Angular UI grid onRegisterApi funtion

I’m writing Jasmine Unit test for AngularJS UI grid.
I have a below UI grid function in my controller
Code:

$scope.gridOption.onRegisterApi = function(gridApi) {
$scope.gridApi.core.on.sortChanged($scope, function(grid, sortColumns) {};
gridApi.pagination.on.paginationChanged($scope, function(newPage, pageSize) {};
};

I dont know how to write Unit test case for this function & internal private funtions….

Any one can help me on this?

Thanks in Advance!!!

Jasmine Test case for Angular UI grid onRegisterApi funtion

read more

Jasmine Test case for Angular UI grid onRegisterApi funtion

I’m writing Jasmine Unit test for AngularJS UI grid.
I have a below UI grid function in my controller
Code:

$scope.gridOption.onRegisterApi = function(gridApi) {
$scope.gridApi.core.on.sortChanged($scope, function(grid, sortColumns) {};
gridApi.pagination.on.paginationChanged($scope, function(newPage, pageSize) {};
};

I dont know how to write Unit test case for this function & internal private funtions….

Any one can help me on this?

Thanks in Advance!!!

Jasmine Test case for Angular UI grid onRegisterApi funtion

read more

Synaptics announces pressure-sensitive touchscreen controller for phones

Enlarge (credit: Andrew Cunningham)

Whatever you think about Apple, it has a way of introducing hardware features that are quickly adopted by competing phones. By no means did Apple invent gold phones or fingerprint sensors (and the company does occasionally follow others, as it did with large screens), but once it started using these things in the iPhone they became common features in more and more Android handsets.

Today Synaptics announced the ClearPad 3700, a new touchscreen controller for smartphones that will add “ClearForce variable force sensing” to smartphones that use it. We have no doubt that we’ll see it (or a controller like it) show up in some of 2016’s flagship phones, the ones that all of a sudden and for no particular reason want to include pressure sensitivity. The 3700 also supports a feature called “SideTouch,” which lets you use the bezels of the phone for scrolling and tapping without obscuring the content on the display with your finger.

read more

20 Questions to Ask When Creating Buyer Personas [Free Template]

developing-buyer-personas.jpg

Buyer personas are a crucial component of successful inbound marketing, particularly for the sales and marketing departments. After all, the marketing team needs to know to whom they are marketing, and the sales team needs to know to whom they are selling.

But once you sit down to craft your buyer personas, you may find yourself staring blankly at a white screen for some time, wondering where on earth you’re supposed to begin.

Before you spend time and money on research, ask yourself these questions to help you develop your personas, and then use our free buyer persona template to share your personas with the rest of your company. 

read more