This file contains 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 internal; | |
import com.google.common.eventbus.EventBus; | |
import com.google.common.eventbus.Subscribe; | |
import java.util.concurrent.atomic.AtomicInteger; | |
import org.junit.Assert; | |
import org.junit.Test; | |
/** | |
* Created by nikita on 16.06.16. |
This file contains 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
modelVersion: 4.0.0 | |
groupId: org.examples | |
artifactId: mvn-polyglot | |
version: 0.0.1-SNAPSHOT | |
name: 'YAML Maven Love' | |
dependencies: | |
- { groupId: junit, artifactId: junit, version: 4.12, scope: test } | |
build: |
This file contains 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
modelVersion: 4.0.0 | |
groupId: org.examples | |
artifactId: mvn-polyglot | |
version: 0.0.1-SNAPSHOT | |
name: 'YAML Maven Love' | |
dependencies: | |
- { groupId: junit, artifactId: junit, version: 4.12, scope: test } | |
build: |
This file contains 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
compileJava { | |
sourceCompatibility = '1.7' | |
} | |
compileTestJava { | |
sourceCompatibility = '1.8' | |
} |
This file contains 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
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.1</version> | |
<configuration> | |
<source>1.7</source> | |
<target>1.7</target> | |
<testSource>1.8</testSource> | |
<testTarget>1.8</testTarget> | |
</configuration> |
This file contains 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
(function(undefined, body, selectors){ | |
var collection = []; | |
var current; | |
var isAttr; | |
for(var key in selectors){ | |
current = body.querySelectorAll(selectors[key]); | |
current = [].slice.call(current); |
This file contains 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 AAA implements StringMirror { | |
@Override | |
public String mirror(String input) { | |
return new StringBuilder(input).reverse().toString(); | |
} | |
} |
This file contains 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 StringMirrorImpl implements StringMirror { | |
@Override | |
public String mirror(String input) { | |
return input; | |
} | |
} |
This file contains 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
Class aClass = groovyClassLoader.parseClass(sourceCodeSupplier.get()); |
This file contains 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
/* | |
Copyright 2007-2011 Selenium committers | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
NewerOlder