Bug 2707 - testExport(frysk.gui.test.TestObserverSaveLoad)junit.framework.AssertionFailedError: Number of Observers expected:<1> but was:<0>
Summary: testExport(frysk.gui.test.TestObserverSaveLoad)junit.framework.AssertionFaile...
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Sami Wagiaalla
URL:
Keywords:
: 2713 (view as bug list)
Depends on:
Blocks: 1987
  Show dependency treegraph
 
Reported: 2006-05-30 06:35 UTC by Andrew Cagney
Modified: 2006-06-19 16:56 UTC (History)
1 user (show)

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-05-30 06:35:04 UTC
1)
testExport(frysk.gui.test.TestObserverSaveLoad)junit.framework.AssertionFailedError:
Number of Observers expected:<1> but was:<0>
   at frysk.gui.test.TestObserverSaveLoad.testExport (TestRunner)
   at java.lang.reflect.Method.invoke (libgcj.so.7)
   at frysk.junit.Runner.<init> (TestRunner)
   at TestRunner.main (TestRunner)
Comment 1 Sami Wagiaalla 2006-06-15 21:42:26 UTC
2006-06-15  Sami Wagiaalla  <swagiaal@redhat.com>

	* observers/ObserverManager.java: added loadObservers()
	to init instead of it having to be called expelictly fix for (2707).
	Added log statements.
	Added check for existing observers with the same name as
	observer being loaded, and code to update them if thats the
	case.

Comment 2 Sami Wagiaalla 2006-06-19 16:56:44 UTC
*** Bug 2713 has been marked as a duplicate of this bug. ***