[jboss-cvs] Picketbox SVN: r49 - in trunk/picketbox/src/test/java/org/picketbox/test: pojos and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Mar 2 21:32:48 EST 2010


Author: anil.saldhana at jboss.com
Date: 2010-03-02 21:32:47 -0500 (Tue, 02 Mar 2010)
New Revision: 49

Removed:
   trunk/picketbox/src/test/java/org/picketbox/test/annotations/SecurityMappingAnnotationUnitTestCase.java
   trunk/picketbox/src/test/java/org/picketbox/test/pojos/SecurityMappingAnnotationPrincipalPOJO.java
Log:
delete unwanted classes

Deleted: trunk/picketbox/src/test/java/org/picketbox/test/annotations/SecurityMappingAnnotationUnitTestCase.java
===================================================================
--- trunk/picketbox/src/test/java/org/picketbox/test/annotations/SecurityMappingAnnotationUnitTestCase.java	2010-03-02 00:28:17 UTC (rev 48)
+++ trunk/picketbox/src/test/java/org/picketbox/test/annotations/SecurityMappingAnnotationUnitTestCase.java	2010-03-03 02:32:47 UTC (rev 49)
@@ -1,50 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors. 
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.picketbox.test.annotations;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-
-import java.lang.annotation.Annotation;
-
-import org.jboss.security.annotation.SecurityMapping;
-import org.junit.Test;
-import org.picketbox.test.pojos.SecurityMappingAnnotationPrincipalPOJO;
-
-/**
- * @author Anil.Saldhana at redhat.com
- * @since Feb 14, 2010
- */ 
-public class SecurityMappingAnnotationUnitTestCase
-{
-   @Test
-   public void testSecurityMapping()
-   {   
-      Class<?> clazz = SecurityMappingAnnotationPrincipalPOJO.class;
-      Annotation[] annotations = clazz.getAnnotations();
-      assertEquals("1 annotation", 1, annotations.length);  
-      Annotation annotation = annotations[0]; 
-      assertTrue(annotation instanceof SecurityMapping); 
-      SecurityMapping sm = (SecurityMapping) annotation;
-      assertEquals("PRINCIPAL", sm.type());
-   } 
-}
\ No newline at end of file

Deleted: trunk/picketbox/src/test/java/org/picketbox/test/pojos/SecurityMappingAnnotationPrincipalPOJO.java
===================================================================
--- trunk/picketbox/src/test/java/org/picketbox/test/pojos/SecurityMappingAnnotationPrincipalPOJO.java	2010-03-02 00:28:17 UTC (rev 48)
+++ trunk/picketbox/src/test/java/org/picketbox/test/pojos/SecurityMappingAnnotationPrincipalPOJO.java	2010-03-03 02:32:47 UTC (rev 49)
@@ -1,33 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors. 
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.picketbox.test.pojos;
-
-import org.jboss.security.annotation.SecurityMapping;
-
-/**
- * @author Anil.Saldhana at redhat.com
- * @since Feb 14, 2010
- */ 
- at SecurityMapping(type="PRINCIPAL")
-public class SecurityMappingAnnotationPrincipalPOJO
-{
-}
\ No newline at end of file




More information about the jboss-cvs-commits mailing list