Re: [Vala] Using TestCase class: assert (this is Object) fails in method, but not in constructor

2016-02-05 Thread Evan Nemerson
> > > > > > > > > > > > > > > On Fri, 2016-02-05 at 01:31 -0200, Felipe Lavratti wrote: > > > > > Steven, > > > > > > > > > > Since you brought it, I took the liberty to commit a project > > > > > template > > > > > with

Re: [Vala] Using TestCase class: assert (this is Object) fails in method, but not in constructor

2016-02-05 Thread Felipe Lavratti
; On Thu, Feb 4, 2016 at 9:09 PM, Steven Oliver > > > l.co > > > > m> wrote: > > > > > I'm in the process of implementing the gee test suite into my > > > > > project. So far so good. The test suite was easy to figure out. > > > > > So > > > > > far m

Re: [Vala] Using TestCase class: assert (this is Object) fails in method, but not in constructor

2016-02-05 Thread Evan Nemerson
-0800, "Chris Daley" > > > @gma > > > > il.com> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > &g

Re: [Vala] Using TestCase class: assert (this is Object) fails in method, but not in constructor

2016-02-05 Thread Felipe Lavratti
your needs - it >> > certainly >> > makes the tests easier to read and is more xUnit like in its >> > approach than >> > the 'naked' GLib Test classes. >> > >> > https://esite.ch/2012/06/writing-tests-for-vala/ >> > >> > Gives

Re: [Vala] Using TestCase class: assert (this is Object) fails in method, but not in constructor

2016-02-04 Thread Evan Nemerson
Chris D > > > > 2016-02-04 14:09 GMT-08:00 Daniel Espinosa : > > > > > GXml have a test suite may you want to check. I has more than 50 > > > tests > > > cases. > > > El feb. 4, 2016 3:04 PM, "Al Thomas"  escribió: > > > &

Re: [Vala] Using TestCase class: assert (this is Object) fails in method, but not in constructor

2016-02-04 Thread Chris Daley
> > 2016-02-04 14:09 GMT-08:00 Daniel Espinosa : > > > >> GXml have a test suite may you want to check. I has more than 50 tests > >> cases. > >> El feb. 4, 2016 3:04 PM, "Al Thomas" escribió: > >> > >> > > >> > > >

Re: [Vala] Using TestCase class: assert (this is Object) fails in method, but not in constructor

2016-02-04 Thread Felipe Lavratti
t; >> GXml have a test suite may you want to check. I has more than 50 tests >> cases. >> El feb. 4, 2016 3:04 PM, "Al Thomas" escribió: >> >> > >> > >> > ----- Original Message - >> > > From: Felipe Lavratti >> > > Se

Re: [Vala] Using TestCase class: assert (this is Object) fails in method, but not in constructor

2016-02-04 Thread Steven Oliver
cribió: > > > > > > > - Original Message - > > > From: Felipe Lavratti > > > Sent: Thursday, 4 February 2016, 20:18 > > > Subject: [Vala] Using TestCase class: assert (this is Object) fails in > > method, but not in constructor > > > >

Re: [Vala] Using TestCase class: assert (this is Object) fails in method, but not in constructor

2016-02-04 Thread Chris Daley
Original Message - > > > From: Felipe Lavratti > > > Sent: Thursday, 4 February 2016, 20:18 > > > Subject: [Vala] Using TestCase class: assert (this is Object) fails in > > method, but not in constructor > > > > > > Have a look at this code: > &g

Re: [Vala] Using TestCase class: assert (this is Object) fails in method, but not in constructor

2016-02-04 Thread Daniel Espinosa
GXml have a test suite may you want to check. I has more than 50 tests cases. El feb. 4, 2016 3:04 PM, "Al Thomas" escribió: > > > - Original Message - > > From: Felipe Lavratti > > Sent: Thursday, 4 February 2016, 20:18 > > Subject: [Vala] Using T

Re: [Vala] Using TestCase class: assert (this is Object) fails in method, but not in constructor

2016-02-04 Thread Al Thomas
- Original Message - > From: Felipe Lavratti > Sent: Thursday, 4 February 2016, 20:18 > Subject: [Vala] Using TestCase class: assert (this is Object) fails in > method, but not in constructor > > Have a look at this code: > > public class Tests : Obje

[Vala] Using TestCase class: assert (this is Object) fails in method, but not in constructor

2016-02-04 Thread Felipe Lavratti
Have a look at this code: public class Tests : Object { public Tests () { assert (this is Object); // THIS ASSERTION PASSES ts = new TestSuite ("dot_cap_dimmer") ; ts.add (new TestCase ("construction", (TestFixtureFunc) setup, (TestFixtureFunc) test