Ξ€here seems to be a problem for the customized class with the visibility of 
all classes from org.dspace package within the test suite of kernel project.

On Tuesday, October 11, 2016 at 12:51:39 PM UTC+3, Pantelis Karamolegkos 
wrote:
>
> The problem had to do with the PluginServiceTest not finding common_types 
> input field and value pairs (we had removed it since we are altering input 
> forms).
>
> We are now trying to override the existing test class by adding a 
> customized version in additions - local customizations but there seem to be 
> a problem with dependencies resolution.
>
> e.g. when creating the class org.dspace.core.PluginServiceTest we get the 
> following error when executing tests:
>
> *[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile 
> (default-testCompile) on project additions: Compilation failure: 
> Compilation failure:*
> *[ERROR] 
> /home/pkaramol/Workspace/dspace/dspace-src/dspace/modules/additions/src/test/java/org/dspace/core/PluginServiceTest.java:[10,18]
>  
> cannot find symbol*
> *[ERROR] symbol:   class AbstractDSpaceTest*
> *[ERROR] location: package org.dspace*
> *[ERROR] 
> /home/pkaramol/Workspace/dspace/dspace-src/dspace/modules/additions/src/test/java/org/dspace/core/PluginServiceTest.java:[33,40]
>  
> cannot find symbol*
> *[ERROR] symbol: class AbstractDSpaceTest*
>
>
> Does customization work for Test Classes?
>
> On Monday, October 10, 2016 at 5:50:18 PM UTC+3, Pantelis Karamolegkos 
> wrote:
>>
>> Any idea what might be the cause of that:
>>
>> *Results :*
>>
>> *Failed tests: *
>>
>> *org.dspace.core.PluginServiceTest.testGetNamedPlugin(org.dspace.core.PluginServiceTest)*
>> *  Run 1: PluginServiceTest.testGetNamedPlugin:67 Plugin 3 exists*
>> *  Run 2: PluginServiceTest.testGetNamedPlugin:67 Plugin 3 exists*
>> *  Run 3: PluginServiceTest.testGetNamedPlugin:67 Plugin 3 exists*
>>
>>
>> *org.dspace.core.PluginServiceTest.testHasNamedPlugin(org.dspace.core.PluginServiceTest)*
>> *  Run 1: PluginServiceTest.testHasNamedPlugin:86*
>> *  Run 2: PluginServiceTest.testHasNamedPlugin:86*
>> *  Run 3: PluginServiceTest.testHasNamedPlugin:86*
>>
>>
>> *Tests run: 642, Failures: 2, Errors: 0, Skipped: 0*
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-devel+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to