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
| import sbt._ | |
| import Keys._ | |
| import de.johoop.testngplugin.TestNGPlugin._ | |
| object NGPlugin extends Plugin { | |
| override def settings: Seq[Setting[_]] = super.settings ++ Seq( | |
| scalaSource in Test <<= baseDirectory / "junit", | |
| javaSource in Test <<= baseDirectory / "junit" |
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
| import sbt._ | |
| import Keys._ | |
| import de.johoop.testngplugin.TestNGPlugin._ | |
| object NGPlugin extends Plugin { | |
| override def settings: Seq[Setting[_]] = super.settings ++ Seq( | |
| scalaSource in Test <<= baseDirectory / "junit", | |
| javaSource in Test <<= baseDirectory / "junit" |
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
| { | |
| "doc" : "A form that includes the Greeting resource plus some extra fields", | |
| "type" : "record", | |
| "name" : "GreetingForm", | |
| "include" : [ "Greeting" ], | |
| "fields" : | |
| [ | |
| { | |
| "name" : "some-extra-field-1", | |
| "type" : "string", |
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
| btnHola.setOnClickListener(new OnClickListener() { | |
| public void onClick(View arg0) { | |
| ... my code here... | |
| } | |
| }); |
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
| #!/usr/bin/env ruby | |
| # Usa espacios, no tabs | |
| Class Perro | |
| attr_accessor :nombre | |
| attr_accessor :edad | |
| # Edad no es un numero ? |
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
| var objectCreator = function () { | |
| var value = 0; | |
| return { | |
| increment: function (inc) { | |
| value += typeof inc === 'number' ? inc : 1; | |
| }, | |
| getValue: function () { | |
| return value; | |
| } |
NewerOlder