Cyberduck Mountain Duck CLI

Changeset 16967


Ignore:
Timestamp:
Feb 23, 2015 10:59:28 PM (7 years ago)
Author:
dkocher
Message:

Fix tests.

Location:
trunk/test/ch/cyberduck/core
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/ch/cyberduck/core/azure/AzureAttributesFeatureTest.java

    r16862 r16967  
    2121import java.util.UUID;
    2222
    23 import static org.junit.Assert.assertEquals;
     23import static org.junit.Assert.*;
    2424
    2525/**
     
    5252        final Path test = new Path(container, UUID.randomUUID().toString() + ".txt", EnumSet.of(Path.Type.file));
    5353        new AzureTouchFeature(session, null).touch(test);
    54         final String v = UUID.randomUUID().toString();
    5554        final AzureAttributesFeature f = new AzureAttributesFeature(session, null);
    5655        final PathAttributes attributes = f.find(test);
    5756        assertEquals(0L, attributes.getSize());
    58         assertEquals("1B2M2Y8AsgTpgAmY7PhCfg==", attributes.getChecksum().hash);
     57        assertNull(attributes.getChecksum());
     58        assertNotNull(attributes.getETag());
    5959        new AzureDeleteFeature(session, null).delete(Collections.singletonList(test), new DisabledLoginCallback(), new DisabledProgressListener());
    6060        session.close();
  • trunk/test/ch/cyberduck/core/dav/DAVListServiceTest.java

    r15986 r16967  
    7676            assertNotNull(p.attributes().getCreationDate());
    7777            assertNotNull(p.attributes().getSize());
    78             assertNotNull(p.attributes().getChecksum());
     78            assertNull(p.attributes().getChecksum());
    7979            assertNotNull(p.attributes().getETag());
    8080        }
  • trunk/test/ch/cyberduck/core/s3/S3ObjectListServiceTest.java

    r16585 r16967  
    5959                assertNotNull(p.attributes().getModificationDate());
    6060                assertNotNull(p.attributes().getSize());
    61                 assertNotNull(p.attributes().getChecksum());
     61                assertNotNull(p.attributes().getETag());
    6262                assertNotNull(p.attributes().getStorageClass());
    6363            }
Note: See TracChangeset for help on using the changeset viewer.