org.freecompany.redline
Class Test

java.lang.Object
  extended by org.freecompany.redline.Test

public class Test
extends java.lang.Object

Simple test class to validate that a basic RPM file can be correctly generated. The results of this test class can be read in by the scanner to validate it's format.


Constructor Summary
Test()
           
 
Method Summary
static void main(java.lang.String[] args)
          Builds a test RPM file using the provided optional arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Test

public Test()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Builds a test RPM file using the provided optional arguments. The first argument is the target path of a file to add to the RPM, and the second argument is the path to the actual file content.

Throws:
java.lang.Exception - if an error occurrs generating the test RPM file


Copyright © 2011. All Rights Reserved.