Evaluating Software Design Patterns
— the "Gang of Four" patterns implemented in Java 6

Class Main

  extended by dk.rode.thesis.strategy.Main
All Implemented Interfaces:

public class Main
extends Object
implements Testable

Strategy tests.

Gunni Rode / rode.dk

Constructor Summary
          No-arg constructor.
Method Summary
static void main(String[] args)
          Executes the Strategy tests.
 boolean test(Log out, Arguments arguments)
          Performs the specific tests and report the outcome to the log supplied as log.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Main()
No-arg constructor.

Method Detail


public static void main(String[] args)
Executes the Strategy tests.

args - The arguments to supply to test(Log, Arguments), if any; can be null.


public boolean test(Log out,
                    Arguments arguments)
Description copied from interface: Testable
Performs the specific tests and report the outcome to the log supplied as log.

Arguments to control log-level:

Specified by:
test in interface Testable
out - The log to report the test outcome to; cannot be null.
arguments - Additional arguments, if any.
True if the tests succeeded, false if not.

Gunni Rode / rode.dk

Feel free to use and/or modify the Java 6 source code developed for this thesis AT YOUR OWN RISK, but note that the source code comes WITHOUT ANY — and I do mean WITHOUT ANY — form of warranty WHAT SO EVER!

The original thesis and source code are available at rode.dk/thesis.