public FileCompletionProviderTest(REditorMefCatalogFixture catalog) {
            _catalog = catalog;
            _exportProvider = _catalog.CreateExportProvider();

            _imagesProvider = Substitute.For<IImagesProvider>();
            _glyphService = Substitute.For<IGlyphService>();

            var myDocs = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
            _testFolder = Path.Combine(myDocs, _testFolderName);
            if (!Directory.Exists(_testFolder)) {
                Directory.CreateDirectory(_testFolder);
            }
        }
Example #2
0
        public FileCompletionProviderTest(REditorMefCatalogFixture catalog)
        {
            _catalog        = catalog;
            _exportProvider = _catalog.CreateExportProvider();

            _imagesProvider = Substitute.For <IImagesProvider>();
            _glyphService   = Substitute.For <IGlyphService>();

            var myDocs = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);

            _testFolder = Path.Combine(myDocs, _testFolderName);
            if (!Directory.Exists(_testFolder))
            {
                Directory.CreateDirectory(_testFolder);
            }
        }
Example #3
0
 public RPeekableItemSourceTest(REditorMefCatalogFixture catalog)
 {
     _exportProvider = catalog.CreateExportProvider();
 }
Example #4
0
 public AutoFormatTest(REditorMefCatalogFixture catalog)
 {
     _exportProvider = catalog.CreateExportProvider();
 }
 public RCompletionSourceTestBase(REditorMefCatalogFixture catalog) : base(catalog)
 {
 }
Example #6
0
 public SmartIndentTest(REditorMefCatalogFixture catalogFixture)
 {
     _exportProvider = catalogFixture.CreateExportProvider();
 }
 public ComputeCurrentParameterTest(REditorMefCatalogFixture catalog) : base(catalog) { }
 public ComputeCurrentParameterTest(REditorMefCatalogFixture catalog) : base(catalog)
 {
 }
Example #9
0
 public RBraceMatchTest(REditorMefCatalogFixture catalogFixture, EditorTestFilesFixture testFiles)
 {
     _exportProvider = catalogFixture.CreateExportProvider();
 }
Example #10
0
 public PackageInstallTest(REditorMefCatalogFixture catalog, BrokerFixture broker) : base(catalog)
 {
     _broker = broker;
 }
Example #11
0
 public PackageInstallTest(REditorMefCatalogFixture catalog) : base(catalog) { }
Example #12
0
 public RangeFormatterTest(REditorMefCatalogFixture catalog)
 {
     _exportProvider = catalog.CreateExportProvider();
     _editorShell    = _exportProvider.GetExportedValue <IEditorShell>();
 }
Example #13
0
 public SmartIndentTest(REditorMefCatalogFixture catalogFixture) {
     _exportProvider = catalogFixture.CreateExportProvider();
 }
Example #14
0
 public CommenterTest(REditorMefCatalogFixture catalogFixture)
 {
     _exportProvider = catalogFixture.CreateExportProvider();
     _editorShell    = _exportProvider.GetExportedValue <IEditorShell>();
 }
Example #15
0
 public RCompletionSourceTest(REditorMefCatalogFixture catalog) {
     _exportProvider = catalog.CreateExportProvider();
     _editorShell = _exportProvider.GetExportedValue<IEditorShell>();
 }
Example #16
0
 public ProcessChangesTest(REditorMefCatalogFixture catalogFixture, EditorTestFilesFixture testFiles) {
     _exportProvider = catalogFixture.CreateExportProvider();
     _coreShell = _exportProvider.GetExportedValue<ICoreShell>();
 }
Example #17
0
 public RangeFormatterTest(REditorMefCatalogFixture catalog) {
     _exportProvider = catalog.CreateExportProvider();
     _editorShell = _exportProvider.GetExportedValue<IEditorShell>();
 }
Example #18
0
 public FunctionIndexTest(REditorMefCatalogFixture catalog) : base(catalog) { }
Example #19
0
 public EditorTreeInvalidateTest(REditorMefCatalogFixture catalogFixture, EditorTestFilesFixture testFiles)
 {
     _exportProvider = catalogFixture.CreateExportProvider();
     _coreShell      = _exportProvider.GetExportedValue <ICoreShell>();
 }
Example #20
0
 public GotoBraceCommandTest(REditorMefCatalogFixture catalog)
 {
     _exportProvider = catalog.CreateExportProvider();
     _editorShell    = _exportProvider.GetExportedValue <IEditorShell>();
 }
Example #21
0
 public CommenterTest(REditorMefCatalogFixture catalogFixture) {
     _exportProvider = catalogFixture.CreateExportProvider();
     _editorShell = _exportProvider.GetExportedValue<IEditorShell>();
 }
Example #22
0
 public GotoBraceCommandTest(REditorMefCatalogFixture catalog) {
     _exportProvider = catalog.CreateExportProvider();
     _editorShell = _exportProvider.GetExportedValue<IEditorShell>();
 }
Example #23
0
 public ProcessChangesTest(REditorMefCatalogFixture catalogFixture, EditorTestFilesFixture testFiles)
 {
     _exportProvider = catalogFixture.CreateExportProvider();
     _coreShell      = _exportProvider.GetExportedValue <ICoreShell>();
 }
Example #24
0
 public ROutlineBuilderTest(REditorMefCatalogFixture catalogFixture, EditorTestFilesFixture testFiles)
 {
     _exportProvider = catalogFixture.CreateExportProvider();
     _editorShell    = _exportProvider.GetExportedValue <IEditorShell>();
     _testFiles      = testFiles;
 }
Example #25
0
 public SignatureHelpSourceTest(REditorMefCatalogFixture catalog) : base(catalog)
 {
 }
Example #26
0
 public ROutlineBuilderTest(REditorMefCatalogFixture catalogFixture, EditorTestFilesFixture testFiles) {
     _exportProvider = catalogFixture.CreateExportProvider();
     _editorShell = _exportProvider.GetExportedValue<IEditorShell>();
     _testFiles = testFiles;
 }
 public RPeekableItemSourceTest(REditorMefCatalogFixture catalog, BrokerFixture broker)
 {
     _exportProvider = catalog.CreateExportProvider();
     _broker         = broker;
 }
Example #28
0
 public FunctionIndexTest(REditorMefCatalogFixture catalog) : base(catalog)
 {
 }
Example #29
0
 public PackageInstallTest(REditorMefCatalogFixture catalog) : base(catalog)
 {
 }
 public RFunctionCompletionSourceTest(REditorMefCatalogFixture catalog) : base(catalog) { }
Example #31
0
 public AutoFormatTest(REditorMefCatalogFixture catalog) {
     _exportProvider = catalog.CreateExportProvider();
 }
Example #32
0
 public SignatureHelpSourceTest(REditorMefCatalogFixture catalog) : base(catalog) { }
Example #33
0
 public EditorTreeInvalidateTest(REditorMefCatalogFixture catalogFixture, EditorTestFilesFixture testFiles) {
     _exportProvider = catalogFixture.CreateExportProvider();
     _coreShell = _exportProvider.GetExportedValue<ICoreShell>();
 }
Example #34
0
 public RBraceMatchTest(REditorMefCatalogFixture catalogFixture, EditorTestFilesFixture testFiles) {
     _exportProvider = catalogFixture.CreateExportProvider();
 }
Example #35
0
 public RPeekableItemSourceTest(REditorMefCatalogFixture catalog) {
     _exportProvider = catalog.CreateExportProvider();
 }