Permalink
Browse files

Added ctest (Create Unit Test) snippet

  • Loading branch information...
shadowhand committed Mar 3, 2011
1 parent 50a18e5 commit 7ee8946540005896f1915f2e3afedb0f1bce1f38
Showing with 22 additions and 0 deletions.
  1. +21 −0 Snippets/Create Test.tmSnippet
  2. +1 −0 info.plist
@@ -0,0 +1,21 @@
+<?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>class ${1:Class}Test extends Unittest_TestCase {
+
+ ${2}
+
+} // End Test ${3:$1}
+</string>
+ <key>name</key>
+ <string>Create Test</string>
+ <key>scope</key>
+ <string>source.php</string>
+ <key>tabTrigger</key>
+ <string>ctest</string>
+ <key>uuid</key>
+ <string>8ABB696F-587F-49A5-BD3A-34279D389E19</string>
+</dict>
+</plist>
View
@@ -118,6 +118,7 @@
<string>7EFEBEFC-0AEE-4C93-BE6F-6A62821D0DED</string>
<string>7CD381E0-C8FF-498C-BB68-9A4519FBE9F7</string>
<string>A6EA093A-28DE-499B-96A2-6BA8914B60D9</string>
+ <string>8ABB696F-587F-49A5-BD3A-34279D389E19</string>
<string>58751859-F62D-43A2-8B01-0869825AF71B</string>
<string>1093440A-DB51-45D3-ADCA-B0427C6FB2AD</string>
<string>7663FB8B-27B7-4E19-8587-2D41B6599458</string>

0 comments on commit 7ee8946

Please sign in to comment.