Hi Jody, thanks for your tips.

On Dec 17, 2007 10:51 AM, Jody Garnett <[EMAIL PROTECTED]> wrote:

> Evening Danile; we do our best not to commit massive binary files to svn
> (just because checkout take too long and the repository size gets
> massive).


Yes, I know that. This is the reason which let me the
src/test/resources/.../test-data folder empty :)

I would use the existing sample data (in the sample data
> module) as a guide to how big things should be.
>
> I cannot quite remember the reason for having a sample data module; I
> think it was a combination of tricky file handling on windows; common
> facilities to copy data to a temp directory for read / write modification.


Yes, it provides test-data access capabilities/methods as well as sharing
the same sample data between different modules. (by using the
org.geotools.TestData class instead of the org.geotools.test.TestData one
which should be used to access module's specific test-data)

Regards,
Daniele

>
> > Yes, It's mine.
> > In the beginning I have set an empty String as a fileName for testing.
> > The test method is checking for the fileName and when empty, it
> > display a warning message reporting to specify a good valid test file
> > and the test returns without errors. I used this approach to avoid
> > committing big ecw files on SVN. Test actually fails since a fileName
> > has been set although the cited file has not been provided in the
> > resource folder.
> > Now, I found a 680Kb ECW test sample. Could I store it in the SVN and
> > update the test classes or is it too big to be stored in the SVN?
> > What is the maximum allowed size of a sample to be uploaded in the
> > test-data folder of a proper module within the geoTools SVN?
> >
> > Best Regards,
> > Daniele
> >
> >
> > On Dec 16, 2007 11:10 PM, Jody Garnett <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >     Here is the failure - Daniele I think this one is yours?
> >     > Test set: org.geotools.gce.ecw.ECWTest
> >     >
> >
> -------------------------------------------------------------------------------
> >     > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> >     1.488
> >     > sec <<< FAILURE!
> >     > test(org.geotools.gce.ecw.ECWTest)  Time elapsed: 1.454 sec  <<<
> >     ERROR!
> >     > java.io.FileNotFoundException: Could not locate test-data:
> >     > land_shallow_topo_21600.ecw
> >     >         at org.geotools.test.TestData.url(TestData.java:238)
> >     >         at org.geotools.test.TestData.file(TestData.java:258)
> >     >         at org.geotools.gce.ecw.ECWTest.test(ECWTest.java:75)
> >
> >     Jody
> >
> >
> >
> >
> > --
> > -------------------------------------------------------
> > Eng. Daniele Romagnoli
> > Software Engineer
> >
> > GeoSolutions S.A.S.
> > Via Carignoni 51
> > 55041 Camaiore (LU)
> > Italy
> >
> > phone: +39 0584983027
> > fax:     +39 0584983027
> > mob:   +39 328 0559267
> >
> >
> > http://www.geo-solutions.it
> >
> > -------------------------------------------------------
>
>


-- 
-------------------------------------------------------
Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax:     +39 0584983027
mob:   +39 328 0559267


http://www.geo-solutions.it

-------------------------------------------------------
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to