public EdmPackageFixture() { _modelManager = new EntityDesignModelManager( new EFArtifactFactory(), new EFArtifactSetFactory()); _package = new MockPackage(_modelManager); }
public AutomaticDbContextTests() { PackageManager.LoadEDMPackage(VsIdeTestHostContext.ServiceProvider); _package = PackageManager.Package; }
public EntityTypeShapeColorTest() { PackageManager.LoadEDMPackage(VsIdeTestHostContext.ServiceProvider); _package = PackageManager.Package; }
public EntityTypeShapeColorTest() { PackageManager.LoadEDMPackage(VsIdeTestHostContext.ServiceProvider); _package = PackageManager.Package; }
public UndoRedoTestsRemote() { PackageManager.LoadEDMPackage(VsIdeTestHostContext.ServiceProvider); _package = PackageManager.Package; }
public AutomaticDbContextTests() { PackageManager.LoadEDMPackage(VsIdeTestHostContext.ServiceProvider); _package = PackageManager.Package; }
public RefactorRenameTests() { PackageManager.LoadEDMPackage(VsIdeTestHostContext.ServiceProvider); _package = PackageManager.Package; }
public MigrateDiagramNodesTest() { PackageManager.LoadEDMPackage(VsIdeTestHostContext.ServiceProvider); _package = PackageManager.Package; }
//internal for testing internal static void ReversionModel( IEdmPackage package, EditingContext editingContext, EntityDesignArtifact entityDesignArtifact, Version targetSchemaVersion) { var cpc = new CommandProcessorContext( editingContext, EfiTransactionOriginator.EntityDesignerOriginatorId, EntityDesignerResources.RetargetDocumentFromWatermarkTransactionName, entityDesignArtifact); RetargetXmlNamespaceCommand.RetargetArtifactXmlNamespaces(cpc, entityDesignArtifact, targetSchemaVersion); // The code below ensure that our mapping window works property after the command is executed. Debug.Assert(package.DocumentFrameMgr != null, "Could not find the DocumentFrameMgr for this package"); if (package.DocumentFrameMgr != null) { package.DocumentFrameMgr.SetCurrentContext(editingContext); } }
public MigrateDiagramNodesTest() { PackageManager.LoadEDMPackage(VsIdeTestHostContext.ServiceProvider); _package = PackageManager.Package; }
public RefactorRenameTests() { PackageManager.LoadEDMPackage(VsIdeTestHostContext.ServiceProvider); _package = PackageManager.Package; }