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

Addd end-to-end test for output comments; removed comment doc tags en… #508

Merged
merged 1 commit into from
Oct 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions test/end-to-end/Comments/blocks.cs

This file was deleted.

7 changes: 0 additions & 7 deletions test/end-to-end/Comments/blocks.gls

This file was deleted.

7 changes: 0 additions & 7 deletions test/end-to-end/Comments/blocks.java

This file was deleted.

7 changes: 0 additions & 7 deletions test/end-to-end/Comments/blocks.js

This file was deleted.

7 changes: 0 additions & 7 deletions test/end-to-end/Comments/blocks.py

This file was deleted.

7 changes: 0 additions & 7 deletions test/end-to-end/Comments/blocks.rb

This file was deleted.

7 changes: 0 additions & 7 deletions test/end-to-end/Comments/blocks.ts

This file was deleted.

15 changes: 0 additions & 15 deletions test/end-to-end/Comments/docs.cs

This file was deleted.

9 changes: 0 additions & 9 deletions test/end-to-end/Comments/docs.gls

This file was deleted.

9 changes: 0 additions & 9 deletions test/end-to-end/Comments/docs.java

This file was deleted.

9 changes: 0 additions & 9 deletions test/end-to-end/Comments/docs.js

This file was deleted.

9 changes: 0 additions & 9 deletions test/end-to-end/Comments/docs.py

This file was deleted.

9 changes: 0 additions & 9 deletions test/end-to-end/Comments/docs.rb

This file was deleted.

9 changes: 0 additions & 9 deletions test/end-to-end/Comments/docs.ts

This file was deleted.

20 changes: 20 additions & 0 deletions test/end-to-end/Comments/index.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//
using System;

namespace Comments
{
class Index
{
public static void Main()
{
/*

aaa bbb ccc
*/

// Console.WriteLine("Hello, world!")
Console.WriteLine("Hello, world!");
}
}
}
//
6 changes: 6 additions & 0 deletions test/end-to-end/Comments/index.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
</Project>
15 changes: 15 additions & 0 deletions test/end-to-end/Comments/index.gls
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-
file start : Comments Index
main context start
main start
comment block start
comment block
comment block : aaa bbb ccc
comment block end

comment line : { print : ("Hello, world!") }
print : ("Hello, world!")
main end
main context end
file end
-
15 changes: 15 additions & 0 deletions test/end-to-end/Comments/index.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//
package comments;

class Index {
public static void main(String[] args) {
/*

aaa bbb ccc
*/

// System.out.println("Hello, world!")
System.out.println("Hello, world!");
}
}
//
9 changes: 9 additions & 0 deletions test/end-to-end/Comments/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//
/*

aaa bbb ccc
*/

// console.log("Hello, world!")
console.log("Hello, world!");
//
10 changes: 10 additions & 0 deletions test/end-to-end/Comments/index.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
if __name__ == "__main__":
"""

aaa bbb ccc
"""

# print("Hello, world!")
print("Hello, world!")
#
9 changes: 9 additions & 0 deletions test/end-to-end/Comments/index.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#
=begin

aaa bbb ccc
=end

# puts "Hello, world!"
puts "Hello, world!"
#
9 changes: 9 additions & 0 deletions test/end-to-end/Comments/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//
/*

aaa bbb ccc
*/

// console.log("Hello, world!")
console.log("Hello, world!");
//
1 change: 1 addition & 0 deletions test/end-to-end/Comments/output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello, world!