Skip to content

Commit 75ef540

Browse files
committed
[Java] Deprecate io.cucumber.java.tl for io.cucumber.java.te
1 parent 2da7498 commit 75ef540

7 files changed

+285
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1212
### Changed
1313

1414
### Deprecated
15+
* [Java] Deprecated `io.cucumber.java.tl` in favour of `io.cucumber.java.te` ([cucumber/#1238](https://github.com/cucumber/cucumber/pull/1238) Nvmkpk)
1516

1617
### Removed
1718

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/**
2+
* Telugu - తెలుగు
3+
*/
4+
package io.cucumber.java.tl;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
package io.cucumber.java.tl;
2+
3+
import io.cucumber.java.StepDefinitionAnnotation;
4+
import io.cucumber.java.StepDefinitionAnnotations;
5+
import org.apiguardian.api.API;
6+
7+
import java.lang.annotation.Documented;
8+
import java.lang.annotation.ElementType;
9+
import java.lang.annotation.Repeatable;
10+
import java.lang.annotation.Retention;
11+
import java.lang.annotation.RetentionPolicy;
12+
import java.lang.annotation.Target;
13+
14+
/**
15+
* To execute steps in a feature file the steps must be connected to executable
16+
* code. This can be done by annotating a method with a cucumber or regular
17+
* expression.
18+
* <p>
19+
* The parameters extracted from the step by the expression along with the data
20+
* table or doc string argument are provided as arguments to the method.
21+
* <p>
22+
* The types of the parameters are determined by the cucumber or regular
23+
* expression.
24+
* <p>
25+
* The type of the data table or doc string argument is determined by the
26+
* argument name value. When none is provided cucumber will attempt to transform
27+
* the data table or doc string to the type of the last argument.
28+
*
29+
* @deprecated moved to {@code io.cucumber.java.te}
30+
*/
31+
@Retention(RetentionPolicy.RUNTIME)
32+
@Target(ElementType.METHOD)
33+
@StepDefinitionAnnotation
34+
@Documented
35+
@Repeatable(అప్పుడు.అప్పుడుs.class)
36+
@API(status = API.Status.STABLE)
37+
@Deprecated
38+
public @interface అప్పుడు {
39+
/**
40+
* A cucumber or regular expression.
41+
*
42+
* @return a cucumber or regular expression
43+
*/
44+
String value();
45+
46+
/**
47+
* Allows the use of multiple 'అప్పుడు's on a single method.
48+
*/
49+
@Target(ElementType.METHOD)
50+
@Retention(RetentionPolicy.RUNTIME)
51+
@StepDefinitionAnnotations
52+
@Documented
53+
@interface అప్పుడుs {
54+
అప్పుడు[] value();
55+
}
56+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
package io.cucumber.java.tl;
2+
3+
import io.cucumber.java.StepDefinitionAnnotation;
4+
import io.cucumber.java.StepDefinitionAnnotations;
5+
import org.apiguardian.api.API;
6+
7+
import java.lang.annotation.Documented;
8+
import java.lang.annotation.ElementType;
9+
import java.lang.annotation.Repeatable;
10+
import java.lang.annotation.Retention;
11+
import java.lang.annotation.RetentionPolicy;
12+
import java.lang.annotation.Target;
13+
14+
/**
15+
* To execute steps in a feature file the steps must be connected to executable
16+
* code. This can be done by annotating a method with a cucumber or regular
17+
* expression.
18+
* <p>
19+
* The parameters extracted from the step by the expression along with the data
20+
* table or doc string argument are provided as arguments to the method.
21+
* <p>
22+
* The types of the parameters are determined by the cucumber or regular
23+
* expression.
24+
* <p>
25+
* The type of the data table or doc string argument is determined by the
26+
* argument name value. When none is provided cucumber will attempt to transform
27+
* the data table or doc string to the type of the last argument.
28+
*
29+
* @deprecated moved to {@code io.cucumber.java.te}
30+
*/
31+
@Retention(RetentionPolicy.RUNTIME)
32+
@Target(ElementType.METHOD)
33+
@StepDefinitionAnnotation
34+
@Documented
35+
@Repeatable(ఈపరిస్థితిలో.ఈపరిస్థితిలోs.class)
36+
@API(status = API.Status.STABLE)
37+
@Deprecated
38+
public @interface ఈపరిస్థితిలో {
39+
/**
40+
* A cucumber or regular expression.
41+
*
42+
* @return a cucumber or regular expression
43+
*/
44+
String value();
45+
46+
/**
47+
* Allows the use of multiple 'ఈపరిస్థితిలో's on a single method.
48+
*/
49+
@Target(ElementType.METHOD)
50+
@Retention(RetentionPolicy.RUNTIME)
51+
@StepDefinitionAnnotations
52+
@Documented
53+
@interface ఈపరిస్థితిలోs {
54+
ఈపరిస్థితిలో[] value();
55+
}
56+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
package io.cucumber.java.tl;
2+
3+
import io.cucumber.java.StepDefinitionAnnotation;
4+
import io.cucumber.java.StepDefinitionAnnotations;
5+
import org.apiguardian.api.API;
6+
7+
import java.lang.annotation.Documented;
8+
import java.lang.annotation.ElementType;
9+
import java.lang.annotation.Repeatable;
10+
import java.lang.annotation.Retention;
11+
import java.lang.annotation.RetentionPolicy;
12+
import java.lang.annotation.Target;
13+
14+
/**
15+
* To execute steps in a feature file the steps must be connected to executable
16+
* code. This can be done by annotating a method with a cucumber or regular
17+
* expression.
18+
* <p>
19+
* The parameters extracted from the step by the expression along with the data
20+
* table or doc string argument are provided as arguments to the method.
21+
* <p>
22+
* The types of the parameters are determined by the cucumber or regular
23+
* expression.
24+
* <p>
25+
* The type of the data table or doc string argument is determined by the
26+
* argument name value. When none is provided cucumber will attempt to transform
27+
* the data table or doc string to the type of the last argument.
28+
*
29+
* @deprecated moved to {@code io.cucumber.java.te}
30+
*/
31+
@Retention(RetentionPolicy.RUNTIME)
32+
@Target(ElementType.METHOD)
33+
@StepDefinitionAnnotation
34+
@Documented
35+
@Repeatable(కాని.కానిs.class)
36+
@API(status = API.Status.STABLE)
37+
@Deprecated
38+
public @interface కాని {
39+
/**
40+
* A cucumber or regular expression.
41+
*
42+
* @return a cucumber or regular expression
43+
*/
44+
String value();
45+
46+
/**
47+
* Allows the use of multiple 'కాని's on a single method.
48+
*/
49+
@Target(ElementType.METHOD)
50+
@Retention(RetentionPolicy.RUNTIME)
51+
@StepDefinitionAnnotations
52+
@Documented
53+
@interface కానిs {
54+
కాని[] value();
55+
}
56+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
package io.cucumber.java.tl;
2+
3+
import io.cucumber.java.StepDefinitionAnnotation;
4+
import io.cucumber.java.StepDefinitionAnnotations;
5+
import org.apiguardian.api.API;
6+
7+
import java.lang.annotation.Documented;
8+
import java.lang.annotation.ElementType;
9+
import java.lang.annotation.Repeatable;
10+
import java.lang.annotation.Retention;
11+
import java.lang.annotation.RetentionPolicy;
12+
import java.lang.annotation.Target;
13+
14+
/**
15+
* To execute steps in a feature file the steps must be connected to executable
16+
* code. This can be done by annotating a method with a cucumber or regular
17+
* expression.
18+
* <p>
19+
* The parameters extracted from the step by the expression along with the data
20+
* table or doc string argument are provided as arguments to the method.
21+
* <p>
22+
* The types of the parameters are determined by the cucumber or regular
23+
* expression.
24+
* <p>
25+
* The type of the data table or doc string argument is determined by the
26+
* argument name value. When none is provided cucumber will attempt to transform
27+
* the data table or doc string to the type of the last argument.
28+
*
29+
* @deprecated moved to {@code io.cucumber.java.te}
30+
*/
31+
@Retention(RetentionPolicy.RUNTIME)
32+
@Target(ElementType.METHOD)
33+
@StepDefinitionAnnotation
34+
@Documented
35+
@Repeatable(చెప్పబడినది.చెప్పబడినదిs.class)
36+
@API(status = API.Status.STABLE)
37+
@Deprecated
38+
public @interface చెప్పబడినది {
39+
/**
40+
* A cucumber or regular expression.
41+
*
42+
* @return a cucumber or regular expression
43+
*/
44+
String value();
45+
46+
/**
47+
* Allows the use of multiple 'చెప్పబడినది's on a single method.
48+
*/
49+
@Target(ElementType.METHOD)
50+
@Retention(RetentionPolicy.RUNTIME)
51+
@StepDefinitionAnnotations
52+
@Documented
53+
@interface చెప్పబడినదిs {
54+
చెప్పబడినది[] value();
55+
}
56+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
package io.cucumber.java.tl;
2+
3+
import io.cucumber.java.StepDefinitionAnnotation;
4+
import io.cucumber.java.StepDefinitionAnnotations;
5+
import org.apiguardian.api.API;
6+
7+
import java.lang.annotation.Documented;
8+
import java.lang.annotation.ElementType;
9+
import java.lang.annotation.Repeatable;
10+
import java.lang.annotation.Retention;
11+
import java.lang.annotation.RetentionPolicy;
12+
import java.lang.annotation.Target;
13+
14+
/**
15+
* To execute steps in a feature file the steps must be connected to executable
16+
* code. This can be done by annotating a method with a cucumber or regular
17+
* expression.
18+
* <p>
19+
* The parameters extracted from the step by the expression along with the data
20+
* table or doc string argument are provided as arguments to the method.
21+
* <p>
22+
* The types of the parameters are determined by the cucumber or regular
23+
* expression.
24+
* <p>
25+
* The type of the data table or doc string argument is determined by the
26+
* argument name value. When none is provided cucumber will attempt to transform
27+
* the data table or doc string to the type of the last argument.
28+
*
29+
* @deprecated moved to {@code io.cucumber.java.te}
30+
*/
31+
@Retention(RetentionPolicy.RUNTIME)
32+
@Target(ElementType.METHOD)
33+
@StepDefinitionAnnotation
34+
@Documented
35+
@Repeatable(మరియు.మరియుs.class)
36+
@API(status = API.Status.STABLE)
37+
@Deprecated
38+
public @interface మరియు {
39+
/**
40+
* A cucumber or regular expression.
41+
*
42+
* @return a cucumber or regular expression
43+
*/
44+
String value();
45+
46+
/**
47+
* Allows the use of multiple 'మరియు's on a single method.
48+
*/
49+
@Target(ElementType.METHOD)
50+
@Retention(RetentionPolicy.RUNTIME)
51+
@StepDefinitionAnnotations
52+
@Documented
53+
@interface మరియుs {
54+
మరియు[] value();
55+
}
56+
}

0 commit comments

Comments
 (0)