-
フォーマットはJSONを利用する
-
保存はH2を利用する
-
GroovyのJSONBuilderを利用し、やり取りする。
-
新規の場合、入力された文字列を永続化する
-
削除の場合、永続化されたものを削除する
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package chromedriver; | |
import org.junit.Test; | |
import org.openqa.selenium.By; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebElement; | |
import org.openqa.selenium.chrome.ChromeDriver; | |
public class ChromeDriverTest { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package jggug | |
import groovy.transform.Canonical | |
class JGGUG { | |
Object propertyMissing(String name) { | |
if (name =~ /language/) return "Groovy" | |
if (name =~ /lang/) return "Groovy" | |
"" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package tddbc | |
import groovy.transform.Canonical | |
enum Hand { | |
ROCK, | |
PAPER, | |
SCISSORS | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package tddbc | |
class Fighter { | |
Action attack(Command command) { | |
new Action(list: command.apply()) | |
} | |
} |
動作したので、実行方法をこちらに記載。 GradleからPostgreSQL Studioを起動する方法
http://connpass.com/event/3735/
- vert.xを使ったpub/sub
- CRaSHを使ってみる