forked from I2P_Developers/i2p.i2p
merge of '96801f1975a618da3caa8943bc186ad78449ee94'
and 'fa2d2cb834d3792b816984bc44da70ad903e40e8'
This commit is contained in:
@ -8,6 +8,8 @@ package net.i2p.data.i2np;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import org.junit.Test;
|
||||||
|
|
||||||
import net.i2p.I2PAppContext;
|
import net.i2p.I2PAppContext;
|
||||||
import net.i2p.data.DataFormatException;
|
import net.i2p.data.DataFormatException;
|
||||||
import net.i2p.data.DataStructure;
|
import net.i2p.data.DataStructure;
|
||||||
@ -34,4 +36,13 @@ public class DatabaseStoreMessageTest extends StructureTest {
|
|||||||
public DataStructure createStructureToRead() {
|
public DataStructure createStructureToRead() {
|
||||||
return new DatabaseStoreMessage(I2PAppContext.getGlobalContext());
|
return new DatabaseStoreMessage(I2PAppContext.getGlobalContext());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@Test
|
||||||
|
public void testStructure() throws Exception {
|
||||||
|
try {
|
||||||
|
super.testStructure();
|
||||||
|
fail("should not be supported");
|
||||||
|
} catch (UnsupportedOperationException expected){}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user