-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunit_test.snippet
53 lines (42 loc) · 1.01 KB
/
unit_test.snippet
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>Unit Test</Title>
<Author />
<Description>A Unit Test</Description>
<HelpUrl />
<SnippetTypes />
<Keywords />
<Shortcut>unitt</Shortcut>
</Header>
<Snippet>
<References />
<Imports />
<Declarations>
<Literal Editable="true">
<ID>ClassName</ID>
<Type />
<ToolTip />
<Default>ClassName</Default>
<Function />
</Literal>
</Declarations>
<Code Language="CPP"><![CDATA[#include "StdAfx.h"
#include <AzTest\AzTest.h>
class $ClassName$Tests
: public ::testing::Test {
public:
virtual void SetUp() {
}
$ClassName$Tests() {
}
~$ClassName$Tests() {
}
};
TEST_F($ClassName$Tests, $ClassName$_First) {
}
AZ_UNIT_TEST_HOOK();]]></Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>