You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ky...@apache.org on 2005/02/18 02:29:35 UTC
svn commit: r154225 -
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/generic/SimpleControlTest.java
Author: kylem
Date: Thu Feb 17 17:29:34 2005
New Revision: 154225
URL: http://svn.apache.org/viewcvs?view=rev&rev=154225
Log:
Fixed issues in Generic progammatic instantiation test, and enabled it as a checkin test. Resolves BEEHIVE-218.
Modified:
incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/generic/SimpleControlTest.java
Modified: incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/generic/SimpleControlTest.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/generic/SimpleControlTest.java?view=diff&r1=154224&r2=154225
==============================================================================
--- incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/generic/SimpleControlTest.java (original)
+++ incubator/beehive/trunk/controls/test/src/units/org/apache/beehive/controls/test/java/generic/SimpleControlTest.java Thu Feb 17 17:29:34 2005
@@ -12,7 +12,7 @@
/**
* A TestCase that tests Java generics on controls
*/
-@Freq("detailed")
+@Freq("checkin")
public class SimpleControlTest extends TestCase
{
// initialize declared controls once
@@ -82,11 +82,11 @@
SimpleControlBean<String> sbean=(SimpleControlBean<String>)java.beans.Beans.instantiate(
Thread.currentThread().getContextClassLoader() ,
- "org.apache.beehive.controls.test.controls.generic.SimpleControlBean<String>");
+ "org.apache.beehive.controls.test.controls.generic.SimpleControlBean");
sbean.setThem(strings);
- String s=stringBean.getTheFirst();
+ String s=sbean.getTheFirst();
if (!s.equals("One"))
fail("The first element retrieved is:"+s);