| | |
| | | |
| | | /** |
| | | * Create test data for {@link StaticUtils#compare(byte[], byte[])}. |
| | | * |
| | | * |
| | | * @return Returns an array of test data. |
| | | */ |
| | | @DataProvider(name = "compareBytesTestData") |
| | |
| | | |
| | | /** |
| | | * Tests the {@link StaticUtils#compare(byte[], byte[])} method. |
| | | * |
| | | * |
| | | * @param a |
| | | * The first byte array. |
| | | * @param a2 |
| | |
| | | * |
| | | * @throws Exception If the test failed unexpectedly. |
| | | */ |
| | | @Test(groups = {"windows"}, expectedExceptions = IOException.class) |
| | | @Test(enabled=false, groups={"windows"}, expectedExceptions=IOException.class) |
| | | public void testRenameFileLockedTarget() throws Exception { |
| | | File src = File.createTempFile("src", null); |
| | | File target = File.createTempFile("target", null); |