MCPcopy Create free account
hub / github.com/KhronosGroup/glslang / TEST_F

Function TEST_F

gtests/BuiltInResource.FromFile.cpp:47–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45using DefaultResourceTest = GlslangTest<::testing::Test>;
46
47TEST_F(DefaultResourceTest, FromFile)
48{
49 const std::string path = GlobalTestSettings.testRoot + "/baseResults/test.conf";
50 std::string expectedConfig;
51 tryLoadFile(path, "expected resource limit", &expectedConfig);
52 const std::string realConfig = GetDefaultTBuiltInResourceString();
53 ASSERT_EQ(expectedConfig, realConfig);
54}
55
56TEST_F(DefaultResourceTest, UnrecognizedLimit)
57{

Callers

nothing calls this directly

Calls 4

DecodeResourceLimitsFunction · 0.85
c_strMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected