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 237720 - org-netbeans-modules-groovy-editor: GroovyVirtualSourceProviderTest is in need of update golden strings or compare algorithm
Summary: org-netbeans-modules-groovy-editor: GroovyVirtualSourceProviderTest is in nee...
Status: NEW
Alias: None
Product: qa
Classification: Unclassified
Component: Tests (show other bugs)
Version: 7.3.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-28 14:43 UTC by taras.ledkov
Modified: 2013-10-28 14:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Tests result (1.40 MB, application/x-gzip)
2013-10-28 14:43 UTC, taras.ledkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description taras.ledkov 2013-10-28 14:43:49 UTC
Created attachment 141608 [details]
Tests result

Please take a look at the attached tests results.

e.g. testGeneratorWithClass:
golden & result strings differs in order of the strings:
'import groovy.util.*;' and 'import groovy.lang.*;'.

In case the order of 'import' directives is not specified please fix golden strings or change compare algorith for the tests:

GroovyVirtualSourceProviderTest.testGeneratorWithClass
GroovyVirtualSourceProviderTest.testGeneratorWithScript
GroovyVirtualSourceProviderTest.testGenerics
GroovyVirtualSourceProviderTest.testImports
GroovyVirtualSourceProviderTest.testMultipleClasses
GroovyVirtualSourceProviderTest.testThrowsClause

Environment: 
JDK 8 b111
Ubuntu 13.04 x86