Added licence, copyright and README
This commit is contained in:
parent
da53dbf3d6
commit
29f1273b59
11 changed files with 284 additions and 11 deletions
|
@ -1,13 +1,11 @@
|
|||
package com.example;
|
||||
|
||||
import rife.bld.BuildCommand;
|
||||
import rife.bld.BaseProject;
|
||||
import rife.bld.BuildCommand;
|
||||
import rife.bld.extension.TestNgOperation;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import static rife.bld.dependencies.Repository.MAVEN_CENTRAL;
|
||||
import static rife.bld.dependencies.Scope.test;
|
||||
|
||||
|
@ -15,7 +13,7 @@ public class ExamplesBuild extends BaseProject {
|
|||
public ExamplesBuild() {
|
||||
pkg = "com.example";
|
||||
name = "Examples";
|
||||
version = version(0,1,0);
|
||||
version = version(0, 1, 0);
|
||||
|
||||
repositories = List.of(MAVEN_CENTRAL);
|
||||
scope(test).include(dependency("org.testng", "testng", version(7, 8, 0)));
|
||||
|
|
|
@ -4,9 +4,8 @@ import org.testng.Assert;
|
|||
import org.testng.annotations.Test;
|
||||
|
||||
class ExampleTest {
|
||||
@Test
|
||||
void verifyHello() {
|
||||
Assert.assertTrue(true);
|
||||
public static void main(String[] args) {
|
||||
new ExampleTest().verifyHello();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -14,7 +13,8 @@ class ExampleTest {
|
|||
Assert.fail("failed");
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
new ExampleTest().verifyHello();
|
||||
@Test
|
||||
void verifyHello() {
|
||||
Assert.assertTrue(true);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue