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 199081 - QmakeProjectWriterTest fails on windows
Summary: QmakeProjectWriterTest fails on windows
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.1
Hardware: All Windows XP
: P3 normal (vote)
Assignee: Egor Ushakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-01 12:22 UTC by Egor Ushakov
Modified: 2011-06-07 06:34 UTC (History)
0 users

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 Egor Ushakov 2011-06-01 12:22:55 UTC
org.netbeans.modules.cnd.makeproject.configurations.QmakeProjectWriterTest.testHelloQtWorld fails on windows with the output:

junit.framework.AssertionFailedError: qt-Debug.pro not found
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at org.netbeans.modules.cnd.makeproject.configurations.QmakeProjectWriterTest.assertFile(QmakeProjectWriterTest.java:162)
	at org.netbeans.modules.cnd.makeproject.configurations.QmakeProjectWriterTest.testHelloQtWorld(QmakeProjectWriterTest.java:107)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:95)
	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:374)
	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:303)
	at java.lang.Thread.run(Unknown Source)

Standard Error

01.06.2011 14:55:02 org.openide.util.Exceptions printStackTrace
SEVERE: null
java.io.IOException: Requested name contains invalid characters: nbproject\qt-Debug
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createDataImpl(FolderObj.java:285)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:267)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$1.call(FolderObj.java:265)
	at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:119)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(FolderObj.java:270)
	at org.openide.filesystems.FileUtil.createData(FileUtil.java:940)
	at org.netbeans.modules.cnd.makeproject.configurations.QmakeProjectWriter.write(QmakeProjectWriter.java:159)
	at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationMakefileWriter.writeMakefileConf(ConfigurationMakefileWriter.java:383)
	at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationMakefileWriter.write(ConfigurationMakefileWriter.java:127)
	at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.saveWorker(MakeConfigurationDescriptor.java:858)
	at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.access$200(MakeConfigurationDescriptor.java:117)
	at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor$SaveRunnable.run(MakeConfigurationDescriptor.java:777)
	at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.save(MakeConfigurationDescriptor.java:724)
	at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.save(MakeConfigurationDescriptor.java:711)
	at org.netbeans.modules.cnd.makeproject.configurations.QmakeProjectWriterTest.testHelloQtWorld(QmakeProjectWriterTest.java:104)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:95)
	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:374)
	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:303)
	at java.lang.Thread.run(Unknown Source)
Comment 1 Egor Ushakov 2011-06-06 16:21:25 UTC
fixed in:
http://hg.netbeans.org/releases/rev/7cf4c528071f
Comment 2 Quality Engineering 2011-06-07 06:34:46 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/
User: 
Log: