Skip to content

Commit

Permalink
Minor changes, added plugin logo
Browse files Browse the repository at this point in the history
  • Loading branch information
mesour committed Feb 20, 2020
1 parent 5dc183c commit 189c23e
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 17 deletions.
Binary file modified intellij-nette-tester.jar
Binary file not shown.
24 changes: 12 additions & 12 deletions resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<resource-bundle>messages.TesterBundle</resource-bundle>

<description><![CDATA[
<a href="https://github.com/jiripudil/intellij-nette-tester">Github</a>
<a href="https://github.com/nette-intellij/intellij-nette-tester">Github</a>
<p>This plugin integrates <a href="https://tester.nette.org">Nette Tester</a>
into PhpStorm IDE.</p>
Expand All @@ -18,27 +18,27 @@
<li>Added run line markers to run TestCase or test methods</li>
<li>Added support for run configuration in Docker</li>
<li>Added support for Nette Tester 2.0</li>
<li>Fixed Compatibility with PHPStorm 2019.2 (<a href="https://github.com/jiripudil/intellij-nette-tester/issues/43">#43</a>)</li>
<li>Fixed bug java.lang.NullPointerException on phpstorm startup (<a href="https://github.com/jiripudil/intellij-nette-tester/issues/45">#45</a>)</li>
<li>Fixed Compatibility with PHPStorm 2019.2 (<a href="https://github.com/nette-intellij/intellij-nette-tester/issues/43">#43</a>)</li>
<li>Fixed bug java.lang.NullPointerException on phpstorm startup (<a href="https://github.com/nette-intellij/intellij-nette-tester/issues/45">#45</a>)</li>
</ul>
<h2>2.0.0-beta.3</h2>
<ul>
<li>The Create Test dialog does not autoupdate the target namespace and directory if invoked from the directory context (<a href="https://github.com/jiripudil/intellij-nette-tester/issues/26">#26</a>)</li>
<li>Added some handy inspections that make sure all your tests are actually executed (<a href="https://github.com/jiripudil/intellij-nette-tester/issues/3">#3</a>, <a href="https://github.com/jiripudil/intellij-nette-tester/issues/32">#32</a>)</li>
<li>You can right-click a single test case file to run it (<a href="https://github.com/jiripudil/intellij-nette-tester/issues/23">#23</a>)</li>
<li>Added support for <code>nette/tester@dev-master</code> for the time being (<a href="https://github.com/jiripudil/intellij-nette-tester/issues/30">#30</a>)</li>
<li>Fixed: bootstrap relative path resolves correctly if the target directory does not exist (<a href="https://github.com/jiripudil/intellij-nette-tester/issues/25">#25</a>)</li>
<li>The Create Test dialog does not autoupdate the target namespace and directory if invoked from the directory context (<a href="https://github.com/nette-intellij/intellij-nette-tester/issues/26">#26</a>)</li>
<li>Added some handy inspections that make sure all your tests are actually executed (<a href="https://github.com/nette-intellij/intellij-nette-tester/issues/3">#3</a>, <a href="https://github.com/nette-intellij/intellij-nette-tester/issues/32">#32</a>)</li>
<li>You can right-click a single test case file to run it (<a href="https://github.com/nette-intellij/intellij-nette-tester/issues/23">#23</a>)</li>
<li>Added support for <code>nette/tester@dev-master</code> for the time being (<a href="https://github.com/nette-intellij/intellij-nette-tester/issues/30">#30</a>)</li>
<li>Fixed: bootstrap relative path resolves correctly if the target directory does not exist (<a href="https://github.com/nette-intellij/intellij-nette-tester/issues/25">#25</a>)</li>
<li>Fixed: comparison failure reporting was broken on Unix systems</li>
</ul>
<h2>2.0.0-beta.2</h2>
<p>I know I said this release branch would be feature-frozen, but... well... not just yet. I'm far too excited about bringing the new features to be able to postpone them. Semver doesn't play well with the plugin's distribution channel anyway. Here they come:</p>
<ul>
<li>In the project settings, you can configure the path to your bootstrap file; it is then automatically required in the created test files (see <a href="https://github.com/jiripudil/intellij-nette-tester/issues/20">#20</a> for instructions if it does not work right away)</li>
<li>You can now right-click a single <em>test method</em> to run or debug it in isolation (<a href="https://github.com/jiripudil/intellij-nette-tester/issues/9">#9</a>)</li>
<li>Fixed: OutputHandler now recognizes and correctly parses the diff command generated on Windows (<a href="https://github.com/jiripudil/intellij-nette-tester/issues/21">#21</a>)</li>
<li>Fixed: OutputHandler no longer reports unsuccessful builds as "terminated" (<a href="https://github.com/jiripudil/intellij-nette-tester/issues/22">#22</a>)</li>
<li>In the project settings, you can configure the path to your bootstrap file; it is then automatically required in the created test files (see <a href="https://github.com/nette-intellij/intellij-nette-tester/issues/20">#20</a> for instructions if it does not work right away)</li>
<li>You can now right-click a single <em>test method</em> to run or debug it in isolation (<a href="https://github.com/nette-intellij/intellij-nette-tester/issues/9">#9</a>)</li>
<li>Fixed: OutputHandler now recognizes and correctly parses the diff command generated on Windows (<a href="https://github.com/nette-intellij/intellij-nette-tester/issues/21">#21</a>)</li>
<li>Fixed: OutputHandler no longer reports unsuccessful builds as "terminated" (<a href="https://github.com/nette-intellij/intellij-nette-tester/issues/22">#22</a>)</li>
</ul>
<h2>2.0.0-beta.1</h2>
Expand Down
25 changes: 25 additions & 0 deletions resources/META-INF/pluginIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@Tag("testerSettings")
public class TesterProjectSettings {
@NotNull private String defaultExtension = "phpt";
@NotNull private String testerVersion = "< 2.0";
@NotNull private String testerVersion = ">= 2.0";
@Nullable private String bootstrapFile;
@NotNull private List<TesterNamespaceMapping> namespaceMappings = new ArrayList<>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public void apply() {
return;
}

settings.setDefaultExtension((String) defaultExtensionCombobox.getSelectedItem());
settings.setTesterVersion((String) testerVersionCombobox.getSelectedItem());
settings.setDefaultExtension(StringUtil.notNullize((String) defaultExtensionCombobox.getSelectedItem()));
settings.setTesterVersion(StringUtil.notNullize((String) testerVersionCombobox.getSelectedItem()));
settings.setBootstrapFile(bootstrapFileField.getText());

// lists work with references which complicates detecting modification, cloning each item helps
Expand All @@ -79,7 +79,7 @@ public void reset() {
}

defaultExtensionCombobox.setSelectedItem(settings.getDefaultExtension());
testerVersionCombobox.setSelectedItem(settings.getTesterVersion());
testerVersionCombobox.setSelectedItem(settings.getTesterVersion().equals("> 2.0") ? ">= 2.0" : settings.getTesterVersion());
bootstrapFileField.setText(settings.getBootstrapFile());

// lists work with references which complicates detecting modification, cloning each item helps
Expand All @@ -97,7 +97,7 @@ private void createUIComponents() {
defaultExtensionCombobox = new ComboBox<>(new String[]{"phpt", "php"});

testerVersionLabel = new JBLabel(TesterBundle.message("settings.testerVersion"));
testerVersionCombobox = new ComboBox<>(new String[]{"< 2.0", "> 2.0"});
testerVersionCombobox = new ComboBox<>(new String[]{"< 2.0", ">= 2.0"});

bootstrapFileLabel = new JBLabel(TesterBundle.message("settings.bootstrapFile"));
bootstrapFileField = new TextFieldWithBrowseButton();
Expand Down

0 comments on commit 189c23e

Please sign in to comment.