Skip to content
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

where is TestAbnfObject? #1

Closed
Charltsing opened this issue Mar 8, 2017 · 1 comment
Closed

where is TestAbnfObject? #1

Charltsing opened this issue Mar 8, 2017 · 1 comment

Comments

@Charltsing
Copy link

Charltsing commented Mar 8, 2017

ProjectReferenceTests.cs

var x = new TestAbnfObject();

where is TestAbnfObject??

@fabianoliver
Copy link
Owner

Hi Charltsing,

thanks for pointing this out. That was debug legacy code from a previous iteration of the ABNF toolkit that failed to sync properly for some reason. I've updated the repo, should build fine now.

For the record, there is no unit test to replace this for the current version yet, setting up a proper one for the actual ProjectStream will be a bit of work.
Should be very straightforward for some simple custom class/syntax though if needed; I'd suggest looking at VbProjectParser\Data\ProjectStream.cs and the classes in its ABNF folder to see how syntax definition as well as reading from/writing to a properly formatted string works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants