Bug 3749 - testGladeLoading(frysk.gui.test.TestGlade)junit.framework.AssertionFailedError: sessionManager
Summary: testGladeLoading(frysk.gui.test.TestGlade)junit.framework.AssertionFailedErro...
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Mike Cvet
URL:
Keywords:
Depends on:
Blocks: 2248
  Show dependency treegraph
 
Reported: 2006-12-18 15:44 UTC by Andrew Cagney
Modified: 2007-01-08 12:03 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2006-12-18 15:44:10 UTC
testGladeLoading(frysk.gui.test.TestGlade)junit.framework.AssertionFailedError:
sessionManager
   at frysk.gui.test.TestGlade.testGladeLoading(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runArchCases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)
$ uname -a
Linux nettle 2.6.18-1.2239.fc5 #1 Fri Nov 10 13:04:06 EST 2006 i686 i686 i386
GNU/Linux
Comment 1 Andrew Cagney 2006-12-18 15:44:52 UTC
Running testGladeLoading(frysk.gui.test.TestGlade) ...GTK Accessibility Module
initialized
java.lang.IndexOutOfBoundsException: Source does not fit in dest
   at java.util.Collections.copy(libgcj.so.7)
   at frysk.gui.monitor.TrayIcon.setPopupWindows(TestRunner)
   at frysk.gui.SessionManagerGui.<init>(TestRunner)
   at frysk.gui.monitor.WindowManager.initSessionManagerWindow(TestRunner)
   at frysk.gui.test.TestGlade.testGladeLoading(TestRunner)
   at java.lang.reflect.Method.invoke(libgcj.so.7)
   at junit.framework.TestCase.runTest(TestRunner)
   at junit.framework.TestCase.runBare(TestRunner)
   at junit.framework.TestResult$1.protect(TestRunner)
   at junit.framework.TestResult.runProtected(TestRunner)
   at junit.framework.TestResult.run(TestRunner)
   at junit.framework.TestCase.run(TestRunner)
   at junit.framework.TestSuite.runTest(TestRunner)
   at junit.framework.TestSuite.run(TestRunner)
   at junit.framework.TestSuite.runTest(TestRunner)
   at junit.framework.TestSuite.run(TestRunner)
   at junit.textui.TestRunner.doRun(TestRunner)
   at junit.textui.TestRunner.doRun(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runArchCases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)
FAIL
  junit.framework.AssertionFailedError: sessionManager
Comment 2 Mike Cvet 2006-12-19 16:48:19 UTC
Log message:
        2006-12-19  Mike Cvet  <mcvet@redhat.com>
        
        * TrayIcon.java (setPopupWindows): Initialize the new LinkedList to be 
the
        same size as the incoming List parameter. Fixes #3749.
Comment 3 Andrew Cagney 2007-01-08 12:03:10 UTC
Don't forget to remove the corresponding disabled test :-)  I've done it here.