-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restored support of ISerialization #44
Conversation
Hyperion.Tests/ISerializableTests.cs
Outdated
} | ||
|
||
[Fact(Skip="Not implemented yet")] | ||
public void CanSerializeClassesWithISerializable() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is not working.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexvaluyskiy What's the issue with it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have created an issue #45
} | ||
|
||
[Fact(Skip="Not implemented yet")] | ||
public void ShouldNotThrowIfNoConstructorWithSerializationInfo() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure, what should we do, if we can't find a proper constructor for ISerializable
#45
} | ||
|
||
[Fact(Skip="Not implemented yet")] | ||
public void SkipNonSerializedAttributeIfNoSerilizedAttribute() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NonSerializedAttribute
should not work, if class if not marked with 'SerializableAttribute'
Fixed: #42
And have added unit tests