This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git
The following commit(s) were added to refs/heads/master by this push:
new 3c3edad Add null check in test.
3c3edad is described below
commit 3c3edad1e7a0ebd8d059a2c2143a99000d9cd349
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Oct 5 19:29:13 2019 -0400
Add null check in test.
---
.../src/test/java/org/apache/commons/vfs2/cache/LRUFilesCacheTests.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/cache/LRUFilesCacheTests.java
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/cache/LRUFilesCacheTests.java
index 6e17aa4..bf8b820 100644
---
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/cache/LRUFilesCacheTests.java
+++
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/cache/LRUFilesCacheTests.java
@@ -17,6 +17,7 @@
package org.apache.commons.vfs2.cache;
import org.apache.commons.vfs2.FileObject;
+import org.junit.Assert;
/**
* Tests for {@link LRUFilesCache} used by {@link LRUFilesCacheTestCase}.
@@ -24,6 +25,7 @@ import org.apache.commons.vfs2.FileObject;
public class LRUFilesCacheTests extends AbstractFilesCacheTestsBase {
public void testFilesCache() throws Exception {
final FileObject scratchFolder = getWriteFolder();
+ Assert.assertNotNull("scratchFolder", scratchFolder);
// releaseable
final FileObject dir1 = scratchFolder.resolveFile("dir1");