Skip to content

Instantly share code, notes, and snippets.

@gistsobo
Created March 1, 2013 10:00
Show Gist options
  • Save gistsobo/5063665 to your computer and use it in GitHub Desktop.
Save gistsobo/5063665 to your computer and use it in GitHub Desktop.
create googletest testcase
<snippet>
<content><![CDATA[
TEST${1}${1/(_)|.*/(?1:F)/}(${2:SuiteName}, ${3:TestName})
{
// Setup
${4}
// Execute
// Verify
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>gtestcase</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.c, source.objc, source.c++, source.objc++</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment