Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
4ca8f21e
Commit
4ca8f21e
authored
Nov 15, 2018
by
jiangpeng
Committed by
vipwzw
Nov 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fmt && lint
parent
c1fe3337
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
21 additions
and
17 deletions
+21
-17
build.sh
build/autotest/build.sh
+3
-7
createutxosCase.go
plugin/dapp/privacy/autotest/createutxosCase.go
+2
-1
privToPrivCase.go
plugin/dapp/privacy/autotest/privToPrivCase.go
+2
-1
privToPubCase.go
plugin/dapp/privacy/autotest/privToPubCase.go
+2
-1
privacy.go
plugin/dapp/privacy/autotest/privacy.go
+2
-1
pubToPriv.go
plugin/dapp/privacy/autotest/pubToPriv.go
+2
-1
token.go
plugin/dapp/token/autotest/token.go
+2
-1
buyCase.go
plugin/dapp/trade/autotest/buyCase.go
+2
-1
sellCase.go
plugin/dapp/trade/autotest/sellCase.go
+2
-1
trade.go
plugin/dapp/trade/autotest/trade.go
+2
-2
No files found.
build/autotest/build.sh
View file @
4ca8f21e
...
...
@@ -5,30 +5,26 @@ set -o pipefail
#set -o verbose
#set -o xtrace
sedfix
=
""
if
[
"
$(
uname
)
"
==
"Darwin"
]
;
then
sedfix
=
".bak"
fi
AutoTestMain
=
"../../vendor/github.com/33cn/chain33/cmd/autotest/main.go"
ImportPlugin
=
'"github.com/33cn/plugin/plugin"'
ImportPlugin
=
"
\"
github.com/33cn/plugin/plugin
\"
"
function
build_auto_test
()
{
rm
-rf
*
.go
cp
"
${
AutoTestMain
}
"
./
sed
-i
$sedfix
'/^package/a import _ '
${
ImportPlugin
}
''
*
.go
sed
-i
$sedfix
"/^package/a import _
${
ImportPlugin
}
"
main
.go
go build
-v
-i
-o
autotest
}
function
clean_auto_test
()
{
rm
-
rf
*
.go
rm
-
f
../autotest/main
.go
}
trap
"clean_auto_test"
INT TERM EXIT
build_auto_test
plugin/dapp/privacy/autotest/createutxosCase.go
View file @
4ca8f21e
...
...
@@ -4,8 +4,9 @@
package
autotest
import
(
.
"github.com/33cn/chain33/cmd/autotest/types"
"strconv"
.
"github.com/33cn/chain33/cmd/autotest/types"
)
//pub2priv case
...
...
plugin/dapp/privacy/autotest/privToPrivCase.go
View file @
4ca8f21e
...
...
@@ -4,8 +4,9 @@
package
autotest
import
(
.
"github.com/33cn/chain33/cmd/autotest/types"
"strconv"
.
"github.com/33cn/chain33/cmd/autotest/types"
)
//pub2priv case
...
...
plugin/dapp/privacy/autotest/privToPubCase.go
View file @
4ca8f21e
...
...
@@ -4,8 +4,9 @@
package
autotest
import
(
.
"github.com/33cn/chain33/cmd/autotest/types"
"strconv"
.
"github.com/33cn/chain33/cmd/autotest/types"
)
//pub2priv case
...
...
plugin/dapp/privacy/autotest/privacy.go
View file @
4ca8f21e
...
...
@@ -4,10 +4,11 @@
package
autotest
import
(
"reflect"
.
"github.com/33cn/chain33/cmd/autotest/types"
.
"github.com/33cn/chain33/system/dapp/coins/autotest"
.
"github.com/33cn/plugin/plugin/dapp/token/autotest"
"reflect"
)
type
privacyAutoTest
struct
{
...
...
plugin/dapp/privacy/autotest/pubToPriv.go
View file @
4ca8f21e
...
...
@@ -4,8 +4,9 @@
package
autotest
import
(
.
"github.com/33cn/chain33/cmd/autotest/types"
"strconv"
.
"github.com/33cn/chain33/cmd/autotest/types"
)
//pub2priv case
...
...
plugin/dapp/token/autotest/token.go
View file @
4ca8f21e
...
...
@@ -4,9 +4,10 @@
package
autotest
import
(
"reflect"
.
"github.com/33cn/chain33/cmd/autotest/types"
.
"github.com/33cn/chain33/system/dapp/coins/autotest"
"reflect"
)
type
tokenAutoTest
struct
{
...
...
plugin/dapp/trade/autotest/buyCase.go
View file @
4ca8f21e
...
...
@@ -6,8 +6,9 @@ package autotest
import
(
"errors"
"fmt"
.
"github.com/33cn/chain33/cmd/autotest/types"
"strconv"
.
"github.com/33cn/chain33/cmd/autotest/types"
)
type
BuyCase
struct
{
...
...
plugin/dapp/trade/autotest/sellCase.go
View file @
4ca8f21e
...
...
@@ -4,8 +4,9 @@
package
autotest
import
(
.
"github.com/33cn/chain33/cmd/autotest/types"
"strconv"
.
"github.com/33cn/chain33/cmd/autotest/types"
)
type
SellCase
struct
{
...
...
plugin/dapp/trade/autotest/trade.go
View file @
4ca8f21e
...
...
@@ -4,11 +4,11 @@
package
autotest
import
(
"reflect"
.
"github.com/33cn/chain33/cmd/autotest/types"
.
"github.com/33cn/chain33/system/dapp/coins/autotest"
.
"github.com/33cn/plugin/plugin/dapp/token/autotest"
"reflect"
)
type
tradeAutoTest
struct
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment