daria-malkova commented on a change in pull request #16482:
URL: https://github.com/apache/beam/pull/16482#discussion_r784040116
##########
File path: playground/backend/internal/preparers/java_preparators_test.go
##########
@@ -88,25 +88,39 @@ func Test_replace(t *testing.T) {
}
}
-func TestGetJavaPreparators(t *testing.T) {
+func TestGetJavaPreparers(t *testing.T) {
type args struct {
- filePath string
+ filePath string
+ isUnitTest bool
+ isKata bool
}
tests := []struct {
name string
args args
want int
}{
{
- name: "all success",
- args: args{"MOCK_FILEPATH"},
- want: 4,
+ name: "Test number of preparers for code",
+ args: args{"MOCK_FILEPATH", false, false},
+ want: 2,
+ },
+ {
+ name: "Test number of preparers for unit test",
+ args: args{"MOCK_FILEPATH", false, false},
Review comment:
Right, done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]