Skip to content

Commit

Permalink
• Testing snippets
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.textmate.org/trunk/Review/Bundles/Java.tmbundle@9410 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information
ldaley committed Apr 16, 2008
1 parent 5be6a05 commit 8ba4771
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Snippets/import junit_framework_TestCase;.tmSnippet
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>import junit.framework.TestCase;
$0</string>
<key>name</key>
<string>import junit.framework.TestCase;</string>
<key>scope</key>
<string>source.java</string>
<key>tabTrigger</key>
<string>imt</string>
<key>uuid</key>
<string>D8E7B79D-ADEC-437D-BFDE-F20D5362D892</string>
</dict>
</plist>
16 changes: 16 additions & 0 deletions Snippets/test case.tmSnippet
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>public class ${1:${TM_FILENAME/(.*?)(\..+)/$1/}} extends ${2:TestCase} $0</string>
<key>name</key>
<string>test case</string>
<key>scope</key>
<string>source.java</string>
<key>tabTrigger</key>
<string>tc</string>
<key>uuid</key>
<string>D3D659F5-5318-4D0A-85E2-9A03902A1668</string>
</dict>
</plist>
16 changes: 16 additions & 0 deletions Snippets/test.tmSnippet
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>public void test${1:Name}() throws Exception $0</string>
<key>name</key>
<string>test</string>
<key>scope</key>
<string>source.java</string>
<key>tabTrigger</key>
<string>t</string>
<key>uuid</key>
<string>8B285F69-5A6A-46B4-BB31-B5F10DCB5719</string>
</dict>
</plist>

0 comments on commit 8ba4771

Please sign in to comment.