Last active
March 15, 2019 20:55
-
-
Save 38leinaD/114984cc6894bb39dd7256d7e1d52dc3 to your computer and use it in GitHub Desktop.
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
rsync -a --files-from=copy.txt ./test1 ./test2 | |
while inotifywait -r -e modify,create,delete /directory; do | |
rsync -avz /directory /target | |
done | |
https://www.adaptavist.com/doco/display/KT/Annotating+Test+Cases | |
https://bitbucket.org/Adaptavist/tm4j-junit-integration/src/master/src/main/java/com/adaptavist/tm4j/junit/ | |
https://confluence.xpand-it.com/display/XRAY23/Testing+using+Selenium+and+JUnit+in+Java | |
== angular cheat sheet | |
input [(ngModel)]="hero.name" | |
<li *ngFor="let hero of heroes"> | |
<li *ngFor="let hero of heroes" (click)="onSelect(hero)"> | |
<div *ngIf="selectedHero"> | |
[class.selected]="hero === selectedHero" | |
<app-hero-detail [hero]="selectedHero"></app-hero-detail> | |
@Input() hero: Hero; | |
<input #searchBox id="search-box" (input)="search(searchBox.value)" /> | |
@RunWith(Arquillian.class) | |
public class MyUIT { | |
@Drone | |
WebDriver browser; | |
private void clickNode(String text) { | |
List<WebElement> elements = browser.findElements(By.className("ui-treenode-content")); | |
for (WebElement e : elements) { | |
WebElement label = e.findElement(By.className("ui-treenode-label")); | |
if (label.getText().equals(text)) { | |
WebElement arrow = e.findElement(By.className("ui-tree-toggler")); | |
System.out.println(">>>> " + arrow); | |
arrow.click(); | |
break; | |
} | |
} | |
} | |
@Test | |
public void test() throws InterruptedException { | |
browser.get("http://localhost/jsftest/index.xhtml"); | |
clickNode("Node 1"); | |
Thread.sleep(1000); | |
clickNode("Node 1.0"); | |
Thread.sleep(1000); | |
System.out.println("---"); | |
} | |
} | |
void baseMethod() { | |
System.out.println("ÜÜÜ"); | |
System.out.println("HELLO: " + this.getClass().getGenericSuperclass()); | |
Type type = this.getClass().getGenericSuperclass(); | |
if (type instanceof ParameterizedType) { | |
ParameterizedType genericType = (ParameterizedType) type; | |
Class clazz = (Class) genericType.getActualTypeArguments()[0]; | |
System.out.println("******" + clazz); | |
} | |
} | |
https://imgur.com/jGoBD9g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment