summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-01-28 11:41:59 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-01-28 11:41:59 +0100
commit2a0329423ce4b3359842affad76c40140d426943 (patch)
tree4bdbcb23b8c49492fce0d7697893fafc9c3dfc87
parent50dc327d1aa52a785382468aaf5a5f9cae456dbf (diff)
testing: Rename integration_test.go to PACKAGE_integration_test.go
Primary motivation making them easier to find in the code editor.
-rw-r--r--cache/filecache/filecache_integration_test.go (renamed from cache/filecache/integration_test.go)0
-rw-r--r--common/htime/htime_integration_test.go (renamed from common/htime/integration_test.go)0
-rw-r--r--config/allconfig/allconfig_integration_test.go (renamed from config/allconfig/integration_test.go)0
-rw-r--r--hugolib/hugolib_integration_test.go (renamed from hugolib/integration_test.go)0
-rw-r--r--hugolib/integrationtest_builder.go1
-rw-r--r--langs/i18n/i18n_integration_test.go (renamed from langs/i18n/integration_test.go)0
-rw-r--r--markup/goldmark/codeblocks/codeblocks_integration_test.go (renamed from markup/goldmark/codeblocks/integration_test.go)0
-rw-r--r--markup/goldmark/goldmark_integration_test.go (renamed from markup/goldmark/integration_test.go)0
-rw-r--r--markup/goldmark/images/images_integration_test.go (renamed from markup/goldmark/images/integration_test.go)0
-rw-r--r--markup/highlight/highlight_integration_test.go (renamed from markup/highlight/integration_test.go)0
-rw-r--r--markup/tableofcontents/tableofcontents_integration_test.go (renamed from markup/tableofcontents/integration_test.go)0
-rw-r--r--related/related_integration_test.go (renamed from related/integration_test.go)0
-rw-r--r--resources/page/page_integration_test.go (renamed from resources/page/integration_test.go)0
-rw-r--r--resources/resource_factories/create/create_integration_test.go (renamed from resources/resource_factories/create/integration_test.go)0
-rw-r--r--resources/resource_transformers/babel/babel_integration_test.go (renamed from resources/resource_transformers/babel/integration_test.go)0
-rw-r--r--resources/resource_transformers/js/js_integration_test.go (renamed from resources/resource_transformers/js/integration_test.go)0
-rw-r--r--resources/resource_transformers/minifier/minifier_integration_test.go (renamed from resources/resource_transformers/minifier/integration_test.go)0
-rw-r--r--resources/resource_transformers/postcss/postcss_integration_test.go (renamed from resources/resource_transformers/postcss/integration_test.go)0
-rw-r--r--resources/resource_transformers/templates/templates_integration_test.go (renamed from resources/resource_transformers/templates/integration_test.go)0
-rw-r--r--resources/resource_transformers/tocss/dartsass/dartsass_integration_test.go (renamed from resources/resource_transformers/tocss/dartsass/integration_test.go)0
-rw-r--r--resources/resource_transformers/tocss/scss/scss_integration_test.go (renamed from resources/resource_transformers/tocss/scss/integration_test.go)0
-rw-r--r--resources/resources_integration_test.go (renamed from resources/integration_test.go)0
-rw-r--r--tpl/collections/collections_integration_test.go (renamed from tpl/collections/integration_test.go)0
-rw-r--r--tpl/debug/debug_integration_test.go (renamed from tpl/debug/integration_test.go)0
-rw-r--r--tpl/fmt/fmt_integration_test.go (renamed from tpl/fmt/integration_test.go)0
-rw-r--r--tpl/images/images_integration_test.go (renamed from tpl/images/integration_test.go)0
-rw-r--r--tpl/openapi/openapi3/openapi3_integration_test.go (renamed from tpl/openapi/openapi3/integration_test.go)0
-rw-r--r--tpl/os/os_integration_test.go (renamed from tpl/os/integration_test.go)0
-rw-r--r--tpl/page/page_integration_test.go (renamed from tpl/page/integration_test.go)0
-rw-r--r--tpl/partials/partials_integration_test.go (renamed from tpl/partials/integration_test.go)0
-rw-r--r--tpl/resources/resources_integration_test.go (renamed from tpl/resources/integration_test.go)0
-rw-r--r--tpl/templates/templates_integration_test.go (renamed from tpl/templates/integration_test.go)0
-rw-r--r--tpl/tplimpl/tplimpl_integration_test.go (renamed from tpl/tplimpl/integration_test.go)0
-rw-r--r--tpl/transform/transform_integration_test.go (renamed from tpl/transform/integration_test.go)0
34 files changed, 1 insertions, 0 deletions
diff --git a/cache/filecache/integration_test.go b/cache/filecache/filecache_integration_test.go
index 1e920c29f..1e920c29f 100644
--- a/cache/filecache/integration_test.go
+++ b/cache/filecache/filecache_integration_test.go
diff --git a/common/htime/integration_test.go b/common/htime/htime_integration_test.go
index 983fff1f7..983fff1f7 100644
--- a/common/htime/integration_test.go
+++ b/common/htime/htime_integration_test.go
diff --git a/config/allconfig/integration_test.go b/config/allconfig/allconfig_integration_test.go
index 4f2f1a06e..4f2f1a06e 100644
--- a/config/allconfig/integration_test.go
+++ b/config/allconfig/allconfig_integration_test.go
diff --git a/hugolib/integration_test.go b/hugolib/hugolib_integration_test.go
index 250c7bcec..250c7bcec 100644
--- a/hugolib/integration_test.go
+++ b/hugolib/hugolib_integration_test.go
diff --git a/hugolib/integrationtest_builder.go b/hugolib/integrationtest_builder.go
index 34d3c5530..3fec04df0 100644
--- a/hugolib/integrationtest_builder.go
+++ b/hugolib/integrationtest_builder.go
@@ -90,6 +90,7 @@ func TestRunning(t testing.TB, files string, opts ...TestOpt) *IntegrationTestBu
return NewIntegrationTestBuilder(cfg).Build()
}
+// In most cases you should not use this function directly, but the Test or TestRunning function.
func NewIntegrationTestBuilder(conf IntegrationTestConfig) *IntegrationTestBuilder {
// Code fences.
conf.TxtarString = strings.ReplaceAll(conf.TxtarString, "§§§", "```")
diff --git a/langs/i18n/integration_test.go b/langs/i18n/i18n_integration_test.go
index 7deae6451..7deae6451 100644
--- a/langs/i18n/integration_test.go
+++ b/langs/i18n/i18n_integration_test.go
diff --git a/markup/goldmark/codeblocks/integration_test.go b/markup/goldmark/codeblocks/codeblocks_integration_test.go
index 5597fc507..5597fc507 100644
--- a/markup/goldmark/codeblocks/integration_test.go
+++ b/markup/goldmark/codeblocks/codeblocks_integration_test.go
diff --git a/markup/goldmark/integration_test.go b/markup/goldmark/goldmark_integration_test.go
index c9c6ef338..c9c6ef338 100644
--- a/markup/goldmark/integration_test.go
+++ b/markup/goldmark/goldmark_integration_test.go
diff --git a/markup/goldmark/images/integration_test.go b/markup/goldmark/images/images_integration_test.go
index 8b0ba99c1..8b0ba99c1 100644
--- a/markup/goldmark/images/integration_test.go
+++ b/markup/goldmark/images/images_integration_test.go
diff --git a/markup/highlight/integration_test.go b/markup/highlight/highlight_integration_test.go
index b53b585c0..b53b585c0 100644
--- a/markup/highlight/integration_test.go
+++ b/markup/highlight/highlight_integration_test.go
diff --git a/markup/tableofcontents/integration_test.go b/markup/tableofcontents/tableofcontents_integration_test.go
index 87a7c0108..87a7c0108 100644
--- a/markup/tableofcontents/integration_test.go
+++ b/markup/tableofcontents/tableofcontents_integration_test.go
diff --git a/related/integration_test.go b/related/related_integration_test.go
index 2c71c1d1a..2c71c1d1a 100644
--- a/related/integration_test.go
+++ b/related/related_integration_test.go
diff --git a/resources/page/integration_test.go b/resources/page/page_integration_test.go
index 0761de249..0761de249 100644
--- a/resources/page/integration_test.go
+++ b/resources/page/page_integration_test.go
diff --git a/resources/resource_factories/create/integration_test.go b/resources/resource_factories/create/create_integration_test.go
index 61bc17adb..61bc17adb 100644
--- a/resources/resource_factories/create/integration_test.go
+++ b/resources/resource_factories/create/create_integration_test.go
diff --git a/resources/resource_transformers/babel/integration_test.go b/resources/resource_transformers/babel/babel_integration_test.go
index 44a13f103..44a13f103 100644
--- a/resources/resource_transformers/babel/integration_test.go
+++ b/resources/resource_transformers/babel/babel_integration_test.go
diff --git a/resources/resource_transformers/js/integration_test.go b/resources/resource_transformers/js/js_integration_test.go
index 304c51d33..304c51d33 100644
--- a/resources/resource_transformers/js/integration_test.go
+++ b/resources/resource_transformers/js/js_integration_test.go
diff --git a/resources/resource_transformers/minifier/integration_test.go b/resources/resource_transformers/minifier/minifier_integration_test.go
index fb4cc7a65..fb4cc7a65 100644
--- a/resources/resource_transformers/minifier/integration_test.go
+++ b/resources/resource_transformers/minifier/minifier_integration_test.go
diff --git a/resources/resource_transformers/postcss/integration_test.go b/resources/resource_transformers/postcss/postcss_integration_test.go
index 957e69403..957e69403 100644
--- a/resources/resource_transformers/postcss/integration_test.go
+++ b/resources/resource_transformers/postcss/postcss_integration_test.go
diff --git a/resources/resource_transformers/templates/integration_test.go b/resources/resource_transformers/templates/templates_integration_test.go
index 4eaac8e27..4eaac8e27 100644
--- a/resources/resource_transformers/templates/integration_test.go
+++ b/resources/resource_transformers/templates/templates_integration_test.go
diff --git a/resources/resource_transformers/tocss/dartsass/integration_test.go b/resources/resource_transformers/tocss/dartsass/dartsass_integration_test.go
index c370a1cc8..c370a1cc8 100644
--- a/resources/resource_transformers/tocss/dartsass/integration_test.go
+++ b/resources/resource_transformers/tocss/dartsass/dartsass_integration_test.go
diff --git a/resources/resource_transformers/tocss/scss/integration_test.go b/resources/resource_transformers/tocss/scss/scss_integration_test.go
index d0dd65e20..d0dd65e20 100644
--- a/resources/resource_transformers/tocss/scss/integration_test.go
+++ b/resources/resource_transformers/tocss/scss/scss_integration_test.go
diff --git a/resources/integration_test.go b/resources/resources_integration_test.go
index 9540b0976..9540b0976 100644
--- a/resources/integration_test.go
+++ b/resources/resources_integration_test.go
diff --git a/tpl/collections/integration_test.go b/tpl/collections/collections_integration_test.go
index 24727a12c..24727a12c 100644
--- a/tpl/collections/integration_test.go
+++ b/tpl/collections/collections_integration_test.go
diff --git a/tpl/debug/integration_test.go b/tpl/debug/debug_integration_test.go
index 9a36e2d12..9a36e2d12 100644
--- a/tpl/debug/integration_test.go
+++ b/tpl/debug/debug_integration_test.go
diff --git a/tpl/fmt/integration_test.go b/tpl/fmt/fmt_integration_test.go
index 40bfefcdc..40bfefcdc 100644
--- a/tpl/fmt/integration_test.go
+++ b/tpl/fmt/fmt_integration_test.go
diff --git a/tpl/images/integration_test.go b/tpl/images/images_integration_test.go
index 81f35e39c..81f35e39c 100644
--- a/tpl/images/integration_test.go
+++ b/tpl/images/images_integration_test.go
diff --git a/tpl/openapi/openapi3/integration_test.go b/tpl/openapi/openapi3/openapi3_integration_test.go
index 6914a60b3..6914a60b3 100644
--- a/tpl/openapi/openapi3/integration_test.go
+++ b/tpl/openapi/openapi3/openapi3_integration_test.go
diff --git a/tpl/os/integration_test.go b/tpl/os/os_integration_test.go
index 58e0ef70a..58e0ef70a 100644
--- a/tpl/os/integration_test.go
+++ b/tpl/os/os_integration_test.go
diff --git a/tpl/page/integration_test.go b/tpl/page/page_integration_test.go
index 632c3b64e..632c3b64e 100644
--- a/tpl/page/integration_test.go
+++ b/tpl/page/page_integration_test.go
diff --git a/tpl/partials/integration_test.go b/tpl/partials/partials_integration_test.go
index e48f3bb20..e48f3bb20 100644
--- a/tpl/partials/integration_test.go
+++ b/tpl/partials/partials_integration_test.go
diff --git a/tpl/resources/integration_test.go b/tpl/resources/resources_integration_test.go
index 02aa5d29d..02aa5d29d 100644
--- a/tpl/resources/integration_test.go
+++ b/tpl/resources/resources_integration_test.go
diff --git a/tpl/templates/integration_test.go b/tpl/templates/templates_integration_test.go
index 7e0bcc824..7e0bcc824 100644
--- a/tpl/templates/integration_test.go
+++ b/tpl/templates/templates_integration_test.go
diff --git a/tpl/tplimpl/integration_test.go b/tpl/tplimpl/tplimpl_integration_test.go
index 1b2cffce6..1b2cffce6 100644
--- a/tpl/tplimpl/integration_test.go
+++ b/tpl/tplimpl/tplimpl_integration_test.go
diff --git a/tpl/transform/integration_test.go b/tpl/transform/transform_integration_test.go
index 351420a67..351420a67 100644
--- a/tpl/transform/integration_test.go
+++ b/tpl/transform/transform_integration_test.go