Package org.gradle.api.internal.initialization.loadercache

Examples of org.gradle.api.internal.initialization.loadercache.DummyClassLoaderCache


    @Before
    public void setUp() throws IOException, ClassNotFoundException {
        File testProjectDir = tmpDir.createDir("projectDir");
        classLoader = getClass().getClassLoader();
        scriptCompilationHandler = new DefaultScriptCompilationHandler(new AsmBackedEmptyScriptGenerator(), new DummyClassLoaderCache());
        scriptCacheDir = new File(testProjectDir, "cache");
        scriptText = "System.setProperty('" + TEST_EXPECTED_SYSTEMPROP_KEY + "', '" + TEST_EXPECTED_SYSTEMPROP_VALUE
                + "')";

        scriptClassName = "ScriptClassName";
View Full Code Here


        final GradleInternal gradle = context.mock(GradleInternal.class);
        final SettingsLocation settingsLocation = new SettingsLocation(settingsDir, new File("foo"));

        PropertiesLoadingSettingsProcessor processor = new PropertiesLoadingSettingsProcessor(delegate, propertiesLoader);

        final ClassLoaderScope classLoaderScope = new RootClassLoaderScope(urlClassLoader, new DummyClassLoaderCache());

        context.checking(new Expectations() {{
            one(propertiesLoader).loadProperties(settingsDir);
            one(delegate).process(gradle, settingsLocation, classLoaderScope, startParameter);
            will(returnValue(settings));
View Full Code Here

TOP

Related Classes of org.gradle.api.internal.initialization.loadercache.DummyClassLoaderCache

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.