Ignore:
Timestamp:
01/29/16 17:06:08 (8 years ago)
Author:
Menzo Windhouwer
Message:

M toolkit/src/test/java/eu/clarin/cmd/toolkit/TestCMDToolkit.java
M toolkit/src/main/resources/toolkit/upgrade/cmd-record-1_1-to-1_2.xsl

  • default parameter values now match the CR, so the test environment needs to overwrite these

A toolkit/src/test/resources/toolkit/vocabs
A + toolkit/src/main/resources/toolkit/xslt/clavas2enum.xsl

  • turn a CLAVAS vocabulary into an CMD profile spec value scheme enum
File:
1 edited

Legend:

Unmodified
Added
Removed
  • metadata/trunk/toolkit/src/test/java/eu/clarin/cmd/toolkit/TestCMDToolkit.java

    r6929 r6930  
    150150        Map<String,XdmValue> params = new HashMap<String,XdmValue>();
    151151        params.put("cmd-profile", prof);
     152        params.put("cr-uri", new XdmAtomicValue(".."));
     153        params.put("cr-extension-xsd", new XdmAtomicValue("-1_2.xsd"));
     154        params.put("cr-roundtrip-extension-xsd", new XdmAtomicValue("-1-1-1_2.xsd"));
     155        params.put("cr-extension-xml", new XdmAtomicValue("-1.2.xml"));
    152156        return transform(upgradeCMDRec,new javax.xml.transform.stream.StreamSource(new java.io.File(TestCMDToolkit.class.getResource(rec).toURI())),params);
    153157    }
Note: See TracChangeset for help on using the changeset viewer.