summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-15 13:33:53 -0400
committerPietro Gagliardi <[email protected]>2014-10-15 13:33:53 -0400
commite78624f057c6c9a7d4d6f04da0130d9d524bce9d (patch)
treefb60a72d101fa62717c8d188eac65eb39717926b
parent0e32aff30b87b7dc355c825949e6096ca90e7165 (diff)
Removed the dummy test program.
-rw-r--r--newctrl/zz_test.go36
1 files changed, 0 insertions, 36 deletions
diff --git a/newctrl/zz_test.go b/newctrl/zz_test.go
deleted file mode 100644
index a1537fd..0000000
--- a/newctrl/zz_test.go
+++ /dev/null
@@ -1,36 +0,0 @@
-// 14 october 2014
-
-package ui
-
-import "flag"
-import "testing"
-
-var twindow *window
-
-func maketw(done chan struct{}) {
- button := newButton("Greet")
- twindow = newWindow("Hello", 200, 100, button)
- twindow.OnClosing(func() bool {
- Stop()
- return true
- })
- twindow.Show()
-}
-
-// because Cocoa hates being run off the main thread, even if it's run exclusively off the main thread
-func init() {
- flag.Parse()
- go func() {
- done := make(chan struct{})
- Do(func() { maketw(done) })
- <-done
- }()
- err := Go()
- if err != nil {
- panic(err)
- }
-}
-
-func TestDummy(t *testing.T) {
- // do nothing
-}