[jboss-cvs] jbossretro/src/test/org/jboss/test/util ...
Scott Stark
scott.stark at jboss.com
Wed Nov 29 11:53:29 EST 2006
User: starksm
Date: 06/11/29 11:53:29
Modified: src/test/org/jboss/test/util TimerTestCase.java
Added: src/test/org/jboss/test/util BridgeMethodTestCase.java
Log:
JBBUILD-329 test
Revision Changes Path
1.2 +54 -33 jbossretro/src/test/org/jboss/test/util/TimerTestCase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TimerTestCase.java
===================================================================
RCS file: /cvsroot/jboss/jbossretro/src/test/org/jboss/test/util/TimerTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- TimerTestCase.java 8 Nov 2006 00:21:39 -0000 1.1
+++ TimerTestCase.java 29 Nov 2006 16:53:29 -0000 1.2
@@ -1,3 +1,24 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt 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.jboss.test.util;
import java.util.Timer;
1.1 date: 2006/11/29 16:53:29; author: starksm; state: Exp;jbossretro/src/test/org/jboss/test/util/BridgeMethodTestCase.java
Index: BridgeMethodTestCase.java
===================================================================
/*
* JBoss, Home of Professional Open Source
* Copyright 2006, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt 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.jboss.test.util;
import java.util.ArrayList;
import org.jboss.test.util.support.SubPOJO;
import junit.framework.TestCase;
/**
* http://jira.jboss.com/jira/browse/JBBUILD-329
*
* @author Scott.Stark at jboss.org
* @version $Revision: 1.1 $
*/
public class BridgeMethodTestCase extends TestCase
{
public void testGenericMethod() throws Exception
{
SubPOJO spojo = new SubPOJO();
ArrayList list = new ArrayList();
spojo.setFoo(list);
assertEquals("foo list", list, spojo.getFoo());
}
}
More information about the jboss-cvs-commits
mailing list