예제 #1
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);
            }
        }
예제 #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);
            }
        }
예제 #3
0
 public RPeekableItemSourceTest(REditorMefCatalogFixture catalog)
 {
     _exportProvider = catalog.CreateExportProvider();
 }
예제 #4
0
 public AutoFormatTest(REditorMefCatalogFixture catalog)
 {
     _exportProvider = catalog.CreateExportProvider();
 }
 public RCompletionSourceTestBase(REditorMefCatalogFixture catalog) : base(catalog)
 {
 }
예제 #6
0
 public SmartIndentTest(REditorMefCatalogFixture catalogFixture)
 {
     _exportProvider = catalogFixture.CreateExportProvider();
 }
예제 #7
0
 public ComputeCurrentParameterTest(REditorMefCatalogFixture catalog) : base(catalog) { }
예제 #8
0
 public ComputeCurrentParameterTest(REditorMefCatalogFixture catalog) : base(catalog)
 {
 }
예제 #9
0
 public RBraceMatchTest(REditorMefCatalogFixture catalogFixture, EditorTestFilesFixture testFiles)
 {
     _exportProvider = catalogFixture.CreateExportProvider();
 }
예제 #10
0
 public PackageInstallTest(REditorMefCatalogFixture catalog, BrokerFixture broker) : base(catalog)
 {
     _broker = broker;
 }
예제 #11
0
 public PackageInstallTest(REditorMefCatalogFixture catalog) : base(catalog) { }
예제 #12
0
 public RangeFormatterTest(REditorMefCatalogFixture catalog)
 {
     _exportProvider = catalog.CreateExportProvider();
     _editorShell    = _exportProvider.GetExportedValue <IEditorShell>();
 }
예제 #13
0
 public SmartIndentTest(REditorMefCatalogFixture catalogFixture) {
     _exportProvider = catalogFixture.CreateExportProvider();
 }
예제 #14
0
 public CommenterTest(REditorMefCatalogFixture catalogFixture)
 {
     _exportProvider = catalogFixture.CreateExportProvider();
     _editorShell    = _exportProvider.GetExportedValue <IEditorShell>();
 }
예제 #15
0
 public RCompletionSourceTest(REditorMefCatalogFixture catalog) {
     _exportProvider = catalog.CreateExportProvider();
     _editorShell = _exportProvider.GetExportedValue<IEditorShell>();
 }
예제 #16
0
 public ProcessChangesTest(REditorMefCatalogFixture catalogFixture, EditorTestFilesFixture testFiles) {
     _exportProvider = catalogFixture.CreateExportProvider();
     _coreShell = _exportProvider.GetExportedValue<ICoreShell>();
 }
예제 #17
0
 public RangeFormatterTest(REditorMefCatalogFixture catalog) {
     _exportProvider = catalog.CreateExportProvider();
     _editorShell = _exportProvider.GetExportedValue<IEditorShell>();
 }
예제 #18
0
 public FunctionIndexTest(REditorMefCatalogFixture catalog) : base(catalog) { }
예제 #19
0
 public EditorTreeInvalidateTest(REditorMefCatalogFixture catalogFixture, EditorTestFilesFixture testFiles)
 {
     _exportProvider = catalogFixture.CreateExportProvider();
     _coreShell      = _exportProvider.GetExportedValue <ICoreShell>();
 }
예제 #20
0
 public GotoBraceCommandTest(REditorMefCatalogFixture catalog)
 {
     _exportProvider = catalog.CreateExportProvider();
     _editorShell    = _exportProvider.GetExportedValue <IEditorShell>();
 }
예제 #21
0
 public CommenterTest(REditorMefCatalogFixture catalogFixture) {
     _exportProvider = catalogFixture.CreateExportProvider();
     _editorShell = _exportProvider.GetExportedValue<IEditorShell>();
 }
예제 #22
0
 public GotoBraceCommandTest(REditorMefCatalogFixture catalog) {
     _exportProvider = catalog.CreateExportProvider();
     _editorShell = _exportProvider.GetExportedValue<IEditorShell>();
 }
예제 #23
0
 public ProcessChangesTest(REditorMefCatalogFixture catalogFixture, EditorTestFilesFixture testFiles)
 {
     _exportProvider = catalogFixture.CreateExportProvider();
     _coreShell      = _exportProvider.GetExportedValue <ICoreShell>();
 }
예제 #24
0
 public ROutlineBuilderTest(REditorMefCatalogFixture catalogFixture, EditorTestFilesFixture testFiles)
 {
     _exportProvider = catalogFixture.CreateExportProvider();
     _editorShell    = _exportProvider.GetExportedValue <IEditorShell>();
     _testFiles      = testFiles;
 }
예제 #25
0
 public SignatureHelpSourceTest(REditorMefCatalogFixture catalog) : base(catalog)
 {
 }
예제 #26
0
 public ROutlineBuilderTest(REditorMefCatalogFixture catalogFixture, EditorTestFilesFixture testFiles) {
     _exportProvider = catalogFixture.CreateExportProvider();
     _editorShell = _exportProvider.GetExportedValue<IEditorShell>();
     _testFiles = testFiles;
 }
예제 #27
0
 public RPeekableItemSourceTest(REditorMefCatalogFixture catalog, BrokerFixture broker)
 {
     _exportProvider = catalog.CreateExportProvider();
     _broker         = broker;
 }
예제 #28
0
 public FunctionIndexTest(REditorMefCatalogFixture catalog) : base(catalog)
 {
 }
예제 #29
0
 public PackageInstallTest(REditorMefCatalogFixture catalog) : base(catalog)
 {
 }
 public RFunctionCompletionSourceTest(REditorMefCatalogFixture catalog) : base(catalog) { }
예제 #31
0
 public AutoFormatTest(REditorMefCatalogFixture catalog) {
     _exportProvider = catalog.CreateExportProvider();
 }
예제 #32
0
 public SignatureHelpSourceTest(REditorMefCatalogFixture catalog) : base(catalog) { }
예제 #33
0
 public EditorTreeInvalidateTest(REditorMefCatalogFixture catalogFixture, EditorTestFilesFixture testFiles) {
     _exportProvider = catalogFixture.CreateExportProvider();
     _coreShell = _exportProvider.GetExportedValue<ICoreShell>();
 }
예제 #34
0
 public RBraceMatchTest(REditorMefCatalogFixture catalogFixture, EditorTestFilesFixture testFiles) {
     _exportProvider = catalogFixture.CreateExportProvider();
 }
예제 #35
0
 public RPeekableItemSourceTest(REditorMefCatalogFixture catalog) {
     _exportProvider = catalog.CreateExportProvider();
 }