Fix some broken tests

And add tests to AllTests.

(cherry picked from commit 27d240d3f8bd005aa346b7137268e21e9c4eeb38)

Conflicts:
	jack/tests/com/android/jack/compile/androidtree/dalvik/compilerregressions/CompilerRegressionsTest.java
	jack/tests/com/android/jack/compile/androidtree/dalvik/finalizer/FinalizerTest.java

Change-Id: Ie03e3138f5ff9c4bd9db49d6202f6ffda5822e39
Replace ecjSkip by a dedicated plan

- This dedicated plan allows to write compiler state and output dex file.

Bug: 16562353

Change-Id: I5801fef8193feef86c73955c2fb8b3236777215d
Add a resource test that generate a dex into a dir

- Now that dex writers was merged and that resource writer is always
used. The behavior of resource management is always the same.

Bug: 15121090
Change-Id: I47452d62370302d045ab6e7e0aa9032af2546c1b
Override methods of FilterOutputStream writing array

- Provide a more efficient implementation of these methods.

Change-Id: Ib821ce0e5b8704dd10669392598038bea47b7cda
Merge "Replace ecjSkip by a dedicated plan" into ub-jack
Merge "Add a resource test that generate a dex into a dir" into ub-jack
Fix ant clean target

Some files weren't deleted after ant clean.

Change-Id: If436558b1286fc59dfff7d6c17d37460532d3fcb
Merge "Fix ant clean target" into ub-jack
Always use Directory rather than File with DirectDir

- Always use Directory allows to use all existing checks done on directory.
Otherwise, if a File is used, there are no checks done on existence and
permissions.

Bug: 15177231

Change-Id: I143a393975ec3ddcc6096342f9a4a09a472cb8db
Merge "Fix some broken tests" into ub-jack
Add some read/write resource tests

This includes a failing test that tries to read and write resources
from the same folder. Bug: 16696763

Change-Id: I393a6b06cbec407456e22ff33035fc243349fe83
Move libOfLib test to ClasspathTest and use stubs

Change-Id: I682aeea7512237ab3f47b1a9efa1b1f00d8b96a0
Merge "Add some read/write resource tests" into ub-jack
Make dependency on Junit in tests explicit

This will allow to remove Junit in default classpath.

(cherry picked from commit 07e6423e71854fb4045d17b29b75e2168ee133f0)

Change-Id: Ibe2a477098f6b2384bbf635350e78457622ce627
Merge "Make dependency on Junit in tests explicit" into ub-jack
Fix redundant tests

Change-Id: I9d1c1c9008f64ac5bff110934aebbe5888aa2e3b
Merge "Fix redundant tests" into ub-jack
Allow to perfom several different tracing in the same pass.

Change-Id: I8d96808e1570035437ac2db3524b722e826fb728
Replace getAbsolutePath by getPath

Change-Id: I33c1603a84e2a1dda3f225b741e3637890c82a0d
Fix compilation time regression into tracer

- Use == instead of equals method seems to be safe in this context.

Change-Id: Iad6abd9263d6d8cb65de7730e264ab153030328a