Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Re: Epsilon book: EOL Assertion operations not mentioned?
Re: Epsilon book: EOL Assertion operations not mentioned? [message #479485] Tue, 11 August 2009 10:11 Go to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Antonio,

I guess you meant to post this to the epsilon newsgroup, which I've
added to the "to" list of the reply, so no need to repost.


Antonio García Domínguez wrote:
> Hi everyone,
>
> Looking for a replacement for the (seemingly) broken
> preconditions/postconditions for operations in EVL, I've found some
> assertion operations in o.e.e.eol.execute.operations.simple.assertions.
> However, they're not mentioned in the Epsilon book: searching "assert"
> yields no results.
>
> I've reported the bug and proposed a simple patch to mention assert, but
> not assertError or assertEquals (as I'm not sure where to place them):
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=286215
>
> Regards,
> Antonio
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Epsilon book: EOL Assertion operations not mentioned? [message #479761 is a reply to message #479485] Wed, 12 August 2009 12:39 Go to previous message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Antonio,

Thanks for the patch!

assertEquals and assertError are used most often with EUnit, the testing
framework for Epsilon. EUnit is covered here:

http://doi.ieeecomputersociety.org/10.1109/ICSTW.2008.50

Cheers,
Louis.

Ed Merks wrote:
> Antonio,
>
> I guess you meant to post this to the epsilon newsgroup, which I've
> added to the "to" list of the reply, so no need to repost.
>
>
> Antonio García Domínguez wrote:
>> Hi everyone,
>>
>> Looking for a replacement for the (seemingly) broken
>> preconditions/postconditions for operations in EVL, I've found some
>> assertion operations in o.e.e.eol.execute.operations.simple.assertions.
>> However, they're not mentioned in the Epsilon book: searching "assert"
>> yields no results.
>>
>> I've reported the bug and proposed a simple patch to mention assert, but
>> not assertError or assertEquals (as I'm not sure where to place them):
>>
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=286215
>>
>> Regards,
>> Antonio
>>
Re: Epsilon book: EOL Assertion operations not mentioned? [message #573789 is a reply to message #479485] Wed, 12 August 2009 12:39 Go to previous message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Antonio,

Thanks for the patch!

assertEquals and assertError are used most often with EUnit, the testing
framework for Epsilon. EUnit is covered here:

http://doi.ieeecomputersociety.org/10.1109/ICSTW.2008.50

Cheers,
Louis.

Ed Merks wrote:
> Antonio,
>
> I guess you meant to post this to the epsilon newsgroup, which I've
> added to the "to" list of the reply, so no need to repost.
>
>
> Antonio García Domínguez wrote:
>> Hi everyone,
>>
>> Looking for a replacement for the (seemingly) broken
>> preconditions/postconditions for operations in EVL, I've found some
>> assertion operations in o.e.e.eol.execute.operations.simple.assertions.
>> However, they're not mentioned in the Epsilon book: searching "assert"
>> yields no results.
>>
>> I've reported the bug and proposed a simple patch to mention assert, but
>> not assertError or assertEquals (as I'm not sure where to place them):
>>
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=286215
>>
>> Regards,
>> Antonio
>>
Previous Topic:Re: Epsilon book: EOL Assertion operations not mentioned?
Next Topic:Preconditions and postconditions for operations and ErlParserRules.g
Goto Forum:
  


Current Time: Sat Apr 27 04:11:47 GMT 2024

Powered by FUDForum. Page generated in 0.02232 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top