Skip to content

Commit 0e7e180

Browse files
vvraskindubee
authored andcommitted
Create triggers on update if do not exist (#353)
* Create triggers on update if do not exist * Integrate unit tests into gradle build, refactor tests * Apply go fmt * Bump go client submodule, address review comments from James * Add licence headers * Download transitive dependencies for ginkgo and gomega * Tinker with go dependencies * Bump gogradle version * Hard code required transitive dependencies for ginkgo and gomega * Pin dependency version
1 parent 0015b1a commit 0e7e180

File tree

4 files changed

+306
-168
lines changed

4 files changed

+306
-168
lines changed

build.gradle

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ buildscript {
2626
}
2727

2828
plugins {
29-
id 'com.github.blindpirate.gogradle' version '0.8.1'
29+
id 'com.github.blindpirate.gogradle' version '0.10'
3030
}
3131

3232
subprojects {
@@ -65,6 +65,14 @@ dependencies {
6565
test name:'github.com/cpuguy83/go-md2man/md2man', version:'1d903dcb749992f3741d744c0f8376b4bd7eb3e1', transitive:false //, tag:'v1.0.7'
6666
test name:'github.com/davecgh/go-spew/spew', version:'346938d642f2ec3594ed81d874461961cd0faa76', transitive:false //, tag:'v1.1.0'
6767
test name:'github.com/pmezard/go-difflib/difflib', version:'792786c7400a136282c1664665ae0a8db921c6c2', transitive:false
68+
69+
test name:'github.com/onsi/ginkgo', version:'00054c0bb96fc880d4e0be1b90937fad438c5290', transitive: false
70+
test name:'github.com/hpcloud/tail',version: 'a1dbeea552b7c8df4b542c66073e393de198a800', transitive: false
71+
test name:'gopkg.in/tomb.v1', version:'c131134a1947e9afd9cecfe11f4c6dff0732ae58', transitive: false
72+
test name:'gopkg.in/fsnotify/fsnotify.v1', version:'7be54206639f256967dd82fa767397ba5f8f48f5', transitive: false
73+
test name:'github.com/onsi/gomega', version:'c893efa28eb45626cdaa76c9f653b62488858837', transitive: false
74+
test name:'golang.org/x/net/html', version:'b68f30494add4df6bd8ef5e82803f308e7f7c59c', transitive: false
75+
test name:'golang.org/x/text', version:'ece95c760240037f89ebcbdd7155ac8cb52e38fa', transitive: false
6876
}
6977
}
7078

commands/commands_suite_test.go

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one or more
3+
* contributor license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright ownership.
5+
* The ASF licenses this file to You under the Apache License, Version 2.0
6+
* (the "License"); you may not use this file except in compliance with
7+
* the License. You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
package commands
19+
20+
import (
21+
. "github.com/onsi/ginkgo"
22+
. "github.com/onsi/gomega"
23+
24+
"testing"
25+
)
26+
27+
func TestCommands(t *testing.T) {
28+
RegisterFailHandler(Fail)
29+
RunSpecs(t, "Commands Suite")
30+
}

0 commit comments

Comments
 (0)