#include "src/tint/lang/wgsl/resolver/resolver.h"
#include "gmock/gmock.h"
#include "src/tint/lang/core/type/storage_texture.h"
#include "src/tint/lang/core/type/texture_dimension.h"
#include "src/tint/lang/wgsl/resolver/resolver_helper_test.h"
namespace tint::resolver {
namespace {
usingnamespacetint::core::fluent_types;
usingnamespacetint::core::number_suffixes;
ResolverAssignmentValidationTest;
TEST_F(ResolverAssignmentValidationTest, ReadOnlyBuffer) { … }
TEST_F(ResolverAssignmentValidationTest, AssignIncompatibleTypes) { … }
TEST_F(ResolverAssignmentValidationTest, AssignArraysWithDifferentSizeExpressions_Pass) { … }
TEST_F(ResolverAssignmentValidationTest, AssignArraysWithDifferentSizeExpressions_Fail) { … }
TEST_F(ResolverAssignmentValidationTest, AssignCompatibleTypesInBlockStatement_Pass) { … }
TEST_F(ResolverAssignmentValidationTest, AssignIncompatibleTypesInBlockStatement_Fail) { … }
TEST_F(ResolverAssignmentValidationTest, AssignIncompatibleTypesInNestedBlockStatement_Fail) { … }
TEST_F(ResolverAssignmentValidationTest, AssignCompatibleTypes_Pass) { … }
TEST_F(ResolverAssignmentValidationTest, AssignCompatibleTypesThroughAlias_Pass) { … }
TEST_F(ResolverAssignmentValidationTest, AssignCompatibleTypesInferRHSLoad_Pass) { … }
TEST_F(ResolverAssignmentValidationTest, AssignThroughPointer_Pass) { … }
TEST_F(ResolverAssignmentValidationTest, AssignMaterializedThroughPointer_Pass) { … }
TEST_F(ResolverAssignmentValidationTest, AssignToScalar_Fail) { … }
TEST_F(ResolverAssignmentValidationTest, AssignToOverride_Fail) { … }
TEST_F(ResolverAssignmentValidationTest, AssignToLet_Fail) { … }
TEST_F(ResolverAssignmentValidationTest, AssignToConst_Fail) { … }
TEST_F(ResolverAssignmentValidationTest, AssignToParam_Fail) { … }
TEST_F(ResolverAssignmentValidationTest, AssignToLetMember_Fail) { … }
TEST_F(ResolverAssignmentValidationTest, AssignNonConstructible_Handle) { … }
TEST_F(ResolverAssignmentValidationTest, AssignNonConstructible_Atomic) { … }
TEST_F(ResolverAssignmentValidationTest, AssignNonConstructible_RuntimeArray) { … }
TEST_F(ResolverAssignmentValidationTest, AssignToPhony_NonConstructibleStruct_Fail) { … }
TEST_F(ResolverAssignmentValidationTest, AssignToPhony_DynamicArray_Fail) { … }
TEST_F(ResolverAssignmentValidationTest, AssignToPhony_Pass) { … }
}
}