Switched from loading test files to testing specific parsing constructs. The tests don't fully cover the span (eventually I'll add more, maybe), but there's a bunch there.

More to the point, the yaml-reader program doesn't do any file IO, so it doesn't require a specific working directory.
This commit is contained in:
jbeder
2009-05-31 06:36:01 +00:00
parent f2ed49f720
commit ec578d45f1
11 changed files with 890 additions and 766 deletions

View File

@@ -167,10 +167,18 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\yaml-reader\emittertests.cpp"
>
</File>
<File
RelativePath=".\yaml-reader\main.cpp"
>
</File>
<File
RelativePath=".\yaml-reader\parsertests.cpp"
>
</File>
<File
RelativePath=".\yaml-reader\tests.cpp"
>
@@ -186,32 +194,6 @@
>
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
<File
RelativePath=".\yaml-reader\tests\directives.yaml"
>
</File>
<File
RelativePath=".\yaml-reader\tests\mixed.yaml"
>
</File>
<File
RelativePath=".\yaml-reader\tests\scalars.yaml"
>
</File>
<File
RelativePath=".\yaml-reader\tests\simple.yaml"
>
</File>
<File
RelativePath=".\yaml-reader\tests\test.yaml"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>