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 frontend; | |
import junit.framework.TestCase; | |
import org.junit.Test; | |
import org.openqa.selenium.By; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebElement; | |
import org.openqa.selenium.firefox.FirefoxDriver; | |
import org.openqa.selenium.interactions.Actions; |
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
Compiling: //java/client/test/org/openqa/selenium/firefox:test_synthesized as build/java/client/test/org/openqa/selenium/firefox/test_synthesized.jar | |
** Execute //java/client/test/org/openqa/selenium/firefox:test_synthesized | |
** Execute //java/client/test/org/openqa/selenium/firefox:test_synthesized:run | |
Testing: //java/client/test/org/openqa/selenium/firefox:test_synthesized | |
go aborted! | |
org.apache.tools.ant.BuildException: Test org.openqa.selenium.firefox.SynthesizedFirefoxDriverTestSuite failed | |
org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:1863:in `actOnTestResult' | |
org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:814:in `execute' | |
org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:776:in `execute' | |
org/apache/tools/ant/UnknownElement.java:291:in `execute' |
This file has been truncated, but you can view the full file.
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
11:53:07.282 INFO - Executing: [new session: {platform=ANY, firefox_profile=UEsDBBQACAAIAKNedz8AAAAAAAAAA..., browserName=firefox, version=}] at URL: /session) | |
11:53:08.649 INFO - Done: /session | |
11:53:08.661 INFO - Executing: org.openqa.selenium.remote.server.handler.GetSessionCapabilities@7439825d at URL: /session/1322043974417) | |
11:53:08.661 INFO - Done: /session/1322043974417 | |
11:53:10.021 INFO - Executing: [get: http://10.0.109.126:8080/bad-wc/frottee/handtuecher] at URL: /session/1322043974417/url) | |
11:53:12.630 INFO - Done: /session/1322043974417/url | |
11:53:12.717 INFO - Executing: [find element: By.tagName: html] at URL: /session/1322043974417/element) | |
11:53:12.724 INFO - Done: /session/1322043974417/element | |
11:53:12.826 INFO - Executing: [find child elements: 0 org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement@3c563d72, By.selector: div#searchLoadingIndicator] at URL: /session/1322043974417/element/0/elements) |
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
15:37:02.222 ERROR - Unexpected exception during findElement | |
org.openqa.selenium.WebDriverException: Error communicating with the remote brow | |
ser. It may have died. | |
Build info: version: '2.13.0', revision: '14793', time: '2011-11-18 13:16:47' | |
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.vers | |
ion: '1.6.0_29' | |
Driver info: driver.version: EventFiringWebDriver | |
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.ja | |
va:412) | |
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDrive |
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 name.neuroth.playground | |
import java.lang.annotation.Retention | |
import java.lang.annotation.Target | |
import org.codehaus.groovy.transform.GroovyASTTransformationClass | |
import java.lang.annotation.ElementType | |
import java.lang.annotation.RetentionPolicy | |
@Retention(RetentionPolicy.SOURCE) | |
@Target([ElementType.TYPE]) | |
@GroovyASTTransformationClass(["name.neuroth.playground.ClassWithLoggingASTTransformation"]) |
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
org.apache.tools.ant.BuildException: Test org.openqa.selenium.javascript.ClosureTestSuite failed | |
org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:1863:in `actOnTestResult' | |
org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:814:in `execute' | |
org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:776:in `execute' | |
org/apache/tools/ant/UnknownElement.java:291:in `execute' | |
sun/reflect/NativeMethodAccessorImpl.java:-2:in `invoke0' | |
sun/reflect/NativeMethodAccessorImpl.java:39:in `invoke' | |
sun/reflect/DelegatingMethodAccessorImpl.java:25:in `invoke' | |
java/lang/reflect/Method.java:597:in `invoke' | |
org/jruby/javasupport/JavaMethod.java:508:in `invokeDirectWithExceptionHandling' |
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
[java] 2012-03-15 14:56:57,129 (http-bio-0.0.0.0-8080-exec-2) [ ModelScreen:401:ERROR] | |
[java] ---- runtime exception report -------------------------------------------------- | |
[java] Error rendering screen [component://ecommerce/widget/CommonScreens.xml#main-decorator]: java.lang.NullPointerException: Cannot invoke method getBoolean() on null object. Rolling back transaction. | |
[java] Exception: java.lang.NullPointerException | |
[java] Message: Cannot invoke method getBoolean() on null object | |
[java] ---- stack trace --------------------------------------------------------------- | |
[java] java.lang.NullPointerException: Cannot invoke method getBoolean() on null object | |
[java] org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77) | |
[java] org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45) | |
[java] org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) |
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
// Will write the tracks of all .gpx files in the current working directory | |
// to /tmp/output.gpx. I used this to bulk import my cardio trainer .gpx files | |
// into endomondo, because they don't offer bulk import. | |
// You will have to ensure tha you don't exceed the 10MB limit yourself (I created | |
// three batches of ~4MB each which seemed to import fine, although I triggered an | |
// 500 on their side after the import succeeded... | |
class GpxMerge { | |
public static void main(String[] args) { | |
String workingDir = System.getProperty('user.dir') | |
XmlParser parser = new XmlParser() |
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 buster = require('buster'); | |
var config = module.exports; | |
config['node tests'] = { | |
environment: 'node', | |
tests: [ 'fail.js' ] | |
}; |
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
buster.testCase('browserfail', { | |
'it fails in the browser': function() { | |
assert.isTrue(false); | |
} | |
}); |
OlderNewer