Bug 4548 - DisplayVariable changes value when the variable in code changes value
Summary: DisplayVariable changes value when the variable in code changes value
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Adam Jocksch
URL:
Keywords:
Depends on:
Blocks: 4547
  Show dependency treegraph
 
Reported: 2007-05-25 17:40 UTC by Adam Jocksch
Modified: 2007-05-31 17:34 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:40:07 UTC
When the variable that a DisplayVariable is watching changes value, the
DisplayVariable should report the new value.
Comment 1 Adam Jocksch 2007-05-31 17:34:05 UTC
testcase in frysk.rt.TestDisplayValue is now enabled and passing:
ChangleLog entry:

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.