public void CanParseHeaderFromCurrentSDK() { if (!SDKUtility.sdkAvailable) { Assert.Ignore("Cannot locate Lumin SDK"); } var path = Path.Combine(SDKUtility.sdkPath, PrivilegeParser.kPrivilegeHeaderPath); var privs = PrivilegeParser.ParsePrivilegesFromHeader(path); Assert.That(privs, Is.Not.Empty); }
public void CanParseHeaderFromSDK21() { var privs = PrivilegeParser.ParsePrivilegesFromHeader(GetHeaderForVersion("0.21.0")); Assert.That(privs, Is.Not.Empty); }