gatk-3.8/public/java/test/org/broadinstitute/sting/gatk
Khalid Shakir e57cd78bba Killed two more resource leakers that ignored requests to close wrapped file pointers, and added Unit Tests for each.
This bug will happen in all adapter/wrapper classes that are passed a resource, and then in their close method they ignore requests to close the wrapped resource, causing a leak when the adapter is the only one left with a reference to the resource.

Ex:

public Wrapper getNewWrapper(File path) {
  FileStream myStream = new FileStream(path); // This stream must be eventually closed.
  return new Wrapper(myStream);
}

public void close(Wrapper wrapper) {
  wrapper.close(); // If wrapper.close() does nothing, NO ONE else has a reference to close myStream.
}
2012-05-21 15:41:56 -04:00
..
datasources Killed two more resource leakers that ignored requests to close wrapped file pointers, and added Unit Tests for each. 2012-05-21 15:41:56 -04:00
executive Reorganized the codebase beneath top-level public and private directories, 2011-06-28 06:55:19 -04:00
filters Taking care of bad cigars in the GATK 2012-03-20 14:32:57 -04:00
iterators Removing extended event related unit tests 2012-04-02 14:40:36 -04:00
refdata Killed two more resource leakers that ignored requests to close wrapped file pointers, and added Unit Tests for each. 2012-05-21 15:41:56 -04:00
report Removed old GATKReport code and moved the new stuff in its place. 2012-05-18 01:44:31 -04:00
samples Added function to get founders IDs in SampleDB 2012-04-25 12:49:36 -04:00
traversals First pass of the asynchronous block loader. 2011-11-18 15:02:59 -05:00
walkers Forgot that the VCFStreamingOntegrationTest uses VE 2012-05-18 02:51:53 -04:00
EngineFeaturesIntegrationTest.java More extensive testing of type of error thrown in multi-threaded walker test 2012-04-13 09:23:33 -04:00
GenomeAnalysisEngineUnitTest.java Allow processing of empty intervals, but warn user when this case is encountered. 2011-10-28 12:12:14 -04:00
WalkerManagerUnitTest.java Moving more tools over to use the standard VC arg collection. Also, while I'm in there, I removed all of the empty references to @Requires given that it's no longer relevant. 2011-08-10 12:20:18 -04:00