<commit_before>package grails.test.runtime;

import java.io.File;
import java.io.Writer;
import java.util.Collection;
import java.util.List;
import java.util.Map;

import org.codehaus.groovy.grails.commons.GrailsApplication;
import org.codehaus.groovy.grails.commons.spring.RuntimeSpringConfiguration;
import org.codehaus.groovy.grails.plugins.GrailsPlugin;
import org.codehaus.groovy.grails.plugins.GrailsPluginManager;
import org.codehaus.groovy.grails.plugins.exceptions.PluginException;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.core.io.Resource;
import org.springframework.core.type.filter.TypeFilter;

final class NoOpGrailsPluginManager implements GrailsPluginManager {
    @Override
    public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
        
    }

    @Override
    public GrailsPlugin[] getAllPlugins() {
        return null;
    }

    @Override
    public GrailsPlugin[] getUserPlugins() {
        return null;
    }

    @Override
    public GrailsPlugin[] getFailedLoadPlugins() {
        return null;
    }

    @Override
    public void loadPlugins() throws PluginException {
        
    }

    @Override
    public void doRuntimeConfiguration(RuntimeSpringConfiguration springConfig) {
        
    }

    @Override
    public void doPostProcessing(ApplicationContext applicationContext) {
        
    }

    @Override
    public void doWebDescriptor(Resource descriptor, Writer target) {
        
    }

    @Override
    public void doWebDescriptor(File descriptor, Writer target) {
        
    }

    @Override
    public void doDynamicMethods() {
        
    }

    @Override
    public GrailsPlugin getGrailsPlugin(String name) {
        return null;<commit_msg>remove doWithWebDescriptor and load Grails programmatically via Servlet 3.0 APIs. Also allow plugins to hook into startup via Boot's ServletContextInitializer<commit_after>package grails.test.runtime;

import java.io.File;
import java.io.Writer;
import java.util.Collection;
import java.util.List;
import java.util.Map;

import org.codehaus.groovy.grails.commons.GrailsApplication;
import org.codehaus.groovy.grails.commons.spring.RuntimeSpringConfiguration;
import org.codehaus.groovy.grails.plugins.GrailsPlugin;
import org.codehaus.groovy.grails.plugins.GrailsPluginManager;
import org.codehaus.groovy.grails.plugins.exceptions.PluginException;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.core.io.Resource;
import org.springframework.core.type.filter.TypeFilter;

final class NoOpGrailsPluginManager implements GrailsPluginManager {
    @Override
    public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
        
    }

    @Override
    public GrailsPlugin[] getAllPlugins() {
        return null;
    }

    @Override
    public GrailsPlugin[] getUserPlugins() {
        return null;
    }

    @Override
    public GrailsPlugin[] getFailedLoadPlugins() {
        return null;
    }

    @Override
    public void loadPlugins() throws PluginException {
        
    }

    @Override
    public void doRuntimeConfiguration(RuntimeSpringConfiguration springConfig) {
        
    }

    @Override
    public void doPostProcessing(ApplicationContext applicationContext) {
        
    }

    @Override
    public void doDynamicMethods() {
        
    }

    @Override
    public GrailsPlugin getGrailsPlugin(String name) {
        return null;
{'fraction_non_alphanumeric': 0.07461858529819695, 'fraction_numerical': 0.0005547850208044383, 'mean_word_length': 3.5994897959183674, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1462796', 'n_tokens_mistral': 1000, 'n_tokens_neox': 954, 'n_words': 206}