Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 674E111F3F for ; Sat, 30 Aug 2014 13:38:34 +0000 (UTC) Received: (qmail 26781 invoked by uid 500); 30 Aug 2014 13:38:33 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 26745 invoked by uid 500); 30 Aug 2014 13:38:33 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 26731 invoked by uid 99); 30 Aug 2014 13:38:33 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Aug 2014 13:38:33 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 2D34F9AB2B5; Sat, 30 Aug 2014 13:38:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bhaisaab@apache.org To: commits@cloudstack.apache.org Message-Id: <7e403e499d3f4352bfd48fb78cafc25c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: updated refs/heads/master to 12ad5ba Date: Sat, 30 Aug 2014 13:38:33 +0000 (UTC) Repository: cloudstack Updated Branches: refs/heads/master 784288eaa -> 12ad5ba19 SAMLUtilsTest: just test that random secure string has some length Signed-off-by: Rohit Yadav Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/12ad5ba1 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/12ad5ba1 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/12ad5ba1 Branch: refs/heads/master Commit: 12ad5ba197d7d4cd734815da9ee347ab75ce17d7 Parents: 784288e Author: Rohit Yadav Authored: Sat Aug 30 15:37:52 2014 +0200 Committer: Rohit Yadav Committed: Sat Aug 30 15:37:52 2014 +0200 ---------------------------------------------------------------------- utils/test/org/apache/cloudstack/utils/auth/SAMLUtilsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/12ad5ba1/utils/test/org/apache/cloudstack/utils/auth/SAMLUtilsTest.java ---------------------------------------------------------------------- diff --git a/utils/test/org/apache/cloudstack/utils/auth/SAMLUtilsTest.java b/utils/test/org/apache/cloudstack/utils/auth/SAMLUtilsTest.java index 1d34ba1..f7aaeae 100644 --- a/utils/test/org/apache/cloudstack/utils/auth/SAMLUtilsTest.java +++ b/utils/test/org/apache/cloudstack/utils/auth/SAMLUtilsTest.java @@ -36,7 +36,7 @@ public class SAMLUtilsTest extends TestCase { @Test public void testGenerateSecureRandomId() throws Exception { - assertTrue(SAMLUtils.generateSecureRandomId().length() == 32); + assertTrue(SAMLUtils.generateSecureRandomId().length() > 0); } @Test