public void PersistentProxyBuilder_SavesSignedFile()
		{
			PersistentProxyBuilder builder = new PersistentProxyBuilder();
			builder.CreateClassProxyType(typeof(object), Type.EmptyTypes, ProxyGenerationOptions.Default);
			string path = builder.SaveAssembly();
			Assert.IsNotNull(path);
			Assert.IsNotEmpty(path);
			Assert.IsTrue(Path.IsPathRooted(path));
			Assert.IsTrue(path.EndsWith(ModuleScope.DEFAULT_FILE_NAME));
		}
Ejemplo n.º 2
0
        public void PersistentProxyBuilder_SavesSignedFile()
        {
            PersistentProxyBuilder builder = new PersistentProxyBuilder();

            builder.CreateClassProxyType(typeof(object), Type.EmptyTypes, ProxyGenerationOptions.Default);
            string path = builder.SaveAssembly();

            Assert.IsNotNull(path);
            Assert.IsNotEmpty(path);
            Assert.IsTrue(Path.IsPathRooted(path));
            Assert.IsTrue(path.EndsWith(ModuleScope.DEFAULT_FILE_NAME));
        }