Permalink
Browse files

Files restructured.

  • Loading branch information...
1 parent 54d07dc commit e27a15ca2b8975dc094b2aa8322e4873a61af5ec @mehfuzh mehfuzh committed Nov 21, 2010
@@ -26,7 +26,7 @@ private string ReadResult(string testname)
{
Assembly assembly = Assembly.GetExecutingAssembly();
- using (Stream stream = assembly.GetManifestResourceStream("LinqExtender.Tests.Scripts." + testname + ".sql"))
+ using (Stream stream = assembly.GetManifestResourceStream(String.Format("LinqExtender.Tests.Cases.{0}.txt", testname)))
{
using (StreamReader reader = new StreamReader(stream))
{
@@ -61,35 +61,35 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
- <EmbeddedResource Include="Scripts\ShouldAssertSimpleWhereClause.sql" />
+ <EmbeddedResource Include="Cases\ShouldAssertSimpleWhereClause.txt" />
</ItemGroup>
<ItemGroup>
- <EmbeddedResource Include="Scripts\ShouldAssertSimpleWhereWithLogicalExpression.sql" />
+ <EmbeddedResource Include="Cases\ShouldAssertSimpleWhereWithLogicalExpression.txt" />
</ItemGroup>
<ItemGroup>
- <EmbeddedResource Include="Scripts\ShouldAssertWhereWithNestedLeftLogicalExpression.sql" />
+ <EmbeddedResource Include="Cases\ShouldAssertWhereWithNestedLeftLogicalExpression.txt" />
</ItemGroup>
<ItemGroup>
- <EmbeddedResource Include="Scripts\ShouldAssertWhereWithtNestedRightLogicalExpression.sql" />
+ <EmbeddedResource Include="Cases\ShouldAssertWhereWithtNestedRightLogicalExpression.txt" />
</ItemGroup>
<ItemGroup>
- <EmbeddedResource Include="Scripts\ShouldAssertWhereWithNestedLeftAndRightLogicaExpression.sql" />
+ <EmbeddedResource Include="Cases\ShouldAssertWhereWithNestedLeftAndRightLogicaExpression.txt" />
</ItemGroup>
<ItemGroup>
- <EmbeddedResource Include="Scripts\ShouldAssertSimpleSelect.sql" />
+ <EmbeddedResource Include="Cases\ShouldAssertSimpleSelect.txt" />
</ItemGroup>
<ItemGroup>
- <EmbeddedResource Include="Scripts\ShouldAssertSimpleOrderBySelect.sql" />
+ <EmbeddedResource Include="Cases\ShouldAssertSimpleOrderBySelect.txt" />
</ItemGroup>
<ItemGroup>
- <EmbeddedResource Include="Scripts\ShouldAssertObjectNameAsSpecifiedInNameAttribute.sql" />
+ <EmbeddedResource Include="Cases\ShouldAssertObjectNameAsSpecifiedInNameAttribute.txt" />
</ItemGroup>
<ItemGroup>
- <EmbeddedResource Include="Scripts\ShouldAssertOrderByDescending.sql" />
+ <EmbeddedResource Include="Cases\ShouldAssertOrderByDescending.txt" />
</ItemGroup>
<ItemGroup>
- <EmbeddedResource Include="Scripts\ShouldAssertSimpleWhereThatHasMethodCall.sql" />
- <Content Include="Scripts\ShouldAssertPropertyNameAsSpeficiedInNameAttribute.sql" />
+ <EmbeddedResource Include="Cases\ShouldAssertSimpleWhereThatHasMethodCall.txt" />
+ <EmbeddedResource Include="Cases\ShouldAssertPropertyNameAsSpeficiedInNameAttribute.txt" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
@@ -109,7 +109,7 @@ private void WriteSpace()
private void WriteNewLine()
{
- writer.Write("\n");
+ writer.Write(Environment.NewLine);
}
private void WriteTokenIfReq(Ast.LogicalExpression expression, Token token)

0 comments on commit e27a15c

Please sign in to comment.