X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.support.jcr%2Fsrc%2Ftest%2Fjava%2Forg%2Fargeo%2Fslc%2Fjcr%2Fdao%2FTreeTestResultDaoJcrTest.java;h=c8c8693337277fc728af1d9a010c3b2b9039400b;hb=ffe7754e421f8ad5d3a336f54a498f67c6d72839;hp=044c67e9ef85734d4e11a6cf3eaabcf2232da3ac;hpb=ce39c8189030580e7fbeeb99507b1c7655055586;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.support.jcr/src/test/java/org/argeo/slc/jcr/dao/TreeTestResultDaoJcrTest.java b/runtime/org.argeo.slc.support.jcr/src/test/java/org/argeo/slc/jcr/dao/TreeTestResultDaoJcrTest.java index 044c67e9e..c8c869333 100644 --- a/runtime/org.argeo.slc.support.jcr/src/test/java/org/argeo/slc/jcr/dao/TreeTestResultDaoJcrTest.java +++ b/runtime/org.argeo.slc.support.jcr/src/test/java/org/argeo/slc/jcr/dao/TreeTestResultDaoJcrTest.java @@ -1,7 +1,23 @@ +/* + * Copyright (C) 2010 Mathieu Baudier + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.argeo.slc.jcr.dao; import java.io.ByteArrayOutputStream; -import java.util.Map; +import java.util.SortedMap; import java.util.TreeMap; import java.util.UUID; @@ -74,7 +90,7 @@ public class TreeTestResultDaoJcrTest extends AbstractSpringTestCase { ttrDao.addResultPart(ttr.getUuid(), path, resultPart, null); // TestAdd Attribute - Map newAtt = new TreeMap(); + SortedMap newAtt = new TreeMap(); newAtt.put("NewTestCase", "NonSortedView"); newAtt.put("NewTestCaseType", "csvdiff"); ttrDao.updateAttributes(ttr.getUuid(), newAtt);