initial import
This commit is contained in:
2
testdata/expected/file
vendored
Normal file
2
testdata/expected/file
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
This is a file without extension
|
||||
and should not be modified.
|
||||
22
testdata/expected/file.c
vendored
Normal file
22
testdata/expected/file.c
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
printf("Hello world\n");
|
||||
return 0;
|
||||
}
|
||||
21
testdata/expected/file.cc
vendored
Normal file
21
testdata/expected/file.cc
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
// Copyright 2016 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
cout << "Hello World!";
|
||||
return 0;
|
||||
}
|
||||
21
testdata/expected/file.cpp
vendored
Normal file
21
testdata/expected/file.cpp
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
// Copyright 2016 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
cout << "Hello World!";
|
||||
return 0;
|
||||
}
|
||||
20
testdata/expected/file.cs
vendored
Normal file
20
testdata/expected/file.cs
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
// Copyright 2016 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
public class Hello
|
||||
{
|
||||
public static void Main() {
|
||||
System.Console.WriteLine("Hello, World!");
|
||||
}
|
||||
}
|
||||
19
testdata/expected/file.css
vendored
Normal file
19
testdata/expected/file.css
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
.div {
|
||||
color: red;
|
||||
}
|
||||
17
testdata/expected/file.dart
vendored
Normal file
17
testdata/expected/file.dart
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright 2016 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
void main() {
|
||||
print('Hello World!');
|
||||
}
|
||||
15
testdata/expected/file.el
vendored
Normal file
15
testdata/expected/file.el
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
;; Copyright 2016 Google Inc.
|
||||
;;
|
||||
;; Licensed under the Apache License, Version 2.0 (the "License");
|
||||
;; you may not use this file except in compliance with the License.
|
||||
;; You may obtain a copy of the License at
|
||||
;;
|
||||
;; http://www.apache.org/licenses/LICENSE-2.0
|
||||
;;
|
||||
;; Unless required by applicable law or agreed to in writing, software
|
||||
;; distributed under the License is distributed on an "AS IS" BASIS,
|
||||
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
;; See the License for the specific language governing permissions and
|
||||
;; limitations under the License.
|
||||
|
||||
(message "Hello world!")
|
||||
18
testdata/expected/file.erl
vendored
Normal file
18
testdata/expected/file.erl
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
% Copyright 2016 Google Inc.
|
||||
%
|
||||
% Licensed under the Apache License, Version 2.0 (the "License");
|
||||
% you may not use this file except in compliance with the License.
|
||||
% You may obtain a copy of the License at
|
||||
%
|
||||
% http://www.apache.org/licenses/LICENSE-2.0
|
||||
%
|
||||
% Unless required by applicable law or agreed to in writing, software
|
||||
% distributed under the License is distributed on an "AS IS" BASIS,
|
||||
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
% See the License for the specific language governing permissions and
|
||||
% limitations under the License.
|
||||
|
||||
-module(hello).
|
||||
-export([hello_world/0]).
|
||||
|
||||
hello_world() -> io:fwrite("hello, world\n").
|
||||
21
testdata/expected/file.go
vendored
Normal file
21
testdata/expected/file.go
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
// Copyright 2016 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("Hello, World!")
|
||||
}
|
||||
17
testdata/expected/file.h
vendored
Normal file
17
testdata/expected/file.h
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#define SOMETHING
|
||||
15
testdata/expected/file.hh
vendored
Normal file
15
testdata/expected/file.hh
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2016 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#define SOMETHING
|
||||
15
testdata/expected/file.hpp
vendored
Normal file
15
testdata/expected/file.hpp
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2016 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#define SOMETHING
|
||||
17
testdata/expected/file.hs
vendored
Normal file
17
testdata/expected/file.hs
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
-- Copyright 2016 Google Inc.
|
||||
--
|
||||
-- Licensed under the Apache License, Version 2.0 (the "License");
|
||||
-- you may not use this file except in compliance with the License.
|
||||
-- You may obtain a copy of the License at
|
||||
--
|
||||
-- http://www.apache.org/licenses/LICENSE-2.0
|
||||
--
|
||||
-- Unless required by applicable law or agreed to in writing, software
|
||||
-- distributed under the License is distributed on an "AS IS" BASIS,
|
||||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
-- See the License for the specific language governing permissions and
|
||||
-- limitations under the License.
|
||||
|
||||
module Main where
|
||||
|
||||
main = putStrLn "Hello, World!"
|
||||
18
testdata/expected/file.html
vendored
Normal file
18
testdata/expected/file.html
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<!--
|
||||
Copyright 2016 Google Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!doctype html>
|
||||
<p>Hello World!</p>
|
||||
21
testdata/expected/file.java
vendored
Normal file
21
testdata/expected/file.java
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
// Copyright 2016 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
public class HelloWorld {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello, World");
|
||||
}
|
||||
|
||||
}
|
||||
19
testdata/expected/file.js
vendored
Normal file
19
testdata/expected/file.js
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Copyright 2016 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
function dummy() {
|
||||
console.log('hello world!');
|
||||
}
|
||||
16
testdata/expected/file.lisp
vendored
Normal file
16
testdata/expected/file.lisp
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
;; Copyright 2016 Google Inc.
|
||||
;;
|
||||
;; Licensed under the Apache License, Version 2.0 (the "License");
|
||||
;; you may not use this file except in compliance with the License.
|
||||
;; You may obtain a copy of the License at
|
||||
;;
|
||||
;; http://www.apache.org/licenses/LICENSE-2.0
|
||||
;;
|
||||
;; Unless required by applicable law or agreed to in writing, software
|
||||
;; distributed under the License is distributed on an "AS IS" BASIS,
|
||||
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
;; See the License for the specific language governing permissions and
|
||||
;; limitations under the License.
|
||||
|
||||
; hello world lisp program.
|
||||
(print "Hello World")
|
||||
23
testdata/expected/file.m
vendored
Normal file
23
testdata/expected/file.m
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
// Copyright 2016 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
int main (int argc, const char * argv[])
|
||||
{
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
NSLog (@"Hello, World!");
|
||||
[pool drain];
|
||||
return 0;
|
||||
}
|
||||
3
testdata/expected/file.md
vendored
Normal file
3
testdata/expected/file.md
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# Markdown
|
||||
|
||||
This is a markdown file and should not be modified.
|
||||
23
testdata/expected/file.mm
vendored
Normal file
23
testdata/expected/file.mm
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
// Copyright 2016 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
int main (int argc, const char * argv[])
|
||||
{
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
NSLog (@"Hello, World!");
|
||||
[pool drain];
|
||||
return 0;
|
||||
}
|
||||
17
testdata/expected/file.php
vendored
Normal file
17
testdata/expected/file.php
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
// Copyright 2016 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
?>
|
||||
|
||||
<?php phpinfo(); ?>
|
||||
31
testdata/expected/file.proto
vendored
Normal file
31
testdata/expected/file.proto
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
// Copyright 2016 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package helloworld;
|
||||
|
||||
service Greeter {
|
||||
rpc SayHello (HelloRequest) returns (HelloReply) {}
|
||||
}
|
||||
|
||||
// The request message containing the user's name.
|
||||
message HelloRequest {
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
// The response message containing the greetings
|
||||
message HelloReply {
|
||||
string message = 1;
|
||||
}
|
||||
15
testdata/expected/file.py
vendored
Normal file
15
testdata/expected/file.py
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# Copyright 2016 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
print "Hello World!"
|
||||
17
testdata/expected/file.rs
vendored
Normal file
17
testdata/expected/file.rs
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright 2016 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
fn main() {
|
||||
println!("Hello World!");
|
||||
}
|
||||
19
testdata/expected/file.scala
vendored
Normal file
19
testdata/expected/file.scala
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
// Copyright 2016 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
object HelloWorld {
|
||||
def main(args: Array[String]): Unit = {
|
||||
println("Hello, world!")
|
||||
}
|
||||
}
|
||||
15
testdata/expected/file.swift
vendored
Normal file
15
testdata/expected/file.swift
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2016 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
print("Hello, world!")
|
||||
1
testdata/expected/file.txt
vendored
Normal file
1
testdata/expected/file.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
This is a text file and should not be modified.
|
||||
20
testdata/expected/file.xml
vendored
Normal file
20
testdata/expected/file.xml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
<!--
|
||||
Copyright 2016 Google Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<root>
|
||||
<one>one</one>
|
||||
<two/>
|
||||
</root>
|
||||
16
testdata/expected/file1.sh
vendored
Normal file
16
testdata/expected/file1.sh
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
# Copyright 2016 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
echo hello
|
||||
15
testdata/expected/file2.sh
vendored
Normal file
15
testdata/expected/file2.sh
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/go run prog.go $*
|
||||
# Copyright 2016 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
2
testdata/initial/file
vendored
Normal file
2
testdata/initial/file
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
This is a file without extension
|
||||
and should not be modified.
|
||||
6
testdata/initial/file.c
vendored
Normal file
6
testdata/initial/file.c
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
printf("Hello world\n");
|
||||
return 0;
|
||||
}
|
||||
7
testdata/initial/file.cc
vendored
Normal file
7
testdata/initial/file.cc
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
cout << "Hello World!";
|
||||
return 0;
|
||||
}
|
||||
7
testdata/initial/file.cpp
vendored
Normal file
7
testdata/initial/file.cpp
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
cout << "Hello World!";
|
||||
return 0;
|
||||
}
|
||||
6
testdata/initial/file.cs
vendored
Normal file
6
testdata/initial/file.cs
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
public class Hello
|
||||
{
|
||||
public static void Main() {
|
||||
System.Console.WriteLine("Hello, World!");
|
||||
}
|
||||
}
|
||||
3
testdata/initial/file.css
vendored
Normal file
3
testdata/initial/file.css
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.div {
|
||||
color: red;
|
||||
}
|
||||
3
testdata/initial/file.dart
vendored
Normal file
3
testdata/initial/file.dart
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
void main() {
|
||||
print('Hello World!');
|
||||
}
|
||||
1
testdata/initial/file.el
vendored
Normal file
1
testdata/initial/file.el
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(message "Hello world!")
|
||||
4
testdata/initial/file.erl
vendored
Normal file
4
testdata/initial/file.erl
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
-module(hello).
|
||||
-export([hello_world/0]).
|
||||
|
||||
hello_world() -> io:fwrite("hello, world\n").
|
||||
7
testdata/initial/file.go
vendored
Normal file
7
testdata/initial/file.go
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("Hello, World!")
|
||||
}
|
||||
1
testdata/initial/file.h
vendored
Normal file
1
testdata/initial/file.h
vendored
Normal file
@@ -0,0 +1 @@
|
||||
#define SOMETHING
|
||||
1
testdata/initial/file.hh
vendored
Normal file
1
testdata/initial/file.hh
vendored
Normal file
@@ -0,0 +1 @@
|
||||
#define SOMETHING
|
||||
1
testdata/initial/file.hpp
vendored
Normal file
1
testdata/initial/file.hpp
vendored
Normal file
@@ -0,0 +1 @@
|
||||
#define SOMETHING
|
||||
3
testdata/initial/file.hs
vendored
Normal file
3
testdata/initial/file.hs
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
module Main where
|
||||
|
||||
main = putStrLn "Hello, World!"
|
||||
2
testdata/initial/file.html
vendored
Normal file
2
testdata/initial/file.html
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<!doctype html>
|
||||
<p>Hello World!</p>
|
||||
7
testdata/initial/file.java
vendored
Normal file
7
testdata/initial/file.java
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
public class HelloWorld {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello, World");
|
||||
}
|
||||
|
||||
}
|
||||
3
testdata/initial/file.js
vendored
Normal file
3
testdata/initial/file.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
function dummy() {
|
||||
console.log('hello world!');
|
||||
}
|
||||
2
testdata/initial/file.lisp
vendored
Normal file
2
testdata/initial/file.lisp
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
; hello world lisp program.
|
||||
(print "Hello World")
|
||||
9
testdata/initial/file.m
vendored
Normal file
9
testdata/initial/file.m
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
int main (int argc, const char * argv[])
|
||||
{
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
NSLog (@"Hello, World!");
|
||||
[pool drain];
|
||||
return 0;
|
||||
}
|
||||
3
testdata/initial/file.md
vendored
Normal file
3
testdata/initial/file.md
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# Markdown
|
||||
|
||||
This is a markdown file and should not be modified.
|
||||
9
testdata/initial/file.mm
vendored
Normal file
9
testdata/initial/file.mm
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
int main (int argc, const char * argv[])
|
||||
{
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
NSLog (@"Hello, World!");
|
||||
[pool drain];
|
||||
return 0;
|
||||
}
|
||||
1
testdata/initial/file.php
vendored
Normal file
1
testdata/initial/file.php
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<?php phpinfo(); ?>
|
||||
17
testdata/initial/file.proto
vendored
Normal file
17
testdata/initial/file.proto
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package helloworld;
|
||||
|
||||
service Greeter {
|
||||
rpc SayHello (HelloRequest) returns (HelloReply) {}
|
||||
}
|
||||
|
||||
// The request message containing the user's name.
|
||||
message HelloRequest {
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
// The response message containing the greetings
|
||||
message HelloReply {
|
||||
string message = 1;
|
||||
}
|
||||
1
testdata/initial/file.py
vendored
Normal file
1
testdata/initial/file.py
vendored
Normal file
@@ -0,0 +1 @@
|
||||
print "Hello World!"
|
||||
3
testdata/initial/file.rs
vendored
Normal file
3
testdata/initial/file.rs
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("Hello World!");
|
||||
}
|
||||
5
testdata/initial/file.scala
vendored
Normal file
5
testdata/initial/file.scala
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
object HelloWorld {
|
||||
def main(args: Array[String]): Unit = {
|
||||
println("Hello, world!")
|
||||
}
|
||||
}
|
||||
1
testdata/initial/file.swift
vendored
Normal file
1
testdata/initial/file.swift
vendored
Normal file
@@ -0,0 +1 @@
|
||||
print("Hello, world!")
|
||||
1
testdata/initial/file.txt
vendored
Normal file
1
testdata/initial/file.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
This is a text file and should not be modified.
|
||||
4
testdata/initial/file.xml
vendored
Normal file
4
testdata/initial/file.xml
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<root>
|
||||
<one>one</one>
|
||||
<two/>
|
||||
</root>
|
||||
2
testdata/initial/file1.sh
vendored
Normal file
2
testdata/initial/file1.sh
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
echo hello
|
||||
1
testdata/initial/file2.sh
vendored
Normal file
1
testdata/initial/file2.sh
vendored
Normal file
@@ -0,0 +1 @@
|
||||
#!/usr/bin/go run prog.go $*
|
||||
Reference in New Issue
Block a user