From 47e2e1a2e51e025b9923cfe6b7ded36dc27cae31 Mon Sep 17 00:00:00 2001 From: domi Date: Sun, 16 Jan 2011 10:47:06 +0000 Subject: [PATCH] moved to github --- .../script_realm/ScriptSecurityRealmTest.java | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/test/java/hudson/plugins/script_realm/ScriptSecurityRealmTest.java diff --git a/src/test/java/hudson/plugins/script_realm/ScriptSecurityRealmTest.java b/src/test/java/hudson/plugins/script_realm/ScriptSecurityRealmTest.java deleted file mode 100644 index 321f0a0..0000000 --- a/src/test/java/hudson/plugins/script_realm/ScriptSecurityRealmTest.java +++ /dev/null @@ -1,22 +0,0 @@ -package hudson.plugins.script_realm; - -import org.acegisecurity.AuthenticationException; -import org.jvnet.hudson.test.HudsonTestCase; - -/** - * @author Kohsuke Kawaguchi - */ -public class ScriptSecurityRealmTest extends HudsonTestCase { - public void test1() { - new ScriptSecurityRealm("/bin/true", null, null).authenticate("test","test"); - } - - public void test2() { - try { - new ScriptSecurityRealm("/bin/false", null, null).authenticate("test","test"); - fail(); - } catch (AuthenticationException e) { - // as expected - } - } -}