MudassarRasool / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Databinding error when using inheritance and parent class with a bound member #736

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem? (see attached example DataFixture.cs)
1.  define a member variable parameter inside a test fixture  
2.  define a child class which inherits from the test fixture
3.  define a data source for the parameter on the child class
4.  select the child class

What is the expected output? What do you see instead?
expected the parameter to recieve the value from the data source
found an error that the child classes type cannot be converted to the slot data 
type  (ex: cannot convert child class to int)

What version of the product are you using? On what operating system?
3.2 build 601
Windows XP Pro SP3 (x86)

Please provide any additional information below.

In reality, I want to use the abstract fixture for application lifetime 
control, and define most if not all tests in the child class.  But the lifetime 
control requires data from the datasource (where the exe under test is, how to 
launch it, etc.).

Original issue reported on code.google.com by tyr...@irdinc.com on 27 Sep 2010 at 5:48

Attachments:

GoogleCodeExporter commented 8 years ago
The object creation specification should be able to create objects coming from 
base types as well.

Original comment by Yann.Tre...@gmail.com on 28 Sep 2010 at 7:33

GoogleCodeExporter commented 8 years ago

Original comment by Yann.Tre...@gmail.com on 28 Sep 2010 at 8:03

GoogleCodeExporter commented 8 years ago

Original comment by Yann.Tre...@gmail.com on 28 Sep 2010 at 8:10

GoogleCodeExporter commented 8 years ago

Original comment by Yann.Tre...@gmail.com on 28 Sep 2010 at 8:12