// Code generated by "go.opentelemetry.io/collector/cmd/builder". DO NOT EDIT.

package main

import (
	"testing"

	"github.com/stretchr/testify/assert"

	"go.opentelemetry.io/collector/config/configtest"
)

func TestValidateConfigs(t *testing.T) {
	factories, err := components()
	assert.NoError(t, err)

	for _, factory := range factories.Receivers {
		assert.NoError(t, configtest.CheckConfigStruct(factory.CreateDefaultConfig()))
	}
	for _, factory := range factories.Processors {
		assert.NoError(t, configtest.CheckConfigStruct(factory.CreateDefaultConfig()))
	}
	for _, factory := range factories.Exporters {
		assert.NoError(t, configtest.CheckConfigStruct(factory.CreateDefaultConfig()))
	}
	for _, factory := range factories.Extensions {
		assert.NoError(t, configtest.CheckConfigStruct(factory.CreateDefaultConfig()))
	}
}
