forked from borisbrodski/Jnario
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed old target platforms, forced the pom to use the 2019-12 target
- Loading branch information
Showing
22 changed files
with
96 additions
and
696 deletions.
There are no files selected for viewing
42 changes: 21 additions & 21 deletions
42
examples/org.jnario.maven.example/src/test/jnario-gen/demo/AdditionFeature.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
/** | ||
* Copyright (c) 2012 BMW Car IT and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
*/ | ||
package demo; | ||
|
||
import demo.AdditionFeatureAddTwoNumbers; | ||
import org.jnario.runner.Contains; | ||
import org.jnario.runner.FeatureRunner; | ||
import org.jnario.runner.Named; | ||
import org.junit.runner.RunWith; | ||
|
||
@Contains(AdditionFeatureAddTwoNumbers.class) | ||
@Named("Addition") | ||
@RunWith(FeatureRunner.class) | ||
@SuppressWarnings("all") | ||
public class AdditionFeature { | ||
} | ||
/** | ||
* Copyright (c) 2012 BMW Car IT and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
*/ | ||
package demo; | ||
|
||
import demo.AdditionFeatureAddTwoNumbers; | ||
import org.jnario.runner.Contains; | ||
import org.jnario.runner.FeatureRunner; | ||
import org.jnario.runner.Named; | ||
import org.junit.runner.RunWith; | ||
|
||
@Contains(AdditionFeatureAddTwoNumbers.class) | ||
@Named("Addition") | ||
@RunWith(FeatureRunner.class) | ||
@SuppressWarnings("all") | ||
public class AdditionFeature { | ||
} |
32 changes: 16 additions & 16 deletions
32
examples/org.jnario.maven.example/src/test/jnario-gen/demo/AllTestsSuite.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
package demo; | ||
|
||
import demo.AdditionFeature; | ||
import demo.CalculatorSpec; | ||
import demo.TestSuiteSuite; | ||
import org.jnario.runner.Contains; | ||
import org.jnario.runner.ExampleGroupRunner; | ||
import org.jnario.runner.Named; | ||
import org.junit.runner.RunWith; | ||
|
||
@Named("AllTests") | ||
@Contains({ AdditionFeature.class, CalculatorSpec.class, TestSuiteSuite.class }) | ||
@RunWith(ExampleGroupRunner.class) | ||
@SuppressWarnings("all") | ||
public class AllTestsSuite { | ||
} | ||
package demo; | ||
|
||
import demo.AdditionFeature; | ||
import demo.CalculatorSpec; | ||
import demo.TestSuiteSuite; | ||
import org.jnario.runner.Contains; | ||
import org.jnario.runner.ExampleGroupRunner; | ||
import org.jnario.runner.Named; | ||
import org.junit.runner.RunWith; | ||
|
||
@Named("AllTests") | ||
@Contains({ AdditionFeature.class, CalculatorSpec.class, TestSuiteSuite.class }) | ||
@RunWith(ExampleGroupRunner.class) | ||
@SuppressWarnings("all") | ||
public class AllTestsSuite { | ||
} |
66 changes: 33 additions & 33 deletions
66
examples/org.jnario.maven.example/src/test/jnario-gen/demo/CalculatorSpecExamples.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
package demo; | ||
|
||
import java.util.List; | ||
import org.jnario.lib.ExampleTableRow; | ||
|
||
@SuppressWarnings("all") | ||
public class CalculatorSpecExamples extends ExampleTableRow { | ||
public CalculatorSpecExamples(final List<String> cellNames, final int a, final int b, final int sum) { | ||
super(cellNames); | ||
this.a = a; | ||
this.b = b; | ||
this.sum = sum; | ||
|
||
} | ||
|
||
private int a; | ||
|
||
public int getA() { | ||
return this.a; | ||
} | ||
|
||
private int b; | ||
|
||
public int getB() { | ||
return this.b; | ||
} | ||
|
||
private int sum; | ||
|
||
public int getSum() { | ||
return this.sum; | ||
} | ||
} | ||
package demo; | ||
|
||
import java.util.List; | ||
import org.jnario.lib.ExampleTableRow; | ||
|
||
@SuppressWarnings("all") | ||
public class CalculatorSpecExamples extends ExampleTableRow { | ||
public CalculatorSpecExamples(final List<String> cellNames, final int a, final int b, final int sum) { | ||
super(cellNames); | ||
this.a = a; | ||
this.b = b; | ||
this.sum = sum; | ||
|
||
} | ||
|
||
private int a; | ||
|
||
public int getA() { | ||
return this.a; | ||
} | ||
|
||
private int b; | ||
|
||
public int getB() { | ||
return this.b; | ||
} | ||
|
||
private int sum; | ||
|
||
public int getSum() { | ||
return this.sum; | ||
} | ||
} |
28 changes: 14 additions & 14 deletions
28
examples/org.jnario.maven.example/src/test/jnario-gen/demo/TestSuiteSuite.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
package demo; | ||
|
||
import demo.CalculatorSpec; | ||
import org.jnario.runner.Contains; | ||
import org.jnario.runner.ExampleGroupRunner; | ||
import org.jnario.runner.Named; | ||
import org.junit.runner.RunWith; | ||
|
||
@Named("Test Suite") | ||
@Contains(CalculatorSpec.class) | ||
@RunWith(ExampleGroupRunner.class) | ||
@SuppressWarnings("all") | ||
public class TestSuiteSuite { | ||
} | ||
package demo; | ||
|
||
import demo.CalculatorSpec; | ||
import org.jnario.runner.Contains; | ||
import org.jnario.runner.ExampleGroupRunner; | ||
import org.jnario.runner.Named; | ||
import org.junit.runner.RunWith; | ||
|
||
@Named("Test Suite") | ||
@Contains(CalculatorSpec.class) | ||
@RunWith(ExampleGroupRunner.class) | ||
@SuppressWarnings("all") | ||
public class TestSuiteSuite { | ||
} |
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
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.