Skip to content

Commit

Permalink
Updates README and plugin.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Henry committed Feb 26, 2018
1 parent a1fcd51 commit 6e25d0a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
10 changes: 6 additions & 4 deletions MockGenerator/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<idea-plugin>
<id>codes.seanhenry.mockgenerator</id>
<name>Swift Mock Generator for AppCode</name>
<version>10</version>
<version>11</version>
<vendor email="hello@seanhenry.codes" url="https://github.com/seanhenry/MockGenerator">Sean Henry</vendor>

<description><![CDATA[
Expand All @@ -25,8 +25,10 @@
<li>Stub an error for your mock method to throw.</li>
<li>Supports throwing initializers.</li>
<li>Supports throwing closures.</li>
<li>Avoids naming clashes from overloaded methods.</li>
<li>Generates generic mocks from protocols with associated types.</li>
<li>Captures invoked generic parameters.</li>
<li>Captures invoked generic return values.</li>
<li>Avoids naming clashes from overloaded methods.</li>
<li>Supports parameter type-annotation attributes and `inout`.</li>
<li>Respects the mock scope and generates `public` and `open` methods and properties.</li>
<li>Generate mock inheriting from items in 3rd party frameworks.</li>
Expand Down Expand Up @@ -64,8 +66,8 @@ class MockDataStore: DataStore {

<change-notes><![CDATA[
<ul>
<li>Resolves typealiases that reference another typealias correctly.</li>
<li>Supports initialisers declared in protocols.</li>
<li>Supports capturing of generic method parameters.</li>
<li>Supports capturing of generic method return values.</li>
</ul>
]]>
</change-notes>
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,12 @@ To regenerate the mock, place the cursor anywhere inside the mock and select ‘
| Stub an error for your mock method to throw. ||
| Supports throwing initializers. ||
| Supports throwing closures. ||
| **Generics** |
| Generates generic mocks from protocols with associated types.||
| Captures invoked generic parameters. ||
| Captures invoked generic return values. ||
| **Scope, keywords, and more** |
| Avoids naming clashes from overloaded methods.||
| Generates generic mocks from protocols with associated types.||
| Supports parameter type-annotation attributes and `inout`.||
| Respects the mock scope and generates `public` and `open` methods and properties.|✅(protocols only)|
| Generate mock inheriting from items in 3rd party frameworks.|✅(protocols only)|
Expand Down

0 comments on commit 6e25d0a

Please sign in to comment.