I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit f57d91ac authored by str4d's avatar str4d
Browse files

Added missing DateAndFlagsTest - no errors in core junit tests now

parent ccc5923a
No related branches found
No related tags found
No related merge requests found
package net.i2p.data;
/*
* free (adj.): unencumbered; not under the control of others
* Written by str4d in 2012 and released into the public domain
* with no warranty of any kind, either expressed or implied.
* It probably won't make your computer catch on fire, or eat
* your children, but it might. Use at your own risk.
*
*/
/**
* Test harness for loading / storing DateAndFlags objects
*
* @author str4d
*/
public class DateAndFlagsTest extends StructureTest {
@Override
public DataStructure createDataStructure() throws DataFormatException {
DateAndFlags daf = new DateAndFlags();
daf.setDate(0);
daf.setFlags(0);
return daf;
}
@Override
public DataStructure createStructureToRead() {
return new DateAndFlags();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment