Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright (C) 2009-2013 Typesafe Inc. <http://www.typesafe.com>
  */
 package play.test;
 
 import java.io.*;
 import java.util.*;
 
import play.libs.*;
A Fake application.
public class FakeApplication {
A Fake application.

Parameters:
path The application path
classloader The application classloader
additionalConfiguration Additional configuration
additionalPlugins Additional plugins
withoutPlugins Plugins to disable
    @SuppressWarnings("unchecked")
    public FakeApplication(File pathClassLoader classloaderMap<String, ? extends ObjectadditionalConfiguration,
            List<StringadditionalPluginsList<StringwithoutPluginsplay.GlobalSettings global) {
        play.api.GlobalSettings g = null;
        if(global != null)
          g = new play.core.j.JavaGlobalSettingsAdapter(global);
                path,
                classloader,
                Scala.toSeq(additionalPlugins),
                Scala.toSeq(withoutPlugins),
                Scala.asScala((Map<StringObject>)additionalConfiguration),
                scala.Option.apply(g),
                ..<Tuple2<StringString>, Handler>empty()
                );
    }
    public FakeApplication(File pathClassLoader classloaderMap<String, ? extends ObjectadditionalConfiguration,
                           List<StringadditionalPluginsplay.GlobalSettings global) {
        this(pathclassloaderadditionalConfigurationadditionalPlugins, Collections.<String>emptyList(), global);
    }
        return ;
    }
New to GrepCode? Check out our FAQ X