[Dart] Re: Removing: Stage1, Warning1 .. 33

Blezek, Daniel J (GE, Research) blezek at crd.ge.com
Thu May 31 15:31:41 EDT 2007


Hi Mathieu,

  This is the basic idea, you'll end up skipping the display of anything
named ".Test._Properties" which is what you want.  Is this working for
you?

-dan 

-----Original Message-----
From: Mathieu Malaterre [mailto:mathieu.malaterre at gmail.com] 
Sent: Monday, May 21, 2007 9:43 AM
To: Blezek, Daniel J (GE, Research)
Cc: dart at public.kitware.com
Subject: Re: [Dart] Re: Removing: Stage1, Warning1 .. 33

Hi Dan,

  I need you help again to get started. Am I supposed to do something
like that:

$ diff -u  theralys/Templates/TestCatalog.ftl
theralys/LocalTemplates/TestCatalog.ftl
--- theralys/Templates/TestCatalog.ftl  2007-04-04 10:00:20.000000000
+0200
+++ theralys/LocalTemplates/TestCatalog.ftl     2007-05-21
15:41:36.000000000 +0200
@@ -276,7 +276,7 @@

       <#assign numberOfTests = 0 />
       <#list sortedTestList as test>
-        <#if test.status != "m">
+        <#if test.status != "m" && test.qualifiedName != 
+ ".Test._Properties">

         <#assign row = row + 1/>
         <#if row % 2 == 1>



Thanks
-Mathieu

On 5/7/07, Blezek, Daniel J (GE, Research) <blezek at crd.ge.com> wrote:
> Mathieu,
>
>   The feature doesn't currently exist, however, you can create a 
> modified local copy of the TestCatatlog page.  Have a look at section
> 6.1.2 in the manual.  Basically, copy the TestCatalog.ftl from the 
> Templates directory in the project to the LocalTemplates directory 
> (which should be empty).  Then modify the version in LocalTemplates.
> Dart first searches LocalTemplates for the pages to be generated.  You

> can simply skip unwanted Tests.  The code is fairly straightforward, 
> but you'll have to read up a little on FreeMarker 
> http://freemarker.sourceforge.net/ to do the changes.
>
> -dan
>
> -----Original Message-----
> From: Mathieu Malaterre [mailto:mathieu.malaterre at gmail.com]
> Sent: Monday, May 07, 2007 8:43 AM
> To: Blezek, Daniel J (GE, Research)
> Cc: dart at public.kitware.com
> Subject: Re: [Dart] Re: Removing: Stage1, Warning1 .. 33
>
> Hi Dan,
>
> On 5/7/07, Blezek, Daniel J (GE, Research) <blezek at crd.ge.com> wrote:
> >   At the current time, there is no good way to remove the tests.  
> > Dart
>
> > automatically generates these tests for "housekeeping" information.
> > When we designed them, we didn't think they would be obtrusive, but 
> > the list of artificial tests has grown over time.
>
> ok
>
> >   Dart relies on these test too heavily to remove them, would it be 
> > sufficient for them to simply not be displayed on the TestCatalog
> pages?
> > This is possible.
>
> That'd be fantastic ! Is this describe somewhere ?
>
>
> Thanks,
> -Mathieu
>


--
Mathieu


More information about the Dart mailing list