dataprovider Questions

3

Solved

I want to use PHPUnit to test my PHP class. Is it possible to put data providers for my test methods in a separate file created only for storing dataproviders? If so how to do that? Another ques...
Cordeelia asked 4/6, 2017 at 9:47

5

Solved

I'm using TestNG for Eclipse. Is it possible to give two data providers step by step to the same test-function? I could put both providers in one, but that is not what I want. I need (not like in t...
Hogweed asked 31/5, 2012 at 11:9

4

The application itself described in my previous question. On the DAL side I use Oracle.ManagedDataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342 Here is connection s...
Ichthyoid asked 1/11, 2013 at 4:4

2

Solved

$searchModel = new CustomersSearch(); $dataProvider = $searchModel->search(Yii::$app->request->queryParams); In Yii2, by default, we are provided with a searchModel and a dataProvider fo...
Unexceptional asked 1/8, 2017 at 17:24

6

Solved

I have a single test which receives data from data provider. I would like this test to run in parallel with different values from data provider . I tried an approach like : public class Independe...
Basic asked 20/7, 2015 at 16:18

2

Solved

I want to pass one custom parameter to the Admin's dataProvider for type 'GET_LIST'. I have something like this in App.js: <Admin dataProvider={dataProvider}> <Resource name="posts" l...
Prosthodontist asked 16/4, 2019 at 16:53

2

Solved

I am trying to create a unit test in python that has a data provider. As the unittest library does not support this nativity, I'm using the unittest_data_provider package. I'm getting an error, and...
Barbital asked 19/9, 2013 at 21:59

1

I reinstalled ODAC Oracle but keep getting following error "Oracle Data Provider for .NET has been installed without a machine-wide configuration. However, a version of Oracle Data Provider for ....
Karl asked 3/2, 2017 at 11:52

8

Solved

I am following the ASP.NET MVC 3 Music store application tutorial but I keep getting stuck in part 4: http://www.asp.net/mvc/tutorials/mvc-music-store-part-4. It keeps telling me that I do not have...
Scarlet asked 28/7, 2011 at 20:27

6

I am looking to set a condition only for a single action in the controller, so I don't want to change my search model. My code looks like this: public function actionRoles() { $searchModel = ne...
Steric asked 31/7, 2015 at 8:40

3

Solved

I have installed the sp1 for visual studio 2010 and installed sql server ce 4 runtime. But still not able to create connection to the sql ce database using standart data provider. This is how my S...
Horribly asked 20/3, 2011 at 22:39

6

I'm using VS 2015 and i want to develop Win Form application with .NET Framework 4.5 and SQLite. I have install the last "System.Data.SQLite" nuget package with all dependencies to my project but...
Incrustation asked 13/2, 2015 at 20:8

1

Solved

In my PostSearch model I have this code : public function search($params) { $query = Post::find()->where(['status' => 1]); $dataProvider = new ActiveDataProvider([ 'query' => $query, ...
Boatman asked 17/6, 2015 at 11:6

4

Solved

I have two related ComboBoxes ( continents, and countries ). When the continents ComboBox changes I request a XML from a certain URL. When I receive that XML i change the DataProvider for the count...
Mariettamariette asked 30/3, 2010 at 14:33

2

Solved

I'm using VS 2013 to develop Win 8.1 app. I chose to deal with SQLite but I coudn't find the data provider when I was trying to add a new connection to manage my database. Any help is appreciated ...
Shaefer asked 29/10, 2013 at 17:37

2

Solved

First off, I've found many questions and many answers related or perceived identical to my issue however nothing seems to be working out for me. I have a brand new templated MVC4 website, a brand ...
Dichlorodifluoromethane asked 20/6, 2013 at 17:46

3

Is there a way to provide a connection string to Linq-To-Sql data provider in F# from App.Config file. I have tried the following just for testing: let mutable connString = @"Data Source=PCSQLEXP...
Arboreous asked 9/5, 2012 at 22:0

2

Solved

How do you deploy and configure ODP.NET to work without installation with Entity Framework? A. How to deploy and configure Oracle.DataAccess.Client? B. How to deploy and configure Oracle.ManagedD...
Monadelphous asked 5/12, 2012 at 10:25

1

Solved

I spent a lot of time by searching where is the problem, but i haven't find anything. It sais "testAdd caused an ERROR: Missing argument". Simply the dataProvider isn't executed, when I run the te...
Hinrichs asked 4/7, 2013 at 6:36

1

Solved

We have Middle tier that provide data. We are trying to write a custom data provider. I have overriden the intefaces of SYstem.Data namespace like IDbCommand, IdbConnection and generated dlls. We ...
Curley asked 21/5, 2013 at 8:30

13

Solved

Background-info: I'm using Microsoft Visual Web Developer 2010 Express. Info about my (lack of) experience: the problem occured within the first tutorial that I'm trying to work through. Some a...
Alanaalanah asked 28/6, 2011 at 14:58

6

Solved

I have the following test case: include_once('../Logger.php'); class LoggerTest extends PHPUnit_Framework_TestCase { public function providerLogger() { return new Logger; } /** * @dataProv...
Zouave asked 24/11, 2010 at 0:2

2

Solved

Suppose I have model User which have many to many relation to itself named as friends. so $user->friends (or $model->friends in view) gives me an array of User objects. I wanted to display th...
Taejon asked 3/1, 2013 at 7:21

5

Solved

I'm using VS2010 with the MySQL .NET Connector. My project that used to work started reporting: Error 175: The specified data store provider cannot be found, or is not valid. I don't know why,...
Idempotent asked 14/12, 2010 at 22:3

3

Recently a new concept of Theories was added to JUnit (since v4.4). In a nutshell, you can mark your test method with @Theory annotation (instead of @Test), make your test method parametrized and ...
Lowerclassman asked 8/1, 2012 at 18:18

© 2022 - 2024 — McMap. All rights reserved.