⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wrongdefinitiontest.cs

📁 基于DotNet的开源工作流引擎
💻 CS
字号:
using System;
using System.IO;
using NetBpm.Workflow.Definition;
using NUnit.Framework;

namespace NetBpm.Test.Workflow.Example
{
	[TestFixture]
	public class WrongDefinitionTest : AbstractTest
	{

		protected String GetParArchiv()
		{
			return "pme.par";
		}

		[Test]
		public void DeployProcess()
		{
			try
			{
				testUtil = new TestUtil();
				testUtil.LoginUser("ae");

				// deploy Archiv
				FileInfo parFile = new FileInfo(TestHelper.GetExampleDir()+GetParArchiv());
				FileStream fstream = parFile.OpenRead();
				byte[] b = new byte[parFile.Length];
				fstream.Read(b, 0, (int) parFile.Length);
				definitionComponent.DeployProcessArchive(b);
				Assert.Fail("where is my Exception!");
			} catch (NpdlException npdeEx)
			{
				
			}
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -