src/main/java/com/github/blockjon/flaptastic/FlaptasticDisableableExtension.java
private boolean isTestDisabled(String relativePathToFile, String functionName) {
        Iterator it = disabledHashMap.entrySet().iterator();
        while (it.hasNext()) {
            Map.Entry pair = (Map.Entry)it.next();
            // If one of the known disabled files (pair.getKey()) is the name
            // of the file that JUnit5 wants to execute....
            if (pair.getKey() == relativePathToFile) {
                // Loop over each of the test functions to see if the JUnit5 test
                // functionName matches one of the disabled functions.
                for (int j=0; j<((ArrayList) pair.getValue()).size(); j++) {
                    if (((HashMap) ((ArrayList) pair.getValue()).get(j)).get("name") == functionName) {
                        return true;
                    }
                }
            }
            it.remove(); // avoids a ConcurrentModificationException
        }
        return false;
    }
/**
     * Given a relative path to a source code file and test function name, determine if
     * this unit test is currently disabled.
     *
     * @param relativePathToFile
     * @param functionName
     * @return
     */
Given a relative path to a source code file and test function name, determine if
this unit test is currently disabled.

@param relativePathToFile
@param functionName
@return
Given a relative path to a source code file and test function name determine if this unit test is currently disabled . @param relativePathToFile @param functionName @return
private boolean isTestDisabled(String relativePathToFile, String functionName) {
        Iterator it = disabledHashMap.entrySet().iterator();
        while (it.hasNext()) {
            Map.Entry pair = (Map.Entry)it.next();
            if (pair.getKey() == relativePathToFile) {
                for (int j=0; j<((ArrayList) pair.getValue()).size(); j++) {
                    if (((HashMap) ((ArrayList) pair.getValue()).get(j)).get("name") == functionName) {
                        return true;
                    }
                }
            }
            it.remove(); 
        }
        return false;
    }
private boolean isTestDisabled ( String relativePathToFile , String functionName ) { Iterator it = disabledHashMap . entrySet ( ) . iterator ( ) ; while ( it . hasNext ( ) ) { Map . Entry pair = ( Map . Entry ) it . next ( ) ; if ( pair . getKey ( ) == relativePathToFile ) { for ( int j = 0 ; j < ( ( ArrayList ) pair . getValue ( ) ) . size ( ) ; j ++ ) { if ( ( ( HashMap ) ( ( ArrayList ) pair . getValue ( ) ) . get ( j ) ) . get ( "name" ) == functionName ) { return true ; } } } it . remove ( ) ; } return false ; }
Given a relative path to a source code file and test function name, determine if
 this unit test is currently disabled.
Given a relative path to a source code file and test function name determine if this unit test is currently disabled .
// If one of the known disabled files (pair.getKey()) is the name // of the file that JUnit5 wants to execute.... // Loop over each of the test functions to see if the JUnit5 test // functionName matches one of the disabled functions. // avoids a ConcurrentModificationException