public BaseRecipeRunner(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, string recipeName, BaseTest parentTest)
    {
      this.guidancePackage = guidancePackage;
      this.recipeName = recipeName;
      this.parentTest = parentTest;

      DirectoryInfo binDebugFolder = new DirectoryInfo(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));
      DirectoryInfo solutionDir = binDebugFolder.Parent.Parent.Parent;
      testDataRootDir = Path.Combine(solutionDir.FullName, "TestData");
    }
        public BaseWebFeatureRecipeRunner(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, string recipeName, BaseTest parentTest) :
			base(guidancePackage, recipeName, parentTest)
		{
		}
			public RecipeRunner_HideCustomAction(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "HideCustomAction", _parentTest)
			{
				NotSandboxSupported = false;
			}
			public RecipeRunner_EmptyBCSModel(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "EmptyBCSModel", _parentTest)
			{
				NotSandboxSupported = true;
			}
			public RecipeRunner_BCSModelFromDatabaseWithSQLQueries(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "BCSModelFromDatabaseWithSQLQueries", _parentTest)
			{
				NotSandboxSupported = true;
			}
			public RecipeRunner_BCSDesignWithAssembly(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "BCSDesignWithAssembly", _parentTest)
			{
				NotSandboxSupported = true;
			}
			public RecipeRunner_MSBuildTask(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "MSBuildTask", _parentTest)
			{
				NotSandboxSupported = false;
			}
			public RecipeRunner_VisualWebPart(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "VisualWebPart", _parentTest)
			{
				NotSandboxSupported = true;
			}
			public RecipeRunner_SPCmdLetWithPipeBind(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "SPCmdLetWithPipeBind", _parentTest)
			{
				NotSandboxSupported = true;
			}
			public RecipeRunner_DelegateControlCS(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "DelegateControlCS", _parentTest)
			{
				NotSandboxSupported = true;
			}
			public RecipeRunner_LinqToSharePoint(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "LinqToSharePoint", _parentTest)
			{
				NotSandboxSupported = false;
			}
			public RecipeRunner_ContentTypeFieldRef(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "ContentTypeFieldRef", _parentTest)
			{
				NotSandboxSupported = false;
			}
			public RecipeRunner_LayoutsFile(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "LayoutsFile", _parentTest)
			{
				NotSandboxSupported = true;
			}
			public RecipeRunner_ApplicationResourceFile(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "ApplicationResourceFile", _parentTest)
			{
				NotSandboxSupported = true;
			}
 public LinqToSharePointTest(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, string recipeName, BaseTest parentTest) :
     base(guidancePackage, recipeName, parentTest)
 {
 }
Пример #16
0
 public BaseWebFeatureRecipeRunner(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, string recipeName, BaseTest parentTest) :
     base(guidancePackage, recipeName, parentTest)
 {
 }
			public RecipeRunner_HttpHandler(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "HttpHandler", _parentTest)
			{
				NotSandboxSupported = true;
			}
			public RecipeRunner_SimpleWorkflow(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "SimpleWorkflow", _parentTest)
			{
				NotSandboxSupported = false;
			}
			public RecipeRunner_RibbonTab(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "RibbonTab", _parentTest)
			{
				NotSandboxSupported = false;
			}
			public RecipeRunner_PowerShellProject(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "PowerShellProject", _parentTest)
			{
				NotSandboxSupported = false;
			}
			public RecipeRunner_MinimalCAS(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "MinimalCAS", _parentTest)
			{
				NotSandboxSupported = true;
			}
			public RecipeRunner_BCSListInstance(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "BCSListInstance", _parentTest)
			{
				NotSandboxSupported = true;
			}
			public RecipeRunner_WebPartPermission(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "WebPartPermission", _parentTest)
			{
				NotSandboxSupported = false;
			}
			public RecipeRunner_BCSQuickDeployIncAssembly(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "BCSQuickDeployIncAssembly", _parentTest)
			{
				NotSandboxSupported = false;
			}
			public RecipeRunner_SilverlightApplicationSampleTaskAdder(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "SilverlightApplicationSampleTaskAdder", _parentTest)
			{
				NotSandboxSupported = false;
			}
			public RecipeRunner_UnsecuredApplicationPage(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "UnsecuredApplicationPage", _parentTest)
			{
				NotSandboxSupported = true;
			}
			public RecipeRunner_FeatureStapling(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "FeatureStapling", _parentTest)
			{
				NotSandboxSupported = false;
			}
			public RecipeRunner_ItemEventReceiver(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "ItemEventReceiver", _parentTest)
			{
				NotSandboxSupported = false;
			}
			public RecipeRunner_TeamSiteDefinition(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "TeamSiteDefinition", _parentTest)
			{
				NotSandboxSupported = false;
			}
        public BaseRecipeRunner(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, string recipeName, BaseTest parentTest)
        {
            this.guidancePackage = guidancePackage;
            this.recipeName      = recipeName;
            this.parentTest      = parentTest;

            DirectoryInfo binDebugFolder = new DirectoryInfo(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));
            DirectoryInfo solutionDir    = binDebugFolder.Parent.Parent.Parent;

            testDataRootDir = Path.Combine(solutionDir.FullName, "TestData");
        }
			public RecipeRunner_FilterProviderWebPart(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "FilterProviderWebPart", _parentTest)
			{
				NotSandboxSupported = false;
			}
 public LinqToSharePointTest(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, string recipeName, BaseTest parentTest) :
     base(guidancePackage, recipeName, parentTest)
 {
 }
			public RecipeRunner_SimpleFilterConsumerWebPart(Microsoft.Practices.RecipeFramework.GuidancePackage guidancePackage, BaseTest _parentTest) : 
				base(guidancePackage, "SimpleFilterConsumerWebPart", _parentTest)
			{
				NotSandboxSupported = true;
			}