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 211756 - Broken tests JavaActionsTest.testCreateProfileTargetFromScratch and JavaActionsTest.testCreateProfileTargetFromTemplate
Summary: Broken tests JavaActionsTest.testCreateProfileTargetFromScratch and JavaActio...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Freeform (show other bugs)
Version: 7.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: J Bachorik
URL: http://deadlock.netbeans.org/hudson/j...
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2012-04-26 05:01 UTC by Martin Entlicher
Modified: 2012-04-27 09:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2012-04-26 05:01:33 UTC
See http://deadlock.netbeans.org/hudson/job/trunk/11334/testReport/

org.netbeans.modules.java.freeform.JavaActionsTest.testCreateProfileTargetFromScratch
Failing for the past 1 build (Since Unstable#11334 )
Took 0.11 sec.
Error Message

expected:<...ends="-profile-check[,dist]" if="profiler.confi...> but was:<...ends="-profile-check[]" if="profiler.confi...>

Stacktrace

junit.framework.ComparisonFailure: expected:<...ends="-profile-check[,dist]" if="profiler.confi...> but was:<...ends="-profile-check[]" if="profiler.confi...>
	at org.netbeans.modules.java.freeform.JavaActionsTest.testCreateProfileTargetFromScratch(JavaActionsTest.java:590)
	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:95)
	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:400)
	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:326)
	at java.lang.Thread.run(Thread.java:662)

org.netbeans.modules.java.freeform.JavaActionsTest.testCreateProfileTargetFromTemplate
Failing for the past 1 build (Since Unstable#11334 )
Took 90 ms.
Error Message

expected:<...ends="-profile-check[,dist]" if="profiler.confi...> but was:<...ends="-profile-check[]" if="profiler.confi...>

Stacktrace

junit.framework.ComparisonFailure: expected:<...ends="-profile-check[,dist]" if="profiler.confi...> but was:<...ends="-profile-check[]" if="profiler.confi...>
	at org.netbeans.modules.java.freeform.JavaActionsTest.testCreateProfileTargetFromTemplate(JavaActionsTest.java:623)
	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:95)
	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:400)
	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:326)
	at java.lang.Thread.run(Thread.java:662)
Comment 1 Tomas Zezula 2012-04-26 07:34:14 UTC
Caused by Jarda's profiler changes.
Comment 2 J Bachorik 2012-04-26 09:01:25 UTC
fixing - http://hg.netbeans.org/profiler-main/rev/a29a6c3b13ce

Sorry for the troubles
Comment 3 Quality Engineering 2012-04-27 09:59:44 UTC
Integrated into 'main-golden', will be available in build *201204270400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a29a6c3b13ce
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #211756: Fixing broken test