AddressSpace library v1.0 beta

Class SwapTest

java.lang.Object
  |
  +--SwapTest

public class SwapTest
extends java.lang.Object

This class tests the swap module.

  1. First of all an empty space is created (test is the name).
  2. A series of zeros is inserted.
    the user should see only the index grow.
  3. A file is placed inside the swap at a random position.
    now the user should see the data grow.
  4. The file is extracted and placed is the local directory.
  5. A part of the file is blanked.
    the user should see that the data file partially reduce.
  6. The rest of the file is blanked.
    the data file should reduce to 1024 bytes again.
  7. Version:
    1.0 June 05 2000
    Author:
    Dario Maggiorini (dario@dsi.unimi.it)

    Method Summary
    static void main(java.lang.String[] args)
              Just call it.
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Method Detail

    main

    public static final void main(java.lang.String[] args)
    Just call it.
    No command line parameters are needed.

    Help is irrilevant
    You will be assimilated!

    v1.0 beta by Dario Maggiorini