Bug 4549 - DisplayVariable should not change if the variable does not
Summary: DisplayVariable should not change if the variable does not
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 4547
  Show dependency treegraph
 
Reported: 2007-05-25 17:41 UTC by Adam Jocksch
Modified: 2007-05-31 17:35 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 Adam Jocksch 2007-05-25 17:41:00 UTC
When the underlying variable does not change, the DisplayVariable tracking it
should report the same value.
Comment 1 Adam Jocksch 2007-05-31 17:35:01 UTC
This now works, as verified by the Testcase in frysk.rt.TestDisplayValue.

frysk-core/frysk/rt:
2007-05-31  Adam Jocksch  <ajocksch@redhat.com>

	* DisplayValue.java (DisplayValue): Now takes a task object.
	(isInScope): Now correctly returns whether the varliable is in scope.
	(update): Added.
	* TestDisplayValue.java (testVariableValueChanged): Enabled, testcase
	now passes.
	(testVariableValueNotChanged): Ditto.

frysk-core/frysk/pkglibdir:
2007-05-31  Adam Jocksch  <ajocksch@redhat.com>

	* funit-rt-varchange.c: Added phoney function calls to stop the
	compiler from optimizing out lines of code.