This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 140073

Summary: Uncompilable tests
Product: serverplugins Reporter: Jesse Glick <jglick>
Component: Sun Appserver 8Assignee: issues@serverplugins <issues>
Status: RESOLVED FIXED    
Severity: blocker CC: pcw
Priority: P1 Keywords: TEST
Version: 6.x   
Hardware: All   
OS: All   
URL: http://deadlock.netbeans.org/hudson/job/test-compilation/935/testReport/
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2008-07-15 12:46:37 UTC
j2ee.sun.appsrv81/test/qa-functional/src/org/netbeans/modules/j2ee/sun/test/SunConfigurationMethods.java:120:
incompatible types
found   : org.netbeans.modules.glassfish.eecommon.api.config.GlassfishConfiguration
required: javax.enterprise.deploy.spi.DeploymentConfiguration
            DeploymentConfiguration dcFromCache = SunONEDeploymentConfiguration.getConfiguration(primaryConfigFile);
                                                                                                ^

j2ee.persistence/test/unit/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/JPAGenTest.java:236:
org.netbeans.modules.j2ee.persistence.wizard.fromdb.JPAGenTest.EntityMemberImpl is not abstract and does not override
abstract method isAutoIncrement() in org.netbeans.modules.j2ee.persistence.entitygenerator.EntityMember
    private static class EntityMemberImpl extends EntityMember{
                   ^
Comment 1 Dongmei Cao 2008-07-15 18:18:42 UTC
> j2ee.persistence/test/unit/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/JPAGenTest.java:236:
> org.netbeans.modules.j2ee.persistence.wizard.fromdb.JPAGenTest.EntityMemberImpl is not abstract and does not override
> abstract method isAutoIncrement() in org.netbeans.modules.j2ee.persistence.entitygenerator.EntityMember
>     private static class EntityMemberImpl extends EntityMember{

Fixed in changeset -b8adcdbc5353.

The other one is not mine.
Comment 2 _ pcw 2008-07-15 21:04:58 UTC
Fixed: http://hg.netbeans.org/main/rev/c978bf7b1835