From 85f96fdc86e3a10b6d7c5930e639907fbae6e276 Mon Sep 17 00:00:00 2001 From: takafk9 Date: Wed, 5 Jun 2019 17:06:30 +0900 Subject: [PATCH 1/2] =?UTF-8?q?test=E3=81=BE=E3=81=A7=E6=9B=B8=E3=81=84?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../takafk9/cmd/convert-img-cli/.go-version | 1 + kadai1/takafk9/cmd/convert-img-cli/cli.go | 107 ++++++++++++++++++ .../takafk9/cmd/convert-img-cli/cli_test.go | 102 +++++++++++++++++ kadai1/takafk9/cmd/convert-img-cli/main.go | 10 ++ .../convert-img-cli/testdata/jpeg-image.jpeg | Bin 0 -> 5486 bytes 5 files changed, 220 insertions(+) create mode 100644 kadai1/takafk9/cmd/convert-img-cli/.go-version create mode 100644 kadai1/takafk9/cmd/convert-img-cli/cli.go create mode 100644 kadai1/takafk9/cmd/convert-img-cli/cli_test.go create mode 100644 kadai1/takafk9/cmd/convert-img-cli/main.go create mode 100644 kadai1/takafk9/cmd/convert-img-cli/testdata/jpeg-image.jpeg diff --git a/kadai1/takafk9/cmd/convert-img-cli/.go-version b/kadai1/takafk9/cmd/convert-img-cli/.go-version new file mode 100644 index 0000000..89c881b --- /dev/null +++ b/kadai1/takafk9/cmd/convert-img-cli/.go-version @@ -0,0 +1 @@ +1.12.4 diff --git a/kadai1/takafk9/cmd/convert-img-cli/cli.go b/kadai1/takafk9/cmd/convert-img-cli/cli.go new file mode 100644 index 0000000..1856647 --- /dev/null +++ b/kadai1/takafk9/cmd/convert-img-cli/cli.go @@ -0,0 +1,107 @@ +package main + +import ( + "flag" + "fmt" + "github.com/takafk9/dojo5/kadai1/takafk9/converter" + "io" +) + +const ( + ExitCodeOK = iota + ExitCodeExpectedError + ExitCodeUnexpectedError + ExitCodeInvalidArgsError + ExitCodeParseFlagsError + ExitCodeInvalidFlagError +) + +var usage = `Usage: convert-img-cli [options...] PATH + +converter-cli is a command line tool to convert image extension + +OPTIONS: + --from value, -f value specifies a image extension converted from (default: .jpg) + --to value, -t value specifies a image extension converted to (default: .png) + --help, -h prints out help +` + +const Name = "convert-img-cli" + +var exts = [4]string{".gif", ".jpeg", ".jpg", ".png"} + +type CLI struct { + outStream, errStream io.Writer +} + +func (cli *CLI) Run(args []string) int { + var from string + var to string + + flags := flag.NewFlagSet(Name, flag.ContinueOnError) + flags.Usage = func() { + fmt.Fprint(cli.outStream, usage) + } + + flags.StringVar(&from, "from", ".jpg", "") + flags.StringVar(&from, "f", ".jpg", "") + + flags.StringVar(&to, "to", ".png", "") + flags.StringVar(&to, "t", ".png", "") + + if err := flags.Parse(args[1:]); err != nil { + return ExitCodeParseFlagsError + } + + if !validateExt(from) { + fmt.Fprintf(cli.errStream, "Failed to set up convert-img-cli: invalid extension `%s` is given for --from flag\n"+ + "Please choose an extension from one of those: %v\n\n", from, exts) + return ExitCodeInvalidFlagError + } + + if !validateExt(to) { + fmt.Fprintf(cli.errStream, "Failed to set up convert-img-cli: invalid extension `%s` is given for --to flag\n"+ + "Please choose an extension from one of those: %v\n\n", to, exts) + return ExitCodeInvalidFlagError + } + + path := flags.Args() + if len(path) != 1 { + fmt.Fprintf(cli.errStream, "Failed to set up convert-img-cli: invalid argument\n"+ + "Please specify the exact one path to a directly or a file\n\n") + return ExitCodeInvalidArgsError + } + + files, err := converter.Convert(from, to, path[0]) + if err != nil { + if _, ok := err.(converter.Managed); ok { + fmt.Fprintf(cli.errStream, "Failed to execute convert-img-cli\n"+ + "%s\n\n", err) + return ExitCodeExpectedError + } + fmt.Fprintf(cli.errStream, `conver-img-cli failed because of the following error. + +%s + +You might encounter a bug with converter-cli, so please report it to https://github.com/xxx/xxxx + +`, err) + + return ExitCodeUnexpectedError + } + + fmt.Fprintf(cli.outStream, "convert-img-cli successfully converted following files to `%s`.\n", to) + fmt.Fprintf(cli.outStream, "%s\n\n", files) + return ExitCodeOK + +} + +func validateExt(ext string) bool { + for _, e := range exts { + if ext == e { + return true + } + + } + return false +} diff --git a/kadai1/takafk9/cmd/convert-img-cli/cli_test.go b/kadai1/takafk9/cmd/convert-img-cli/cli_test.go new file mode 100644 index 0000000..1498ad4 --- /dev/null +++ b/kadai1/takafk9/cmd/convert-img-cli/cli_test.go @@ -0,0 +1,102 @@ +package main + +import ( + "bytes" + "os" + "path/filepath" + "strings" + "testing" +) + +func TestCLI(t *testing.T) { + cases := []struct { + command string + expectedOutStream string + expectedErrStream string + expectedExitCode int + }{ + { + command: "convert-img-cli", + expectedOutStream: "", + expectedErrStream: "Failed to set up convert-img-cli: invalid argument\nPlease specify the exact one path to a directly or a file\n\n", + expectedExitCode: ExitCodeInvalidArgsError, + }, + { + command: "convert-img-cli testdata testdata2", + expectedOutStream: "", + expectedErrStream: "Failed to set up convert-img-cli: invalid argument\nPlease specify the exact one path to a directly or a file\n\n", + expectedExitCode: ExitCodeInvalidArgsError, + }, + { + command: "convert-img-cli --from .svg", + expectedOutStream: "", + expectedErrStream: "Failed to set up convert-img-cli: invalid extension `.svg` is given for --from flag\nPlease choose an extension from one of those: [.gif .jpeg .jpg .png]\n\n", + expectedExitCode: ExitCodeInvalidFlagError, + }, + { + command: "convert-img-cli --to .svg", + expectedOutStream: "", + expectedErrStream: "Failed to set up convert-img-cli: invalid extension `.svg` is given for --to flag\nPlease choose an extension from one of those: [.gif .jpeg .jpg .png]\n\n", + expectedExitCode: ExitCodeInvalidFlagError, + }, + { + command: "convert-img-cli testdata", + expectedOutStream: "", + expectedErrStream: "Failed to execute convert-img-cli\ncould not find files with the specified extension. path: testdata, extension: .jpg\n\n", + expectedExitCode: ExitCodeExpectedError, + }, + { + command: "convert-img-cli testdata/unknown.jpg", + expectedOutStream: "", + expectedErrStream: "Failed to execute convert-img-cli\nlstat testdata/unknown.jpg: no such file or directory\n\n", + expectedExitCode: ExitCodeExpectedError, + }, + { + command: "convert-img-cli --from .jpeg testdata", + expectedOutStream: "convert-img-cli successfully converted following files to `.png`.\n[testdata/jpeg-image.jpeg]\n\n", + expectedErrStream: "", + expectedExitCode: ExitCodeOK, + }, + } + + for i, ca := range cases { + outStream := &bytes.Buffer{} + errStream := &bytes.Buffer{} + + cli := CLI{outStream: outStream, errStream: errStream} + args := strings.Split(ca.command, " ") + + if got := cli.Run(args); got != ca.expectedExitCode { + t.Errorf("#%d %q exits with %d, want %d", i, ca.command, got, ca.expectedExitCode) + } + + if got := outStream.String(); got != ca.expectedOutStream { + t.Errorf("#%d Unexpected outStream has returned: want: %s, got: %s", i, ca.expectedOutStream, got) + } + + if got := errStream.String(); got != ca.expectedErrStream { + t.Errorf("#%d Unexpected errStream has returned: want: %s, got: %s", i, ca.expectedErrStream, got) + } + + remove(t) + } + +} + +func remove(t *testing.T) { + t.Helper() + + err := filepath.Walk("testdata", func(path string, info os.FileInfo, err error) error { + if err != nil { + return err + } + if path != "testdata/jpeg-image.jpeg" && path != "testdata" { + return os.Remove(path) + } + return nil + }) + + if err != nil { + t.Errorf("failed to cleanup testdata: %s", err) + } +} diff --git a/kadai1/takafk9/cmd/convert-img-cli/main.go b/kadai1/takafk9/cmd/convert-img-cli/main.go new file mode 100644 index 0000000..e3b9d88 --- /dev/null +++ b/kadai1/takafk9/cmd/convert-img-cli/main.go @@ -0,0 +1,10 @@ +package main + +import "os" + +func main() { + cli := &CLI{ + outStream: os.Stdout, errStream: os.Stderr, + } + os.Exit(cli.Run(os.Args)) +} diff --git a/kadai1/takafk9/cmd/convert-img-cli/testdata/jpeg-image.jpeg b/kadai1/takafk9/cmd/convert-img-cli/testdata/jpeg-image.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..2da5e0d67cbaa3708012c32a0591e34ab0cc2f68 GIT binary patch literal 5486 zcmb7IcT`hbvp*nBL=fpnkrFyYIspMidX*aK(wn&uiWDg-C|;^ald6yj1W;<| zJwRyEn;^X-FMjuX-+FJozuug+_Ut+PteM}QJ+tA7*HQ49!UJ4Q z0gnJO5>hf!5;8JUGIDY<3d&oQl-I9Q(o@q=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XK6Ma`r0KN~yaPd@zRvZ{WgjqYByXgEAlw>#2exVR#>x}xyXpxLW&V=kRehOTV;&}N_ApMV#P%{5%!aV?p9uQh_gqDm708knR zm)f16gTcug&+=_}!#)#@TE`N8$PFUly!7AeyvE(?Ln)s$j@`%HFW5wAJLkS6MP8(* V-Ecko2#`@36Pi2!5a-q8e*xk_S6l!9 literal 0 HcmV?d00001 From 35eac8f1887669e05f5a20406f24af17c8c4cccc Mon Sep 17 00:00:00 2001 From: takafk9 Date: Wed, 5 Jun 2019 17:07:25 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88=E3=81=BE?= =?UTF-8?q?=E3=81=A7=E6=9B=B8=E3=81=84=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/dojo5.iml | 10 + .idea/encodings.xml | 4 + .idea/misc.xml | 6 + .idea/modules.xml | 8 + .idea/vcs.xml | 6 + .idea/workspace.xml | 452 ++++++++++++++++++ go.mod | 3 + kadai1/.idea/encodings.xml | 4 + kadai1/.idea/kadai1.iml | 10 + kadai1/.idea/misc.xml | 6 + kadai1/.idea/modules.xml | 8 + kadai1/.idea/vcs.xml | 6 + kadai1/.idea/workspace.xml | 330 +++++++++++++ kadai1/takafk9/.go-version | 1 + kadai1/takafk9/.idea/encodings.xml | 4 + kadai1/takafk9/.idea/misc.xml | 6 + kadai1/takafk9/.idea/modules.xml | 8 + kadai1/takafk9/.idea/takafk9.iml | 9 + kadai1/takafk9/.idea/vcs.xml | 6 + kadai1/takafk9/.idea/workspace.xml | 124 +++++ kadai1/takafk9/converter/converter.go | 117 +++++ kadai1/takafk9/converter/converter_test.go | 149 ++++++ .../takafk9/converter/testdata/gif-image.gif | Bin 0 -> 434267 bytes .../takafk9/converter/testdata/gif-image1.gif | Bin 0 -> 434267 bytes .../converter/testdata/jpeg-image.jpeg | Bin 0 -> 5486 bytes .../converter/testdata/jpeg-image1.jpeg | Bin 0 -> 5486 bytes .../takafk9/converter/testdata/jpg-image.jpg | Bin 0 -> 5486 bytes .../takafk9/converter/testdata/jpg-image1.jpg | Bin 0 -> 5486 bytes .../takafk9/converter/testdata/png-image.png | Bin 0 -> 2063 bytes .../takafk9/converter/testdata/png-image1.png | Bin 0 -> 2063 bytes kadai1/takafk9/go.mod | 3 + 31 files changed, 1280 insertions(+) create mode 100644 .idea/dojo5.iml create mode 100644 .idea/encodings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml create mode 100644 go.mod create mode 100644 kadai1/.idea/encodings.xml create mode 100644 kadai1/.idea/kadai1.iml create mode 100644 kadai1/.idea/misc.xml create mode 100644 kadai1/.idea/modules.xml create mode 100644 kadai1/.idea/vcs.xml create mode 100644 kadai1/.idea/workspace.xml create mode 100644 kadai1/takafk9/.go-version create mode 100644 kadai1/takafk9/.idea/encodings.xml create mode 100644 kadai1/takafk9/.idea/misc.xml create mode 100644 kadai1/takafk9/.idea/modules.xml create mode 100644 kadai1/takafk9/.idea/takafk9.iml create mode 100644 kadai1/takafk9/.idea/vcs.xml create mode 100644 kadai1/takafk9/.idea/workspace.xml create mode 100644 kadai1/takafk9/converter/converter.go create mode 100644 kadai1/takafk9/converter/converter_test.go create mode 100644 kadai1/takafk9/converter/testdata/gif-image.gif create mode 100644 kadai1/takafk9/converter/testdata/gif-image1.gif create mode 100644 kadai1/takafk9/converter/testdata/jpeg-image.jpeg create mode 100644 kadai1/takafk9/converter/testdata/jpeg-image1.jpeg create mode 100644 kadai1/takafk9/converter/testdata/jpg-image.jpg create mode 100644 kadai1/takafk9/converter/testdata/jpg-image1.jpg create mode 100644 kadai1/takafk9/converter/testdata/png-image.png create mode 100644 kadai1/takafk9/converter/testdata/png-image1.png create mode 100644 kadai1/takafk9/go.mod diff --git a/.idea/dojo5.iml b/.idea/dojo5.iml new file mode 100644 index 0000000..25ed3f6 --- /dev/null +++ b/.idea/dojo5.iml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..15a15b2 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..28a804d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..338ef9a --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..7e052ff --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,452 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1559719680252 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + direct + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/kadai1/takafk9/.go-version b/kadai1/takafk9/.go-version new file mode 100644 index 0000000..89c881b --- /dev/null +++ b/kadai1/takafk9/.go-version @@ -0,0 +1 @@ +1.12.4 diff --git a/kadai1/takafk9/.idea/encodings.xml b/kadai1/takafk9/.idea/encodings.xml new file mode 100644 index 0000000..15a15b2 --- /dev/null +++ b/kadai1/takafk9/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/kadai1/takafk9/.idea/misc.xml b/kadai1/takafk9/.idea/misc.xml new file mode 100644 index 0000000..28a804d --- /dev/null +++ b/kadai1/takafk9/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/kadai1/takafk9/.idea/modules.xml b/kadai1/takafk9/.idea/modules.xml new file mode 100644 index 0000000..c888e02 --- /dev/null +++ b/kadai1/takafk9/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/kadai1/takafk9/.idea/takafk9.iml b/kadai1/takafk9/.idea/takafk9.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/kadai1/takafk9/.idea/takafk9.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/kadai1/takafk9/.idea/vcs.xml b/kadai1/takafk9/.idea/vcs.xml new file mode 100644 index 0000000..b2bdec2 --- /dev/null +++ b/kadai1/takafk9/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/kadai1/takafk9/.idea/workspace.xml b/kadai1/takafk9/.idea/workspace.xml new file mode 100644 index 0000000..d7ac86b --- /dev/null +++ b/kadai1/takafk9/.idea/workspace.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +