Package com.intellij.testFramework

Examples of com.intellij.testFramework.MockSchemesManagerFactory


      MockProjectEx project = new MockProjectEx(rootDisposable);
      MockPsiManager psiManager = new MockPsiManager(project);
      PsiFileFactoryImpl psiFileFactory = new PsiFileFactoryImpl(psiManager);
      MutablePicoContainer appContainer = application.getPicoContainer();
      registerComponentInstance(appContainer, MessageBus.class, MessageBusFactory.newMessageBus(application));
      registerComponentInstance(appContainer, SchemesManagerFactory.class, new MockSchemesManagerFactory());
      final MockEditorFactory editorFactory = new MockEditorFactory();
      registerComponentInstance(appContainer, EditorFactory.class, editorFactory);
      registerComponentInstance(
        appContainer, FileDocumentManager.class,
        new MockFileDocumentManagerImpl(new Function<CharSequence, Document>() {
View Full Code Here

TOP

Related Classes of com.intellij.testFramework.MockSchemesManagerFactory

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.