public void TestCodeSignLibrary() { Copy("/usr/lib/libobjc.dylib", "/tmp/"); CodeSigning task = new CodeSigning(); task.BuildEngine = new ShallowBuildEngine(); task.Identity = IDENTITY; task.Target = new TaskItem("/tmp/libobjc.dylib"); bool result = task.Execute(); Assert.IsTrue(result); }
public void TestCodeSignBundle() { Copy("/Applications/Calculator.app", "/tmp/"); CodeSigning task = new CodeSigning(); task.BuildEngine = new ShallowBuildEngine(); task.Identity = IDENTITY; task.Bundle = new TaskItem("/tmp/Calculator.app"); bool result = task.Execute(); Assert.IsTrue(result); }
public void TestCodeSignFramework() { Copy("/System/Library/Frameworks/TWAIN.framework", "/tmp/"); CodeSigning task = new CodeSigning(); task.BuildEngine = new ShallowBuildEngine(); task.Identity = IDENTITY; task.Target = new TaskItem("/tmp/TWAIN.framework"); task.Versioned = true; bool result = task.Execute(); Assert.IsTrue(result); }