Skip to content

testSerialize fails when running "ant test" #18

@Juul

Description

@Juul

The offending line is:

assertEquals(annotation1.getStrand(), annotation2.getStrand());

In the method:

public void assertEqual(SequenceAnnotationImpl annotation1, SequenceAnnotationImpl annotation2)

The relevant output:

[junit] Testcase: testSerialize took 0.246 sec
[junit]     FAILED
[junit] expected:<null> but was:<>
[junit] junit.framework.AssertionFailedError: expected:<null> but was:<>
[junit]     at org.sbolstandard.xml.test.TestMarshalling.assertEqual(TestMarshalling.java:105)
[junit]     at org.sbolstandard.xml.test.TestMarshalling.assertEqual(TestMarshalling.java:97)
[junit]     at org.sbolstandard.xml.test.TestMarshalling.assertEqual(TestMarshalling.java:84)
[junit]     at org.sbolstandard.xml.test.TestMarshalling.assertSerializationEquality(TestMarshalling.java:128)
[junit]     at org.sbolstandard.xml.test.TestMarshalling.testSerialize(TestMarshalling.java:133)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions