forked from meritt/phpunit-tmbundle
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fixed broken Info.plist file, added snippets for data provider and ex…
…pected exception tests, and organised the bundle menu into sensible sections.
- Loading branch information
1 parent
d8fcb35
commit 0153ebd
Showing
4 changed files
with
111 additions
and
26 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>/** | ||
* @dataProvider ${1:dataProviderMethodName} | ||
*/ | ||
public function test${2:TestName}( ${3:arguments} ) { | ||
$0 | ||
}</string> | ||
<key>name</key> | ||
<string>test (data provider)</string> | ||
<key>scope</key> | ||
<string>source.php</string> | ||
<key>tabTrigger</key> | ||
<string>dptest</string> | ||
<key>uuid</key> | ||
<string>46BF4991-44F3-4E95-9055-66E089A159EA</string> | ||
</dict> | ||
</plist> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>/** | ||
* @expectedException ${1:ExceptionClassName} | ||
*/ | ||
public function test${2:TestName}() { | ||
$0 | ||
}</string> | ||
<key>name</key> | ||
<string>test (expected exception)</string> | ||
<key>scope</key> | ||
<string>source.php</string> | ||
<key>tabTrigger</key> | ||
<string>extest</string> | ||
<key>uuid</key> | ||
<string>87754C58-78F6-4BD3-9FD4-BC6B49180863</string> | ||
</dict> | ||
</plist> |
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
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