Created
March 1, 2013 10:00
-
-
Save gistsobo/5063665 to your computer and use it in GitHub Desktop.
create googletest testcase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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