Build Areca before running the following command lines to try out to detect major bugs.
These tests come from Areca Backup v7.5.
- $
java -cp lib/areca.jar com.application.areca.tests.CompareFiles <filename1> <filename2> <outfile>
Parameters:
filename1
(required) First file to compare..filename2
(required) Second file to compare.outfile
(required) Comparison results, where the values of the columns correspond to the order of the files as arguments. The output ends with both columns with EOF.
Example:
- $
java -cp lib/areca.jar com.application.areca.tests.CompareFiles README.md AUTHORS outfile.txt
- $
java -cp lib/areca.jar com.application.areca.tests.ComputeHash <filename1> [filename2] ... [filename#]
Parameters:
- A list of
filename
s (at least 1 filename).
Example:
- $
java -cp lib/areca.jar com.application.areca.tests.ComputeHash README.md AUTHORS
- Utility class.
- $
java -cp lib/areca.jar:lib/commons-codec-1.4.jar com.application.areca.tests.DecodeBase64 <base64>
Parameters:
base64
(required) . String to encode.
Example:
- $
java -cp lib/areca.jar:lib/commons-codec-1.4.jar com.application.areca.tests.DecodeBase64 base64
- It is an interface, so nothing to test.
E2E
- $
java -cp lib/areca.jar com.application.areca.tests.Test <workspace_path>
Parameters:
workspace_path
(required) An Areca workspace.
Example:
- $
java -cp lib/areca.jar com.application.areca.tests.Test ~/$USER/.areca/workspace
(Linux) - >
java -cp lib/areca.jar com.application.areca.tests.Test %HOMEPATH%/.areca/workspace
(Windows)
- $
java -cp lib/areca.jar com.application.areca.tests.TestCopy <source_file> <destiny_file>
Parameters:
sourceParentDirectory
Source folder.targetParentDirectory
Destiny folder.
Example:
- $
java -cp lib/areca.jar com.application.areca.tests.TestCopy release building/tests
- $
java -cp lib/areca.jar com.application.areca.tests.TestPerfs <workspace_path>
Parameters:
workspace_path
(required) An Areca workspace.
Example:
- $
java -cp lib/areca.jar com.application.areca.tests.TestPerfs ~/$USER/.areca/workspace
(Linux) - >
java -cp lib/areca.jar com.application.areca.tests.TestPerfs %HOMEPATH%/.areca/workspace
(Windows)
- Utility class.