Skip to content

Commit

Permalink
ROASTER-103: Remove test on Serializable class implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
nchal committed Jun 2, 2016
1 parent 1441ae0 commit 4d4399e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ private SerialVersionUIDComputer()
*/
public static long compute(JavaClassSource source)
{
if (!source.hasInterface(Serializable.class))
{
return 0L;
}
try
{
ByteArrayOutputStream bout = new ByteArrayOutputStream();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,6 @@
public class SerialVersionUIDComputerTest
{

@Test
public void testNonSerializableSerialVersionUID() throws Exception
{
JavaClassSource type = Roaster.create(JavaClassSource.class).setName("Foo");
type.addMethod().setName("foo");
type.addField().setType(String.class).setName("bar");
Assert.assertEquals(0, SerialVersionUIDComputer.compute(type));
}

@Test
public void testSerialVersionUID1() throws Exception
{
Expand Down

0 comments on commit 4d4399e

Please sign in to comment.