Questions tagged [dataprovider]

A property of the Flex DataGrid and AdvancedDataGrid used to specify a data source.

497 questions
0
votes
3 answers

Is it possible to set an annotation in TestNG via testng.xml?

I am testing with the wonderful TestNG-Framework. My question is if it is possible to set the annotations for @Test-annotation in the testng.xml-configuration file? I don't want to hard-code the @Test-annotation like @Test(dataProvider =…
tester
  • 3,977
  • 5
  • 39
  • 59
0
votes
1 answer

Flex Loop through DataGrid, get object and index

I have a DataGrid that represents layers - each row is an image on the stage. Now I would like that dragging a layer, will change the childIndex of that image on the stage. In order to do that I need to loop through the DataGrid rows after the drag,…
Light
  • 1,647
  • 3
  • 22
  • 39
0
votes
1 answer

Create and send Hierarchical Data from flex to java

I'm trying to create a Hierarchical Data Grid in flex using AdvancedDataGrid. The data is retrieved from a remote java object. For project and requirement purposes, GroupingCollection is NOT an option. So I'm trying to create a dataprovider just…
0
votes
2 answers

TestNG: How to execute several test methods in order with data supplied from DataProvider

Is there a way to execute several test methods in order using different data from the data provider? e.g. @DataProvider(name = "test1") public Object[][] createData1() { return new Object[][] { { "Cedric", new Integer(36) }, {…
Amir Ghahrai
  • 618
  • 1
  • 7
  • 22
0
votes
2 answers

Updating itemrenderer dataprovider

I am creating an opensource application for managing environmental resources in my county. I have a problem on a dataprovider for an itemrenderer (combobox) i am using on a datagrid. The application works, but I get a warning saying the itemrenderer…
0
votes
1 answer

Adobe Air: why does this DataProvider create error?

I am currently getting an error at line 148 during runtime: TypeError: Error #1009: Cannot access a property or method of a null object reference. at PlantDB/ResultFill()[C:\Users\usern\Adobe Flash Builder 4.6\PlantDB\src\SQLiteCode.as:148] The…
Karl
  • 5,613
  • 13
  • 73
  • 107
0
votes
1 answer

PHPUnit_Framework_TestCase memory leak with large DataProvider

When I run PHPUnit, it appears to me as if it had a memory-leak when running many tests inside a single test class. But I don't know if this is a bug or it was the expected behaviour. To reproduce: I create a simple testHello() with a silly…
Xavi Montero
  • 9,239
  • 7
  • 57
  • 79
-1
votes
1 answer

Why my dataProvider function in my unit test file is not working properly?

I want to test this function: public function handle(Request $request, Closure $next): mixed { $fields = [ 'address1', 'address2', 'address3', 'city', 'country', 'countryName', 'email', …
Mitsukk
  • 314
  • 2
  • 13
-1
votes
1 answer

org.testng.TestNGException: Parameter By ITestContext In Data provider

Test public class ParameterByITestContextInDataprovider { WebDriver driver; @BeforeTest(groups={"A","B"}) public void setup() { //Create gc driver object System.out.println("In ParameterByMethodInDataprovider...."); …
-1
votes
1 answer

Custom DataProvider Nattable

I create nattable the following way. But I can get access to the cells only through getters and setters in my Student class. How else can I access cells? Should I create my own BodyDataProvider or use IDataProvider? If it is true, could someone give…
-1
votes
1 answer

Creation of databases at run time in Android

I am using a DataProvider for my app to handle CRUD operations. Now the DataProvider is using an SQLiteOpenHelper nested inner class. All definitions of the CRUD operations are defined inside the DataProvider itself and the SQLiteOpenHelper class is…
TeChNo_DeViL
  • 739
  • 5
  • 11
-1
votes
2 answers

How to fix the Column size of CGRIDVIEW in YII?

I want to fix the column width of GridView . As i am using GridView , the width of the columns is adjusted as per the data ... my goal is to set a fixed width for every columns eg: for "ID" column I want width=10px; for "Name" column it should be…
user3134101
  • 49
  • 1
  • 10
-1
votes
1 answer

Yii compare suffix of domains

I need to compare suffix of domains using yii CActiveDataProvider somthing like: display all domains with suffix of .com where google.com = .com for example i am trying this (but both of them not working): 'criteria'=>array( 'condition' =>…
-1
votes
1 answer

yiiGridView - get currentpage by js

i need to stick with the current page after update the yiigridview ($.fn.yiiGridView.update()), so my problem is how to get the current page in js: $this->widget('bootstrap.widgets.TbExtendedGridView', array( 'id' =>…
shinten80
  • 3
  • 2
-2
votes
2 answers

dataprovider tag is working in flex

hai i m new in flex and was trying example but getting nothing
1 2 3
33
34