Reads from a stream to check license.
Note that this class is not thread safe.
38394041424344454647
super.tearDown(); } public void testIsFinished() throws Exception { final Document subject = new MockLocation("subject"); HeaderCheckWorker worker = new HeaderCheckWorker(new StringReader(""), new ApacheSoftwareLicense20(), subject); assertFalse(worker.isFinished()); worker.read(); assertTrue(worker.isFinished()); }
39404142434445464748
37383940414243444546
protected void tearDown() throws Exception { super.tearDown(); } public void testIsFinished() throws Exception { HeaderCheckWorker worker = new HeaderCheckWorker(new StringReader(""), new ApacheSoftwareLicense20(), reporter, "subject"); assertFalse(worker.isFinished()); worker.read(); assertTrue(worker.isFinished()); }