[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Applied [HEAD] w/Modifications Re: REJECTED Re: [cdt-patch] fix bug43327 Code Complete finds local variables
|
I had to add a ChangeLog for core.tests using the contents of your email.
Thanks,
JohnC
cdt-patch-admin@xxxxxxxxxxx wrote on 09/22/2003 01:49:20 PM:
> We blame the error on different EOL conventions on
> linux, so the test
> ended up trying to do the code complete at the wrong offset.
>
> Attached is my patch updated with a fix, I tried it
> on linux and it works
> for me.
>
> -Andrew
>
>
>
>
>
>
> John Camelon/Ottawa/IBM@IBMCA
> Sent by: cdt-patch-admin@xxxxxxxxxxx
> 09/22/2003 09:41 AM
> Please respond to
> cdt-patch@xxxxxxxxxxx
>
>
> To
> cdt-patch@xxxxxxxxxxx
> cc
>
> Subject
> REJECTED Re: [cdt-patch] fix bug43327 Code Complete
> finds local variables
>
>
>
>
>
>
> JUnit runs clean on Windows, but we get a failure on
> Linux. Both JREs are
>
> 1.3.
>
> The offending null object is an array called results.
> assertEquals(results.length, 7);
>
> This looks similar to the problems Bogdan had
> previously in one of his
> tests, maybe he could shed some light on what's going on.
>
> java.lang.NullPointerException
> at
> org.eclipse.cdt.core.codeassist.tests.
> CompletionProposalsTest.
> testCompletionProposals(CompletionProposalsTest.java:119)
> at java.lang.reflect.Method.invoke(Native Method)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.
> protect(TestResult.java:106)
> at junit.framework.TestResult.
> runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.
> runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at junit.framework.TestSuite.
> runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at
> org.eclipse.cdt.core.suite.AutomatedIntegrationSuite.
> run(AutomatedIntegrationSuite.java:116)
> at
> org.eclipse.jdt.internal.junit.runner.
> RemoteTestRunner.runTests(RemoteTestRunner.java:392)
> at
> org.eclipse.jdt.internal.junit.runner.
> RemoteTestRunner.run(RemoteTestRunner.java:276)
> at
> org.eclipse.pde.internal.junit.ui.
> RemotePluginTestRunner.main(RemotePluginTestRunner.java:30)
> at
> org.eclipse.pde.internal.junit.ui.UITestApplication.
> runEventLoop(UITestApplication.java:35)
> at org.eclipse.ui.internal.Workbench.
> run(Workbench.java:1385)
> at
> org.eclipse.core.internal.boot.InternalBootLoader.
> run(InternalBootLoader.java:858)
> at org.eclipse.core.boot.BootLoader.
> run(BootLoader.java:431)
> at EclipseRuntimeLauncher.
> main(EclipseRuntimeLauncher.java:24)
>
>
> Fix this and give it another shot.
>
> Also, from this point on, I will need to see defect
> numbers in the
> ChangeLog/patch summary, as we should
> only be fixing the appropriately triaged defects.
>
> Thanks,
> JohnC
>
> cdt-patch-admin@xxxxxxxxxxx wrote on 09/19/2003 04:08:52 PM:
>
> > core :
> > - modified MatchLocator to not report local
> declarations when boolean
> is
> > set
> > - modified SearchEngine.search to take an
> additional parameter
> > "excludeLocalDeclarations"
> >
> > core.tests:
> > - modified
> resources/cfiles/CompletionProposalsTestStart.cpp
> > - modified CompletionProposalsTest.testCompletionProposals
> > - updated calls to SearchEngine.search
> >
> > ui:
> > - update calls to SearchEngine.search.
> CodeCompletion passes true for
>
>
> > excludeLocalDeclarations
> >
> > Andrew
> >
> > [attachment "patch_09.19.03(cdt.core).txt" deleted by John
> > Camelon/Ottawa/IBM] [attachment "patch_09.19.
> 03(cdt.core.tests).txt"
> > deleted by John Camelon/Ottawa/IBM] [attachment
> "patch_09.19.03(cdt.
> > ui).txt" deleted by John Camelon/Ottawa/IBM]
> _______________________________________________
> cdt-patch mailing list
> cdt-patch@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-patch
>
> [attachment "patch_09.22.03(cdt.core).txt" deleted by
> John Camelon/Ottawa/IBM] [attachment "patch_09.22.
> 03(cdt.core.tests).txt" deleted by John
> Camelon/Ottawa/IBM] [attachment "patch_09.22.03(cdt.
> ui).txt" deleted by John Camelon/Ottawa/IBM]