public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/3719] New: stop propogation of Test*.*Internals
@ 2006-12-14 15:10 cagney at redhat dot com
  2006-12-14 15:48 ` [Bug general/3719] " cagney at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: cagney at redhat dot com @ 2006-12-14 15:10 UTC (permalink / raw)
  To: frysk-bugzilla

In the beginning there was a single standalone test program; and the coders felt
that life was good.

But then a second test was needed, and so the first test was copied and
modified, this giving birth to a second standalone test program, and so again
the coders felt that life was pretty good.

But then things started to go wrong.  The original test was copied again and
again and again, this leading to many similar standlone test programs, each
doing what they needed but each also duplicating much of work of the older
tests.  There was much confusing duplication within the source code, and much
slowness of the testsuite run.  There were rumblings, but on the whole, the
coders still felt that life was good.

But then the architect declared "Thou shall go forth and tests using JUnit." 
And all the coders celebrated, for they had been given a challenging task, and
again they felt happy.  But then a voice in the wilderness cried, "but what of
those old tests", and the architect replied "thou shall refactor".

And many tasks were refactored, and there was much use of JUnit, and coders
celebrated and life seemed good.  But unfortunatly a few tests remained.  These
were the oldest tests, that contained the most complex code, these were the
tests that refused to change.

But the coders kept refactoring, and the most complex code could see if nothing
was done it too would soon be clensed of complexity and converted to JUnit.  And
so it hatched a plan.  Late one morning, when all the coders were sleeping, the
most complex code would slip into a coders office, create an Invisibility
Internals class, and hide itself.  That way, in the afternoon, when the coders
awoke, they would find the complex code gone and assume that all was refactored
and coding life could return to normal.

And so the most complex code hatched its plan, and the coders were indeed fooled
in to thinking all was refactored and things appeared to return to normal.

But unfortunatly the most complex code, no longer pround and visible, and fed by
programmers hiding the other complex code, festered under the Invisibility
Internals class turning into evilly complex code.

Things were most definitly not good.

-- 
           Summary: stop propogation of Test*.*Internals
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: cagney at redhat dot com
OtherBugsDependingO 2234
             nThis:


http://sourceware.org/bugzilla/show_bug.cgi?id=3719

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug general/3719] stop propogation of Test*.*Internals
  2006-12-14 15:10 [Bug general/3719] New: stop propogation of Test*.*Internals cagney at redhat dot com
@ 2006-12-14 15:48 ` cagney at redhat dot com
  2006-12-14 16:14 ` cagney at redhat dot com
  2006-12-14 16:23 ` cagney at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cagney at redhat dot com @ 2006-12-14 15:48 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From cagney at redhat dot com  2006-12-14 15:48 -------
$ frep 'Timers, observers, counters, etc.. needed for the test.'
frysk-core/frysk/proc/TestRegMemModify.java:62:  // Timers, observers, counters,
etc.. needed for the test.
frysk-core/frysk/proc/TestRegMemModify.java:220:  // Timers, observers,
counters, etc.. needed for the test.
frysk-core/frysk/proc/TestModify.java:61:    // Timers, observers, counters,
etc.. needed for the test.
frysk-core/frysk/proc/SyscallExaminer.java:58:  // Timers, observers, counters,
etc.. needed for the test.
frysk-core/frysk/proc/TestTaskSyscallObserver.java:499:  // Timers, observers,
counters, etc.. needed for the test.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|frysk-bugzilla at sourceware|cagney at redhat dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=3719

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug general/3719] stop propogation of Test*.*Internals
  2006-12-14 15:10 [Bug general/3719] New: stop propogation of Test*.*Internals cagney at redhat dot com
  2006-12-14 15:48 ` [Bug general/3719] " cagney at redhat dot com
@ 2006-12-14 16:14 ` cagney at redhat dot com
  2006-12-14 16:23 ` cagney at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cagney at redhat dot com @ 2006-12-14 16:14 UTC (permalink / raw)
  To: frysk-bugzilla



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |3722


http://sourceware.org/bugzilla/show_bug.cgi?id=3719

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug general/3719] stop propogation of Test*.*Internals
  2006-12-14 15:10 [Bug general/3719] New: stop propogation of Test*.*Internals cagney at redhat dot com
  2006-12-14 15:48 ` [Bug general/3719] " cagney at redhat dot com
  2006-12-14 16:14 ` cagney at redhat dot com
@ 2006-12-14 16:23 ` cagney at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cagney at redhat dot com @ 2006-12-14 16:23 UTC (permalink / raw)
  To: frysk-bugzilla



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |3724


http://sourceware.org/bugzilla/show_bug.cgi?id=3719

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-12-14 16:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-14 15:10 [Bug general/3719] New: stop propogation of Test*.*Internals cagney at redhat dot com
2006-12-14 15:48 ` [Bug general/3719] " cagney at redhat dot com
2006-12-14 16:14 ` cagney at redhat dot com
2006-12-14 16:23 ` cagney at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).