Ignore:
Timestamp:
02/24/16 13:33:39 (8 years ago)
Author:
Leif-Jöran
Message:

Completing the translation configuration test from provided file by printing the annotation tables instead of trying to find CGN tables to test if there are no CGN translation types provided.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • FCSannotrans/trunk/src/main/java/nl/mpi/annot/translate/AnnotationTranslatorTestDriver.java

    r6987 r6988  
    156156            return;
    157157        }
    158         if (!getTranslationTypeData(at)) {
    159             return;
    160         }
    161         if (!getTranslationTableData(at)) {
    162             return;
    163         }
    164         testPoSTranslations(at);
    165         testPhonTranslations(at);       
     158        if (getTranslationTypeData(at) && getTranslationTableData(at)) {
     159            testPoSTranslations(at);
     160            testPhonTranslations(at);       
     161        } else {
     162            for (TranslationTable ttable : at.getTranslationTables()) {
     163                ttable.display();
     164            }
     165        }
    166166    }
    167167       
Note: See TracChangeset for help on using the changeset viewer.