Skip to content

Commit 84c2c3b

Browse files
committed
chore: add license and author tags
1 parent d7be336 commit 84c2c3b

File tree

11 files changed

+227
-4
lines changed

11 files changed

+227
-4
lines changed

src/test/java/com/flowingcode/vaadin/addons/chipfield/integration/AbstractChipfieldTest.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*-
2+
* #%L
3+
* ChipField Addon
4+
* %%
5+
* Copyright (C) 2018 - 2021 Flowing Code
6+
* %%
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
* #L%
19+
*/
120
package com.flowingcode.vaadin.addons.chipfield.integration;
221

322
import com.flowingcode.vaadin.addons.chipfield.integration.rpc.HasRpcSupport;

src/test/java/com/flowingcode/vaadin/addons/chipfield/integration/AbstractViewTest.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*-
2+
* #%L
3+
* ChipField Addon
4+
* %%
5+
* Copyright (C) 2018 - 2021 Flowing Code
6+
* %%
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
* #L%
19+
*/
120
package com.flowingcode.vaadin.addons.chipfield.integration;
221

322
import static org.hamcrest.Matchers.is;

src/test/java/com/flowingcode/vaadin/addons/chipfield/integration/ChipFieldElement.java

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*-
2+
* #%L
3+
* ChipField Addon
4+
* %%
5+
* Copyright (C) 2018 - 2021 Flowing Code
6+
* %%
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
* #L%
19+
*/
120
package com.flowingcode.vaadin.addons.chipfield.integration;
221

322
import java.util.List;
@@ -24,4 +43,4 @@ public void selectByText(String label) {
2443
sendKeys(label, Keys.ARROW_DOWN, Keys.ENTER);
2544
}
2645

27-
}
46+
}

src/test/java/com/flowingcode/vaadin/addons/chipfield/integration/IntegrationView.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*-
2+
* #%L
3+
* ChipField Addon
4+
* %%
5+
* Copyright (C) 2018 - 2021 Flowing Code
6+
* %%
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
* #L%
19+
*/
120
package com.flowingcode.vaadin.addons.chipfield.integration;
221

322
import java.util.Arrays;

src/test/java/com/flowingcode/vaadin/addons/chipfield/integration/IntegrationViewCallables.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*-
2+
* #%L
3+
* ChipField Addon
4+
* %%
5+
* Copyright (C) 2018 - 2021 Flowing Code
6+
* %%
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
* #L%
19+
*/
120
package com.flowingcode.vaadin.addons.chipfield.integration;
221

322
import com.flowingcode.vaadin.addons.chipfield.integration.rpc.JsonArrayList;

src/test/java/com/flowingcode/vaadin/addons/chipfield/integration/ViewIT.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*-
2+
* #%L
3+
* ChipField Addon
4+
* %%
5+
* Copyright (C) 2018 - 2021 Flowing Code
6+
* %%
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
* #L%
19+
*/
120
package com.flowingcode.vaadin.addons.chipfield.integration;
221

322
import static org.hamcrest.MatcherAssert.assertThat;

src/test/java/com/flowingcode/vaadin/addons/chipfield/integration/rpc/HasRpcSupport.java

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*-
2+
* #%L
3+
* ChipField Addon
4+
* %%
5+
* Copyright (C) 2018 - 2021 Flowing Code
6+
* %%
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
* #L%
19+
*/
120
package com.flowingcode.vaadin.addons.chipfield.integration.rpc;
221

322
import java.lang.reflect.InvocationHandler;
@@ -18,6 +37,9 @@
1837
import com.vaadin.flow.component.ClientCallable;
1938
import com.vaadin.testbench.HasDriver;
2039

40+
/**
41+
* @author Javier Godoy / Flowing Code
42+
*/
2143
public interface HasRpcSupport extends HasDriver {
2244

2345
/**

src/test/java/com/flowingcode/vaadin/addons/chipfield/integration/rpc/JreJsonArrayList.java

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*-
2+
* #%L
3+
* ChipField Addon
4+
* %%
5+
* Copyright (C) 2018 - 2021 Flowing Code
6+
* %%
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
* #L%
19+
*/
120
package com.flowingcode.vaadin.addons.chipfield.integration.rpc;
221

322
import java.util.AbstractCollection;
@@ -12,7 +31,11 @@
1231
import elemental.json.impl.JreJsonArray;
1332
import lombok.experimental.Delegate;
1433

15-
/** Server-side flavor of {@code JsonArrayList} */
34+
/**
35+
* Server-side flavor of {@code JsonArrayList}
36+
*
37+
* @author Javier Godoy / Flowing Code
38+
*/
1639
@SuppressWarnings("serial")
1740
class JreJsonArrayList<T> extends JreJsonArray implements JsonArrayList<T> {
1841

@@ -43,4 +66,4 @@ public List<T> asList() {
4366
// JsonArrayList#asList is unsupported
4467
throw new UnsupportedOperationException();
4568
}
46-
}
69+
}

src/test/java/com/flowingcode/vaadin/addons/chipfield/integration/rpc/JsonArrayList.java

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*-
2+
* #%L
3+
* ChipField Addon
4+
* %%
5+
* Copyright (C) 2018 - 2021 Flowing Code
6+
* %%
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
* #L%
19+
*/
120
package com.flowingcode.vaadin.addons.chipfield.integration.rpc;
221

322
import java.util.Collection;
@@ -19,6 +38,9 @@
1938
// - JsonArray cannot implement List it because the return type of get(int) is incompatible.
2039
// - List isn't too helpul, because most Matchers work with Iterable/Collection.
2140
// - JsonValue methods (JS type coercion, etc.) are not needed in integration tests.
41+
/**
42+
* @author Javier Godoy / Flowing Code
43+
*/
2244
public interface JsonArrayList<T> extends JsonValue, Collection<T> {
2345

2446
List<T> asList();

src/test/java/com/flowingcode/vaadin/addons/chipfield/integration/rpc/TestbenchJsonArrayList.java

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,33 @@
1+
/*-
2+
* #%L
3+
* ChipField Addon
4+
* %%
5+
* Copyright (C) 2018 - 2021 Flowing Code
6+
* %%
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
* #L%
19+
*/
120
package com.flowingcode.vaadin.addons.chipfield.integration.rpc;
221

322
import java.util.List;
423

524
import lombok.experimental.Delegate;
625

7-
/** Testbench-side flavor of {@code JsonArrayList} */
26+
/**
27+
* Testbench-side flavor of {@code JsonArrayList}
28+
*
29+
* @author Javier Godoy / Flowing Code
30+
*/
831
@SuppressWarnings("serial")
932
public class TestbenchJsonArrayList<T> implements JsonArrayList<T>, TestbenchValueWrapper {
1033

0 commit comments

Comments
 (0)