portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohan Kannapareddy" <kmoh....@gmail.com>
Subject RE: Failing test cases in in components/portal
Date Mon, 05 Nov 2007 20:09:14 GMT
David,
I submitted the patches yesterday, that makes the M2 tests pass. JIRA
JS2-807.
Cheers
Mohan

-----Original Message-----
From: David Sean Taylor [mailto:david@bluesunrise.com] 
Sent: Monday, November 05, 2007 3:06 PM
To: Jetspeed Developers List
Subject: Re: Failing test cases in in components/portal

All tests are passing for me in Maven-1
With Maven-2 it fails pretty quickly:

mvn -P test

      [java] org.springframework.beans.factory.BeanCreationException:  
Error creating bean with name 'portletFactory' defined in file [/jdev/ 
workspace/jetspeed-2.1.3-dev/etc/target/seed/assembly/registry.xml]:  
1 constructor arguments specified but no matching constructor found  
in bean 'portletFactory' (hint: specify index and/or type arguments  
for simple parameters to avoid type ambiguities)
      [java]     at  
org.springframework.beans.factory.support.ConstructorResolver.autowireCo 
nstructor(ConstructorResolver.java:145)
      [java]     at  
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac 
tory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:800)
      [java]     at  
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac 
tory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:720)
      [java]     at  
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac 
tory.createBean(AbstractAutowireCapableBeanFactory.java:387)
      [java]     at  
org.springframework.beans.factory.support.AbstractBeanFactory 
$1.getObject(AbstractBeanFactory.java:251)
      [java]     at  
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.g 
etSingleton(DefaultSingletonBeanRegistry.java:156)
      [java]     at  
org.springframework.beans.factory.support.AbstractBeanFactory.getBean 
(AbstractBeanFactory.java:248)
      [java]     at  
org.springframework.beans.factory.support.AbstractBeanFactory.getBean 
(AbstractBeanFactory.java:160)
      [java]     at  
org.springframework.beans.factory.support.DefaultListableBeanFactory.pre 
InstantiateSingletons(DefaultListableBeanFactory.java:287)
      [java]     at  
org.springframework.context.support.AbstractApplicationContext.refresh 
(AbstractApplicationContext.java:352)
      [java]     at  
org.apache.jetspeed.components.SpringComponentManager.<init> 
(SpringComponentManager.java:118)
      [java]     at  
org.apache.jetspeed.components.jndi.SpringJNDIStarter.setUp 
(SpringJNDIStarter.java:91)
      [java]     at  
org.apache.jetspeed.serializer.JetspeedSerializerApplication.main 
(JetspeedSerializerApplication.java:363)
      [java] Java Result: 1

and then

java.lang.NoSuchMethodException:  
org.apache.jetspeed.cache.TestContentCache$MockPortletContent.<init>()
         at java.lang.Class.getConstructor0(Class.java:2647)

The seed error above is pretty obvious, the registry.xml has not been  
updated
But why does TestContentCache pass with M1 and not M2 ?

Did I mention I hate having two builds
Lets get 2.1.3 out by next week and put an end to this build  
situation once and for all





---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message