Skip to content

Commit

Permalink
1.10-unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
starcwang committed Mar 27, 2021
1 parent df0378f commit e141452
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 47 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# 交流Q群:733688083

## 介绍
快速生成变量的常量代码
- 快速生成变量的常量代码
- 快速生成单元测试代码

## Gif图
![说明](./doc/1.gif)
Expand All @@ -14,4 +15,6 @@ IDEA插件市场搜索 `Easy Generate` 即可
- 使用快捷键调出代码生成Generate(同生成Getter、Setter的快捷键),或者 右键->Generate...,选择"Field Name Constants"。生成变量的常量。
- win: Alt+Insert
- mac: control+n

- 使用快捷键调出代码生成Generate(同生成Getter、Setter的快捷键),或者 右键->Generate...,选择"Generate Unit Test Template"。生成单元测试模板。
- win: Alt+Insert
- mac: control+n
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group 'com.star.easygenerate'
version '1.01'
version '1.10'

repositories {
mavenCentral()
Expand All @@ -29,6 +29,10 @@ intellij {

patchPluginXml {
changeNotes """
<h3>v1.10 create unit test</h3>
<ul>
<li>support generate constant for field</li>
</ul>
<h3>v1.0 first version</h3>
<ul>
<li>support generate constant for field</li>
Expand Down
43 changes: 0 additions & 43 deletions src/main/java/com/star/easygenerate/service/VelocityService.java

This file was deleted.

6 changes: 5 additions & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@
<description><![CDATA[
This plugin can help you to generate java code quickly. <br>
1. add "Field Name Constants" button in Generate window, which can generate field constants quickly.<br>
2. add "Generate Unit Test Template" button in Generate window, which can generate unit test quickly.<br>
<a href="https://github.com/starcwang/easy_generate">easy_generate source code and document</a><br>
<img src="https://raw.githubusercontent.com/starcwang/easy_generate/main/doc/1.gif" /><br>
<h3>v1.10 create unit test template</h3>
<ul>
<li>support generate unit test template</li>
</ul>
<h3>v1.01 first version</h3>
<ul>
<li>support generate constant for field</li>
Expand All @@ -24,7 +29,6 @@

<extensions defaultExtensionNs="com.intellij">
<!-- Add your extensions here -->
<applicationService serviceImplementation="com.star.easygenerate.service.VelocityService"/>

</extensions>

Expand Down

0 comments on commit e141452

Please sign in to comment.