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
public class CollectionTransformer<E> implements UnaryFunction<Generator<? extends E>, Collection<? super E>> { | |
// instance methods | |
//--------------------------------------------------- | |
/** | |
* {@inheritDoc} | |
*/ | |
public Collection<? super E> evaluate(Generator<? extends E> generator) { | |
final List<? super E> list = new ArrayList<E>(); | |
generator.run(new UnaryProcedure<E>() { |
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
public static void main(String[] args) throws Exception { | |
TestLinkAPI api = new TestLinkAPI(new URL("http://localhost/testlink-1.9.4/lib/api/xmlrpc.php"), "f3230e0850876097abdfef4e3cd01145"); | |
Boolean b = api.checkDevKey("f3230e0850876097abdfef4e3cd01145"); | |
System.out.println(b); | |
} |
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
POST /testlink-1.9.4/lib/api/xmlrpc.php HTTP/1.1 | |
Content-Type: text/xml | |
User-Agent: Apache XML RPC 3.1.3 (Sun HTTP Transport) | |
Cache-Control: no-cache | |
Pragma: no-cache | |
Host: localhost | |
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 | |
Connection: keep-alive | |
Content-Length: 310 |
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
Started by user anonymous | |
[test-nutch] $ ant runtime | |
Buildfile: /home/kinow/java/workspace/test-nutch/build.xml | |
Intercepted: property | |
Intercepted: property | |
Intercepted: property | |
Intercepted: property | |
Intercepted: property | |
Intercepted: property | |
Intercepted: property |
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
/* | |
* Tis ugly, but you can get the gist from this | |
*/ | |
println "Getting past test status from Jenkins" | |
/* Depth */ | |
depth = 2 | |
/* Project Name */ | |
projectName = "junit-and-tap" |
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
O] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Google Cloud Messsaging Notification Plugin 0.9-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ gcm --- | |
[INFO] Deleting /home/kinow/java/jenkins-workspace/gcm-notification-plugin/target | |
[INFO] | |
[INFO] >>> maven-hpi-plugin:1.90:run (default-cli) @ gcm >>> |
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
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Google Cloud Messsaging Notification Plugin 0.9-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ gcm --- | |
[INFO] Deleting /home/kinow/java/jenkins-workspace/gcm-notification-plugin/target | |
[INFO] | |
[INFO] >>> maven-hpi-plugin:1.74:run (default-cli) @ gcm >>> |
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
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Google Cloud Messsaging Notification Plugin 0.9-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ gcm --- | |
[INFO] Deleting /home/kinow/java/jenkins-workspace/gcm-notification-plugin/target | |
[INFO] | |
[INFO] >>> maven-hpi-plugin:1.74:run (default-cli) @ gcm >>> |
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
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Google Cloud Messsaging Notification Plugin 0.9-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ gcm --- | |
[INFO] Deleting /home/kinow/java/jenkins-workspace/gcm-notification-plugin/target | |
[INFO] | |
[INFO] >>> maven-hpi-plugin:1.71:run (default-cli) @ gcm >>> |
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
1..63 | |
ok 1 Create Search results copies simple attributes | |
ok 2 Create Search results creates empty product list for no results | |
ok 3 Create Search results creates 1 product list for one results | |
ok 4 Create Search results creates multiple product list for more than one result | |
ok 5 serviceUrlFor should prepend current site | |
ok 6 fullUrlFor should prepend current site | |
ok 7 config should return config for supplied site | |
ok 8 Middleware should add current site to res locals | |
ok 9 Middleware should set locale for i18n correctly |