Statistics
| Revision:

root / tmp / org.txm.core.tests / src / org / txm / scripts / tests / test1 / test.groovy @ 1626

History | View | Annotate | Download (591 Bytes)

1
package org.txm.scripts.tests.test1
2

    
3
import java.util.Calendar
4
import java.util.Locale
5

    
6
import org.txm.*
7
import org.txm.core.results.TXMResult
8
import org.txm.objects.*
9
import org.txm.searchengine.cqp.corpus.MainCorpus
10
import org.txm.utils.Diff
11
import org.txm.properties.core.functions.*
12

    
13
try {
14
        println outdir
15
} catch(Exception e) {return false;}
16

    
17
File previous_export = new File(outdir, "079.txt")
18
File export = new File(outdir, "080.txt")
19

    
20
if (previous_export.exists() && export.exists()) {
21
        return false;
22
}
23

    
24
String diff = Diff.diffFile(previous_export, export)
25

    
26
return diff.length() == 0;