Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2011 Terracotta, Inc. Copyright 2011 Oracle, Inc. 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 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 javax.cache.util;
For the TCK we need to have an exclude list of bad tests so that disabling tests can be done without changing code. This class creates a rule for the class provided The exclude list is created by ExcludeList by creating a file in the root of your classpath called "ExcludeList". There is an example in the testRI module for testing the RI.

Yannis Cosmadopoulos
public class ExcludeListExcluder extends AbstractTestExcluder {
    private final Set<Stringexcludes;

Constructor for ExcludeListExcluder. Uses the supplied class name and ExcludeList.getExcludes(java.lang.String) to determine the methods to be excluded.

c the class for which tests should be excluded
    public ExcludeListExcluder(Class c) {
    protected boolean isExcluded(String methodName) {
        return  != null && .contains(methodName);
New to GrepCode? Check out our FAQ X