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 CRC32ResourceVersion

Author(s):
miha
@RunWith(value = Parameterized.class)
    private final Map.Entry<StringStringcontent;
    public CRC32ResourceVersionTest(final Map.Entry<StringStringcontent) {
        this. = content;
    }
    public static Collection<Object[]> data() {
        Object[][] data = new Object[][] {
                { new AbstractMap.SimpleEntry<StringString>("a""e8b7be43") },
                { new AbstractMap.SimpleEntry<StringString>("a1""6ce14823") },
                { new AbstractMap.SimpleEntry<StringString>("a1b""d3b57fc3") },
                { new AbstractMap.SimpleEntry<StringString>("a1bX""b50c103e") },
                { new AbstractMap.SimpleEntry<StringString>("a1bXl""57d2d345") }
        };
        return Arrays.asList(data);
    }
    @Test
    public void checkChecksum() {
        check(.getKey(), .getValue());
    }
    @Override
        return new CRC32ResourceVersion();
    }
New to GrepCode? Check out our FAQ X