X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Ftest%2Fcontext%2FContextAware.java;h=2b8270b13f95f930be40b4dae1ed835f835679a0;hb=6701dca2d857462db94fc1c367c1d41247be91e4;hp=225cd825f08c96a2cc3c6b4eb9cbaf7c452a81ef;hpb=2f57b9abf7e5110603e8cf952259509c76c9a162;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/test/context/ContextAware.java b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/test/context/ContextAware.java index 225cd825f..2b8270b13 100644 --- a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/test/context/ContextAware.java +++ b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/test/context/ContextAware.java @@ -1,15 +1,34 @@ +/* + * Copyright (C) 2007-2012 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.test.context; import java.util.Map; +/** Access to an SLC test context that is, maps of reached and expected values. */ public interface ContextAware { public final static String DEFAULT_SKIP_FLAG = "!"; public final static String DEFAULT_ANY_FLAG = "*"; + /** Retrieves reached values. */ public Map getValues(); + /** Set reached values. */ public void setValues(Map values); + /** Retrieves expected values. */ public Map getExpectedValues(); public String getContextSkipFlag();