Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 18F899336 for ; Tue, 6 Nov 2012 01:51:00 +0000 (UTC) Received: (qmail 8181 invoked by uid 500); 6 Nov 2012 01:50:59 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 8146 invoked by uid 500); 6 Nov 2012 01:50:59 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 8138 invoked by uid 99); 6 Nov 2012 01:50:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2012 01:50:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of webdoublefx@hotmail.com designates 65.55.111.85 as permitted sender) Received: from [65.55.111.85] (HELO blu0-omc2-s10.blu0.hotmail.com) (65.55.111.85) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2012 01:50:49 +0000 Received: from BLU162-DS17 ([65.55.111.72]) by blu0-omc2-s10.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 5 Nov 2012 17:50:27 -0800 X-Originating-IP: [82.247.153.175] X-EIP: [2LGrbZiy3i18AtG1lhoseK3PuzmNunDW] X-Originating-Email: [webdoublefx@hotmail.com] Message-ID: From: =?iso-8859-1?Q?Fr=E9d=E9ric_THOMAS?= To: References: In-Reply-To: Subject: Re: About Flex runtime Date: Tue, 6 Nov 2012 02:50:23 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3505.912 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3505.912 X-OriginalArrivalTime: 06 Nov 2012 01:50:27.0195 (UTC) FILETIME=[1827B4B0:01CDBBC1] X-Virus-Checked: Checked by ClamAV on apache.org Actually, I implemented the last one tonight, it took me a bit of time in notepad ^^ but it does the job, I still have to modify the tests themself and that, should take me until the end of the week end, I'll be busy this week. Now those are valids : // pass each time which make sens because it means contains nulls // unchanged The error message for "contains" looks like: Expected Error contains "ReferenceError: Error #1074:"..."country"..."mx.resources.Locale", got .... (the real error) Any thoughts ? -----Message d'origine----- From: Alex Harui Sent: Monday, November 05, 2012 6:29 PM To: flex-dev@incubator.apache.org Subject: Re: About Flex runtime On 11/4/12 11:35 PM, "Fr�d�ric THOMAS" wrote: > I'm for the last proposal and I was thinking about to create an other > assertion like AssertErrorContains which would take an Array as parameter > to > check the error value against. > > Something like > I think I would just add a "contains" property to AssertError, we'll probably have to go touch each one of them anyway. I would lean against adding a new test step. Or maybe just change AssertError to do an indexOf instead of == and override "value" so if it gets an array it do indexOf on the array. Hmm. I like this one better. > What do you think ? > -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui