Commit 0e2bc4fb authored by Dr. Martin Goik's avatar Dr. Martin Goik

assertNull simplification

parent c7ad7f34
......@@ -23,7 +23,7 @@ public class MetaInfoUnixTest {
Assert.assertEquals(FileMetaInfo.NO_DRIVE, fmi.drive);
Assert.assertEquals("/usr/openvpn", fmi.path);
Assert.assertEquals("hdm", fmi.basename);
Assert.assertEquals(null, fmi.extension);
Assert.assertNull(fmi.extension);
}
@Test
......@@ -49,7 +49,7 @@ public class MetaInfoUnixTest {
Assert.assertEquals(FileMetaInfo.NO_DRIVE, fmi.drive);
Assert.assertEquals("../Desktop", fmi.path);
Assert.assertEquals("icon", fmi.basename);
Assert.assertEquals(null, fmi.extension);
Assert.assertNull(fmi.extension);
}
@Test
......@@ -75,6 +75,6 @@ public class MetaInfoUnixTest {
Assert.assertEquals(FileMetaInfo.NO_DRIVE, fmi.drive);
Assert.assertEquals("", fmi.path);
Assert.assertEquals("a", fmi.basename);
Assert.assertEquals(null, fmi.extension);
Assert.assertNull(fmi.extension);
}
}
......@@ -23,7 +23,7 @@ public class MetaInfoWindowsTest {
Assert.assertEquals('F', fmi.drive);
Assert.assertEquals("\\software\\my", fmi.path);
Assert.assertEquals("archive", fmi.basename);
Assert.assertEquals(null, fmi.extension);
Assert.assertNull(fmi.extension);
}
@Test
......@@ -49,7 +49,7 @@ public class MetaInfoWindowsTest {
Assert.assertEquals(FileMetaInfo.NO_DRIVE, fmi.drive);
Assert.assertEquals("..\\Desktop", fmi.path);
Assert.assertEquals("icon", fmi.basename);
Assert.assertEquals(null, fmi.extension);
Assert.assertNull(fmi.extension);
}
@Test
......@@ -74,7 +74,7 @@ public class MetaInfoWindowsTest {
Assert.assertEquals(FileMetaInfo.NO_DRIVE, fmi.drive);
Assert.assertEquals("", fmi.path);
Assert.assertEquals("a", fmi.basename);
Assert.assertEquals(null, fmi.extension);
Assert.assertNull(fmi.extension);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment