Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package de.agilecoders.wicket.core.request.resource.caching.version;
 
 import org.junit.Test;
 
Tests the Adler32ResourceVersion

Author(s):
miha
@RunWith(value = Parameterized.class)
    private final Map.Entry<StringStringcontent;
    public Adler32ResourceVersionTest(final Map.Entry<StringStringcontent) {
        this. = content;
    }
    public static Collection<Object[]> data() {
        Object[][] data = new Object[][] {
                { new AbstractMap.SimpleEntry<StringString>("a""620062") },
                { new AbstractMap.SimpleEntry<StringString>("a1""f50093") },
                { new AbstractMap.SimpleEntry<StringString>("a1b""1ea00f5") },
                { new AbstractMap.SimpleEntry<StringString>("a1bX""337014d") },
                { new AbstractMap.SimpleEntry<StringString>("a1bXl""4f001b9") }
        };
        return Arrays.asList(data);
    }
    @Test
    public void checkChecksum() {
        check(.getKey(), .getValue());
    }
    @Override
        return new Adler32ResourceVersion();
    }
New to GrepCode? Check out our FAQ X