MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / TEST_F

Function TEST_F

test/text_to_binary.debug_test.cpp:81–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 ::testing::ValuesIn(kLanguageCases));
80
81TEST_F(OpSourceTest, WrongLanguage) {
82 EXPECT_THAT(CompileFailure("OpSource xxyyzz 12345"),
83 Eq("Invalid source language 'xxyyzz'."));
84}
85
86TEST_F(TextToBinaryTest, OpSourceAcceptsOptionalFileId) {
87 // In the grammar, the file id is an OperandOptionalId.

Callers

nothing calls this directly

Calls 2

MakeInstructionFunction · 0.85
MakeVectorFunction · 0.85

Tested by

no test coverage detected