Update test data licenses to use the current year and copyright holder
This commit is contained in:
2
main.go
2
main.go
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
@@ -53,7 +53,7 @@ func TestInitial(t *testing.T) {
|
|||||||
for i := 0; i < 2; i++ {
|
for i := 0; i < 2; i++ {
|
||||||
t.Logf("run #%d", i)
|
t.Logf("run #%d", i)
|
||||||
targs := []string{"-test.run=TestInitial"}
|
targs := []string{"-test.run=TestInitial"}
|
||||||
cargs := []string{"-l", "apache", "-c", "Google Inc.", "-y", "2016", tmp}
|
cargs := []string{"-l", "apache", "-c", "Google LLC", "-y", "2018", tmp}
|
||||||
c := exec.Command(os.Args[0], append(targs, cargs...)...)
|
c := exec.Command(os.Args[0], append(targs, cargs...)...)
|
||||||
c.Env = []string{"RUNME=1"}
|
c.Env = []string{"RUNME=1"}
|
||||||
if out, err := c.CombinedOutput(); err != nil {
|
if out, err := c.CombinedOutput(); err != nil {
|
||||||
|
|||||||
2
testdata/expected/Gemfile
vendored
2
testdata/expected/Gemfile
vendored
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2016 Google Inc.
|
# Copyright 2018 Google LLC
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.Dockerfile
vendored
2
testdata/expected/file.Dockerfile
vendored
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2016 Google Inc.
|
# Copyright 2018 Google LLC
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.c
vendored
2
testdata/expected/file.c
vendored
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2016 Google Inc.
|
* Copyright 2018 Google LLC
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.cc
vendored
2
testdata/expected/file.cc
vendored
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.cpp
vendored
2
testdata/expected/file.cpp
vendored
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.cs
vendored
2
testdata/expected/file.cs
vendored
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.css
vendored
2
testdata/expected/file.css
vendored
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Copyright 2016 Google Inc.
|
* Copyright 2018 Google LLC
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.dart
vendored
2
testdata/expected/file.dart
vendored
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.el
vendored
2
testdata/expected/file.el
vendored
@@ -1,4 +1,4 @@
|
|||||||
;; Copyright 2016 Google Inc.
|
;; Copyright 2018 Google LLC
|
||||||
;;
|
;;
|
||||||
;; Licensed under the Apache License, Version 2.0 (the "License");
|
;; Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
;; you may not use this file except in compliance with the License.
|
;; you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.erl
vendored
2
testdata/expected/file.erl
vendored
@@ -1,4 +1,4 @@
|
|||||||
% Copyright 2016 Google Inc.
|
% Copyright 2018 Google LLC
|
||||||
%
|
%
|
||||||
% Licensed under the Apache License, Version 2.0 (the "License");
|
% Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
% you may not use this file except in compliance with the License.
|
% you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.go
vendored
2
testdata/expected/file.go
vendored
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.groovy
vendored
2
testdata/expected/file.groovy
vendored
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.h
vendored
2
testdata/expected/file.h
vendored
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2016 Google Inc.
|
* Copyright 2018 Google LLC
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.hh
vendored
2
testdata/expected/file.hh
vendored
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.hpp
vendored
2
testdata/expected/file.hpp
vendored
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.hs
vendored
2
testdata/expected/file.hs
vendored
@@ -1,4 +1,4 @@
|
|||||||
-- Copyright 2016 Google Inc.
|
-- Copyright 2018 Google LLC
|
||||||
--
|
--
|
||||||
-- Licensed under the Apache License, Version 2.0 (the "License");
|
-- Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
-- you may not use this file except in compliance with the License.
|
-- you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.html
vendored
2
testdata/expected/file.html
vendored
@@ -1,6 +1,6 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2016 Google Inc.
|
Copyright 2018 Google LLC
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.java
vendored
2
testdata/expected/file.java
vendored
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.js
vendored
2
testdata/expected/file.js
vendored
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Copyright 2016 Google Inc.
|
* Copyright 2018 Google LLC
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.lisp
vendored
2
testdata/expected/file.lisp
vendored
@@ -1,4 +1,4 @@
|
|||||||
;; Copyright 2016 Google Inc.
|
;; Copyright 2018 Google LLC
|
||||||
;;
|
;;
|
||||||
;; Licensed under the Apache License, Version 2.0 (the "License");
|
;; Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
;; you may not use this file except in compliance with the License.
|
;; you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.m
vendored
2
testdata/expected/file.m
vendored
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.mm
vendored
2
testdata/expected/file.mm
vendored
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.php
vendored
2
testdata/expected/file.php
vendored
@@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.proto
vendored
2
testdata/expected/file.proto
vendored
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.py
vendored
2
testdata/expected/file.py
vendored
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2016 Google Inc.
|
# Copyright 2018 Google LLC
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.rb
vendored
2
testdata/expected/file.rb
vendored
@@ -1,5 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
# Copyright 2016 Google Inc.
|
# Copyright 2018 Google LLC
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.rs
vendored
2
testdata/expected/file.rs
vendored
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.scala
vendored
2
testdata/expected/file.scala
vendored
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.swift
vendored
2
testdata/expected/file.swift
vendored
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.tf
vendored
2
testdata/expected/file.tf
vendored
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Copyright 2016 Google Inc.
|
* Copyright 2018 Google LLC
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file.xml
vendored
2
testdata/expected/file.xml
vendored
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright 2016 Google Inc.
|
Copyright 2018 Google LLC
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file1.sh
vendored
2
testdata/expected/file1.sh
vendored
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Copyright 2016 Google Inc.
|
# Copyright 2018 Google LLC
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file2.sh
vendored
2
testdata/expected/file2.sh
vendored
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/go run prog.go $*
|
#!/usr/bin/go run prog.go $*
|
||||||
# Copyright 2016 Google Inc.
|
# Copyright 2018 Google LLC
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
testdata/expected/file2.xml
vendored
2
testdata/expected/file2.xml
vendored
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2016 Google Inc.
|
Copyright 2018 Google LLC
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
|||||||
2
tmpl.go
2
tmpl.go
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2016 Google Inc.
|
// Copyright 2018 Google LLC
|
||||||
//
|
//
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
// you may not use this file except in compliance with the License.
|
// you may not use this file except in compliance with the License.
|
||||||
|
|||||||
Reference in New Issue
Block a user