<commit_before>package google

import (
	"os"
	"testing"

	"github.com/hashicorp/terraform/helper/schema"
	"github.com/hashicorp/terraform/terraform"
)

var testAccProviders map[string]terraform.ResourceProvider
var testAccProvider *schema.Provider

func init() {
	testAccProvider = Provider()
	testAccProviders = map[string]terraform.ResourceProvider{
		"google": testAccProvider,
	}
}

func TestProvider(t *testing.T) {
	if err := Provider().InternalValidate(); err != nil {
		t.Fatalf("err: %s", err)
	}
}

func TestProvider_impl(t *testing.T) {
	var _ terraform.ResourceProvider = Provider()
}

func testAccPreCheck(t *testing.T) {
	if v := os.Getenv("GOOGLE_ACCOUNT_FILE"); v == "" {
		t.Fatal("GOOGLE_ACCOUNT_FILE must be set for acceptance tests")
	}

	if v := os.Getenv("GOOGLE_CLIENT_FILE"); v == "" {
		t.Fatal("GOOGLE_CLIENT_FILE must be set for acceptance tests")
	}
}<commit_msg>Require project id as otherwise it will fail with cryptic error<commit_after>package google

import (
	"os"
	"testing"

	"github.com/hashicorp/terraform/helper/schema"
	"github.com/hashicorp/terraform/terraform"
)

var testAccProviders map[string]terraform.ResourceProvider
var testAccProvider *schema.Provider

func init() {
	testAccProvider = Provider()
	testAccProviders = map[string]terraform.ResourceProvider{
		"google": testAccProvider,
	}
}

func TestProvider(t *testing.T) {
	if err := Provider().InternalValidate(); err != nil {
		t.Fatalf("err: %s", err)
	}
}

func TestProvider_impl(t *testing.T) {
	var _ terraform.ResourceProvider = Provider()
}

func testAccPreCheck(t *testing.T) {
	if v := os.Getenv("GOOGLE_ACCOUNT_FILE"); v == "" {
		t.Fatal("GOOGLE_ACCOUNT_FILE must be set for acceptance tests")
	}

	if v := os.Getenv("GOOGLE_CLIENT_FILE"); v == "" {
		t.Fatal("GOOGLE_CLIENT_FILE must be set for acceptance tests")
	}

	if v := os.Getenv("GOOGLE_PROJECT"); v == "" {
		t.Fatal("GOOGLE_PROJECT must be set for acceptance tests")
	}
}
{'fraction_non_alphanumeric': 0.13713405238828968, 'fraction_numerical': 0.0, 'mean_word_length': 5.0875, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4879751', 'n_tokens_mistral': 708, 'n_tokens_neox': 691, 'n_words': 147}