From 223361f571bdc4becdb2df801ad99a203ed82d50 Mon Sep 17 00:00:00 2001 From: qiao_jianqiang Date: Mon, 23 May 2022 16:59:36 +0800 Subject: [PATCH] update copyright and oat Signed-off-by: qiao_jianqiang --- OAT.xml | 5 ++- entry/src/main/ets/MainAbility/app.ets | 32 +++++++++++++------ .../src/main/ets/MainAbility/pages/index.ets | 32 +++++++++++++------ .../main/ets/components/BaseDescription.ets | 32 +++++++++++++------ .../src/main/ets/components/BaseMatcher.ets | 32 +++++++++++++------ .../src/main/ets/components/CustomMatcher.ets | 32 +++++++++++++------ .../src/main/ets/components/Description.ets | 32 +++++++++++++------ .../main/ets/components/DiagnosingMatcher.ets | 32 +++++++++++++------ .../main/ets/components/FeatureMatcher.ets | 32 +++++++++++++------ hamcrest/src/main/ets/components/Matcher.ets | 32 +++++++++++++------ .../src/main/ets/components/MatcherAssert.ets | 32 +++++++++++++------ .../main/ets/components/NullDescription.ets | 32 +++++++++++++------ .../main/ets/components/SelfDescribing.ets | 32 +++++++++++++------ .../main/ets/components/StringDescription.ets | 32 +++++++++++++------ .../main/ets/components/beans/HasProperty.ets | 32 +++++++++++++------ .../components/collection/ArrayMatching.ets | 32 +++++++++++++------ .../components/collection/HasItemInArray.ets | 32 +++++++++++++------ .../ets/components/collection/IsArray.ets | 32 +++++++++++++------ .../components/collection/IsArrayWithSize.ets | 32 +++++++++++++------ .../main/ets/components/collection/IsIn.ets | 32 +++++++++++++------ .../components/collection/IsMapContaining.ets | 32 +++++++++++++------ .../components/collection/IsMapWithSize.ets | 32 +++++++++++++------ .../src/main/ets/components/core/AllOf.ets | 32 +++++++++++++------ .../src/main/ets/components/core/AnyOf.ets | 32 +++++++++++++------ .../ets/components/core/CombinableMatcher.ets | 32 +++++++++++++------ .../src/main/ets/components/core/Every.ets | 32 +++++++++++++------ hamcrest/src/main/ets/components/core/Is.ets | 32 +++++++++++++------ .../main/ets/components/core/IsAnything.ets | 32 +++++++++++++------ .../src/main/ets/components/core/IsEqual.ets | 32 +++++++++++++------ .../main/ets/components/core/IsInstanceOf.ets | 32 +++++++++++++------ .../components/core/IsIterableContaining.ets | 32 +++++++++++++------ .../src/main/ets/components/core/IsNot.ets | 32 +++++++++++++------ .../src/main/ets/components/core/IsNull.ets | 32 +++++++++++++------ .../src/main/ets/components/core/IsSame.ets | 32 +++++++++++++------ .../components/core/ShortcutCombination.ets | 32 +++++++++++++------ .../ets/components/core/StringContains.ets | 32 +++++++++++++------ .../ets/components/core/StringEndsWith.ets | 32 +++++++++++++------ .../core/StringRegularExpression.ets | 32 +++++++++++++------ .../ets/components/core/StringStartsWith.ets | 32 +++++++++++++------ .../ets/components/core/SubstringMatcher.ets | 32 +++++++++++++------ .../ets/components/internal/ArrayIterator.ets | 32 +++++++++++++------ .../ets/components/internal/NullSafety.ets | 32 +++++++++++++------ .../internal/SelfDescribingValue.ets | 32 +++++++++++++------ .../internal/SelfDescribingValueIterator.ets | 32 +++++++++++++------ .../main/ets/components/number/IsCloseTo.ets | 32 +++++++++++++------ .../src/main/ets/components/number/IsNaN.ets | 32 +++++++++++++------ .../components/number/OrderingComparison.ets | 32 +++++++++++++------ .../components/text/CharSequenceLength.ets | 32 +++++++++++++------ .../ets/components/text/IsBlankString.ets | 32 +++++++++++++------ .../ets/components/text/IsEmptyString.ets | 32 +++++++++++++------ .../text/IsEqualCompressingWhiteSpace.ets | 32 +++++++++++++------ .../components/text/IsEqualIgnoringCase.ets | 32 +++++++++++++------ .../ets/components/text/MatchesPattern.ets | 32 +++++++++++++------ 53 files changed, 1200 insertions(+), 469 deletions(-) diff --git a/OAT.xml b/OAT.xml index 4d6e6bc..29b566e 100644 --- a/OAT.xml +++ b/OAT.xml @@ -2,8 +2,11 @@ + + + - + diff --git a/entry/src/main/ets/MainAbility/app.ets b/entry/src/main/ets/MainAbility/app.ets index 1325479..821faa0 100644 --- a/entry/src/main/ets/MainAbility/app.ets +++ b/entry/src/main/ets/MainAbility/app.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ export default { diff --git a/entry/src/main/ets/MainAbility/pages/index.ets b/entry/src/main/ets/MainAbility/pages/index.ets index 2fe995e..c21681e 100644 --- a/entry/src/main/ets/MainAbility/pages/index.ets +++ b/entry/src/main/ets/MainAbility/pages/index.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {HasProperty} from '@ohos/hamcrest' diff --git a/hamcrest/src/main/ets/components/BaseDescription.ets b/hamcrest/src/main/ets/components/BaseDescription.ets index de9067f..af95624 100644 --- a/hamcrest/src/main/ets/components/BaseDescription.ets +++ b/hamcrest/src/main/ets/components/BaseDescription.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { SelfDescribing } from './SelfDescribing' diff --git a/hamcrest/src/main/ets/components/BaseMatcher.ets b/hamcrest/src/main/ets/components/BaseMatcher.ets index 1644cef..b7f1083 100644 --- a/hamcrest/src/main/ets/components/BaseMatcher.ets +++ b/hamcrest/src/main/ets/components/BaseMatcher.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { Matcher } from './Matcher' diff --git a/hamcrest/src/main/ets/components/CustomMatcher.ets b/hamcrest/src/main/ets/components/CustomMatcher.ets index 7edc677..cb27f04 100644 --- a/hamcrest/src/main/ets/components/CustomMatcher.ets +++ b/hamcrest/src/main/ets/components/CustomMatcher.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {BaseMatcher} from './BaseMatcher' diff --git a/hamcrest/src/main/ets/components/Description.ets b/hamcrest/src/main/ets/components/Description.ets index 6402406..1053c69 100644 --- a/hamcrest/src/main/ets/components/Description.ets +++ b/hamcrest/src/main/ets/components/Description.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { SelfDescribing } from './SelfDescribing' diff --git a/hamcrest/src/main/ets/components/DiagnosingMatcher.ets b/hamcrest/src/main/ets/components/DiagnosingMatcher.ets index ee0dd99..6dfa840 100644 --- a/hamcrest/src/main/ets/components/DiagnosingMatcher.ets +++ b/hamcrest/src/main/ets/components/DiagnosingMatcher.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { BaseMatcher } from './BaseMatcher' diff --git a/hamcrest/src/main/ets/components/FeatureMatcher.ets b/hamcrest/src/main/ets/components/FeatureMatcher.ets index 38d0375..6a4081d 100644 --- a/hamcrest/src/main/ets/components/FeatureMatcher.ets +++ b/hamcrest/src/main/ets/components/FeatureMatcher.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {DiagnosingMatcher} from './DiagnosingMatcher' diff --git a/hamcrest/src/main/ets/components/Matcher.ets b/hamcrest/src/main/ets/components/Matcher.ets index 1e45d84..3b12adf 100644 --- a/hamcrest/src/main/ets/components/Matcher.ets +++ b/hamcrest/src/main/ets/components/Matcher.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {SelfDescribing} from './SelfDescribing' diff --git a/hamcrest/src/main/ets/components/MatcherAssert.ets b/hamcrest/src/main/ets/components/MatcherAssert.ets index 774d178..35ef59f 100644 --- a/hamcrest/src/main/ets/components/MatcherAssert.ets +++ b/hamcrest/src/main/ets/components/MatcherAssert.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {Matcher} from './Matcher' diff --git a/hamcrest/src/main/ets/components/NullDescription.ets b/hamcrest/src/main/ets/components/NullDescription.ets index c4ccc45..0eaf4eb 100644 --- a/hamcrest/src/main/ets/components/NullDescription.ets +++ b/hamcrest/src/main/ets/components/NullDescription.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { Description } from './Description'; diff --git a/hamcrest/src/main/ets/components/SelfDescribing.ets b/hamcrest/src/main/ets/components/SelfDescribing.ets index 40333fc..8e15445 100644 --- a/hamcrest/src/main/ets/components/SelfDescribing.ets +++ b/hamcrest/src/main/ets/components/SelfDescribing.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {Description} from './Description' diff --git a/hamcrest/src/main/ets/components/StringDescription.ets b/hamcrest/src/main/ets/components/StringDescription.ets index 1e93881..b9a9b60 100644 --- a/hamcrest/src/main/ets/components/StringDescription.ets +++ b/hamcrest/src/main/ets/components/StringDescription.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { BaseDescription } from './BaseDescription'; diff --git a/hamcrest/src/main/ets/components/beans/HasProperty.ets b/hamcrest/src/main/ets/components/beans/HasProperty.ets index cb67b6c..635535c 100644 --- a/hamcrest/src/main/ets/components/beans/HasProperty.ets +++ b/hamcrest/src/main/ets/components/beans/HasProperty.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { Description } from '../Description'; diff --git a/hamcrest/src/main/ets/components/collection/ArrayMatching.ets b/hamcrest/src/main/ets/components/collection/ArrayMatching.ets index c495362..cfa1379 100644 --- a/hamcrest/src/main/ets/components/collection/ArrayMatching.ets +++ b/hamcrest/src/main/ets/components/collection/ArrayMatching.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {Matcher} from '../Matcher' diff --git a/hamcrest/src/main/ets/components/collection/HasItemInArray.ets b/hamcrest/src/main/ets/components/collection/HasItemInArray.ets index c8802c2..d4bb7b7 100644 --- a/hamcrest/src/main/ets/components/collection/HasItemInArray.ets +++ b/hamcrest/src/main/ets/components/collection/HasItemInArray.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {Matcher} from '../Matcher' diff --git a/hamcrest/src/main/ets/components/collection/IsArray.ets b/hamcrest/src/main/ets/components/collection/IsArray.ets index 3f2846c..dd0aa18 100644 --- a/hamcrest/src/main/ets/components/collection/IsArray.ets +++ b/hamcrest/src/main/ets/components/collection/IsArray.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {BaseMatcher} from '../BaseMatcher'; diff --git a/hamcrest/src/main/ets/components/collection/IsArrayWithSize.ets b/hamcrest/src/main/ets/components/collection/IsArrayWithSize.ets index 6eb2680..84adb88 100644 --- a/hamcrest/src/main/ets/components/collection/IsArrayWithSize.ets +++ b/hamcrest/src/main/ets/components/collection/IsArrayWithSize.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {FeatureMatcher} from '../FeatureMatcher'; diff --git a/hamcrest/src/main/ets/components/collection/IsIn.ets b/hamcrest/src/main/ets/components/collection/IsIn.ets index 3154de8..235872b 100644 --- a/hamcrest/src/main/ets/components/collection/IsIn.ets +++ b/hamcrest/src/main/ets/components/collection/IsIn.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {BaseMatcher} from '../BaseMatcher'; diff --git a/hamcrest/src/main/ets/components/collection/IsMapContaining.ets b/hamcrest/src/main/ets/components/collection/IsMapContaining.ets index aacfd9c..3dce71b 100644 --- a/hamcrest/src/main/ets/components/collection/IsMapContaining.ets +++ b/hamcrest/src/main/ets/components/collection/IsMapContaining.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {Matcher} from '../Matcher' diff --git a/hamcrest/src/main/ets/components/collection/IsMapWithSize.ets b/hamcrest/src/main/ets/components/collection/IsMapWithSize.ets index 3ecce16..1b7a463 100644 --- a/hamcrest/src/main/ets/components/collection/IsMapWithSize.ets +++ b/hamcrest/src/main/ets/components/collection/IsMapWithSize.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {FeatureMatcher} from '../FeatureMatcher'; diff --git a/hamcrest/src/main/ets/components/core/AllOf.ets b/hamcrest/src/main/ets/components/core/AllOf.ets index cd6e6ea..22f7ece 100644 --- a/hamcrest/src/main/ets/components/core/AllOf.ets +++ b/hamcrest/src/main/ets/components/core/AllOf.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { DiagnosingMatcher } from '../DiagnosingMatcher'; diff --git a/hamcrest/src/main/ets/components/core/AnyOf.ets b/hamcrest/src/main/ets/components/core/AnyOf.ets index 5005178..80536a7 100644 --- a/hamcrest/src/main/ets/components/core/AnyOf.ets +++ b/hamcrest/src/main/ets/components/core/AnyOf.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { Description } from '../Description'; diff --git a/hamcrest/src/main/ets/components/core/CombinableMatcher.ets b/hamcrest/src/main/ets/components/core/CombinableMatcher.ets index be37e09..272705d 100644 --- a/hamcrest/src/main/ets/components/core/CombinableMatcher.ets +++ b/hamcrest/src/main/ets/components/core/CombinableMatcher.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {DiagnosingMatcher} from '../DiagnosingMatcher'; diff --git a/hamcrest/src/main/ets/components/core/Every.ets b/hamcrest/src/main/ets/components/core/Every.ets index 0515feb..0792e5c 100644 --- a/hamcrest/src/main/ets/components/core/Every.ets +++ b/hamcrest/src/main/ets/components/core/Every.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {Description} from '../Description'; diff --git a/hamcrest/src/main/ets/components/core/Is.ets b/hamcrest/src/main/ets/components/core/Is.ets index cb5a9e2..03303e8 100644 --- a/hamcrest/src/main/ets/components/core/Is.ets +++ b/hamcrest/src/main/ets/components/core/Is.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {BaseMatcher} from '../BaseMatcher'; diff --git a/hamcrest/src/main/ets/components/core/IsAnything.ets b/hamcrest/src/main/ets/components/core/IsAnything.ets index 4ba2b04..a38fcf6 100644 --- a/hamcrest/src/main/ets/components/core/IsAnything.ets +++ b/hamcrest/src/main/ets/components/core/IsAnything.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { Description } from '../Description'; diff --git a/hamcrest/src/main/ets/components/core/IsEqual.ets b/hamcrest/src/main/ets/components/core/IsEqual.ets index dfc790e..14d75d4 100644 --- a/hamcrest/src/main/ets/components/core/IsEqual.ets +++ b/hamcrest/src/main/ets/components/core/IsEqual.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {BaseMatcher} from '../BaseMatcher'; diff --git a/hamcrest/src/main/ets/components/core/IsInstanceOf.ets b/hamcrest/src/main/ets/components/core/IsInstanceOf.ets index 81fc4d4..6bbfbfe 100644 --- a/hamcrest/src/main/ets/components/core/IsInstanceOf.ets +++ b/hamcrest/src/main/ets/components/core/IsInstanceOf.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {Description} from '../Description'; diff --git a/hamcrest/src/main/ets/components/core/IsIterableContaining.ets b/hamcrest/src/main/ets/components/core/IsIterableContaining.ets index bd0160a..b1a4650 100644 --- a/hamcrest/src/main/ets/components/core/IsIterableContaining.ets +++ b/hamcrest/src/main/ets/components/core/IsIterableContaining.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {Description} from '../Description'; diff --git a/hamcrest/src/main/ets/components/core/IsNot.ets b/hamcrest/src/main/ets/components/core/IsNot.ets index 6517ede..e7333f3 100644 --- a/hamcrest/src/main/ets/components/core/IsNot.ets +++ b/hamcrest/src/main/ets/components/core/IsNot.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { BaseMatcher } from '../BaseMatcher'; diff --git a/hamcrest/src/main/ets/components/core/IsNull.ets b/hamcrest/src/main/ets/components/core/IsNull.ets index 798863c..8eceedd 100644 --- a/hamcrest/src/main/ets/components/core/IsNull.ets +++ b/hamcrest/src/main/ets/components/core/IsNull.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { BaseMatcher } from '../BaseMatcher'; diff --git a/hamcrest/src/main/ets/components/core/IsSame.ets b/hamcrest/src/main/ets/components/core/IsSame.ets index e8aa695..0acba7f 100644 --- a/hamcrest/src/main/ets/components/core/IsSame.ets +++ b/hamcrest/src/main/ets/components/core/IsSame.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { BaseMatcher } from '../BaseMatcher'; diff --git a/hamcrest/src/main/ets/components/core/ShortcutCombination.ets b/hamcrest/src/main/ets/components/core/ShortcutCombination.ets index 40bae19..21d9ff0 100644 --- a/hamcrest/src/main/ets/components/core/ShortcutCombination.ets +++ b/hamcrest/src/main/ets/components/core/ShortcutCombination.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { BaseMatcher } from '../BaseMatcher'; diff --git a/hamcrest/src/main/ets/components/core/StringContains.ets b/hamcrest/src/main/ets/components/core/StringContains.ets index 4694024..c190c66 100644 --- a/hamcrest/src/main/ets/components/core/StringContains.ets +++ b/hamcrest/src/main/ets/components/core/StringContains.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {Matcher} from '../Matcher'; diff --git a/hamcrest/src/main/ets/components/core/StringEndsWith.ets b/hamcrest/src/main/ets/components/core/StringEndsWith.ets index 66f3254..e01f962 100644 --- a/hamcrest/src/main/ets/components/core/StringEndsWith.ets +++ b/hamcrest/src/main/ets/components/core/StringEndsWith.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {Matcher} from '../Matcher'; diff --git a/hamcrest/src/main/ets/components/core/StringRegularExpression.ets b/hamcrest/src/main/ets/components/core/StringRegularExpression.ets index 769f5b5..fd3070c 100644 --- a/hamcrest/src/main/ets/components/core/StringRegularExpression.ets +++ b/hamcrest/src/main/ets/components/core/StringRegularExpression.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {DiagnosingMatcher} from '../DiagnosingMatcher'; diff --git a/hamcrest/src/main/ets/components/core/StringStartsWith.ets b/hamcrest/src/main/ets/components/core/StringStartsWith.ets index 1fb73b2..4b50282 100644 --- a/hamcrest/src/main/ets/components/core/StringStartsWith.ets +++ b/hamcrest/src/main/ets/components/core/StringStartsWith.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { Matcher } from '../Matcher'; diff --git a/hamcrest/src/main/ets/components/core/SubstringMatcher.ets b/hamcrest/src/main/ets/components/core/SubstringMatcher.ets index 8ce2316..9a4460b 100644 --- a/hamcrest/src/main/ets/components/core/SubstringMatcher.ets +++ b/hamcrest/src/main/ets/components/core/SubstringMatcher.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { Description } from '../Description'; diff --git a/hamcrest/src/main/ets/components/internal/ArrayIterator.ets b/hamcrest/src/main/ets/components/internal/ArrayIterator.ets index 76b8392..6c3341c 100644 --- a/hamcrest/src/main/ets/components/internal/ArrayIterator.ets +++ b/hamcrest/src/main/ets/components/internal/ArrayIterator.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ export class ArrayIterator{ diff --git a/hamcrest/src/main/ets/components/internal/NullSafety.ets b/hamcrest/src/main/ets/components/internal/NullSafety.ets index fa8156d..a678e3c 100644 --- a/hamcrest/src/main/ets/components/internal/NullSafety.ets +++ b/hamcrest/src/main/ets/components/internal/NullSafety.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {IsNull} from '../core/IsNull' diff --git a/hamcrest/src/main/ets/components/internal/SelfDescribingValue.ets b/hamcrest/src/main/ets/components/internal/SelfDescribingValue.ets index 97d501c..5bb6669 100644 --- a/hamcrest/src/main/ets/components/internal/SelfDescribingValue.ets +++ b/hamcrest/src/main/ets/components/internal/SelfDescribingValue.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {SelfDescribing} from '../SelfDescribing' diff --git a/hamcrest/src/main/ets/components/internal/SelfDescribingValueIterator.ets b/hamcrest/src/main/ets/components/internal/SelfDescribingValueIterator.ets index 1131496..331b9ae 100644 --- a/hamcrest/src/main/ets/components/internal/SelfDescribingValueIterator.ets +++ b/hamcrest/src/main/ets/components/internal/SelfDescribingValueIterator.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ export class SelfDescribingValueIterator{ diff --git a/hamcrest/src/main/ets/components/number/IsCloseTo.ets b/hamcrest/src/main/ets/components/number/IsCloseTo.ets index 8ff2557..d63b437 100644 --- a/hamcrest/src/main/ets/components/number/IsCloseTo.ets +++ b/hamcrest/src/main/ets/components/number/IsCloseTo.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {Description} from '../Description'; diff --git a/hamcrest/src/main/ets/components/number/IsNaN.ets b/hamcrest/src/main/ets/components/number/IsNaN.ets index f317790..be503d7 100644 --- a/hamcrest/src/main/ets/components/number/IsNaN.ets +++ b/hamcrest/src/main/ets/components/number/IsNaN.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {Description} from '../Description'; diff --git a/hamcrest/src/main/ets/components/number/OrderingComparison.ets b/hamcrest/src/main/ets/components/number/OrderingComparison.ets index e1cd71e..a6414f9 100644 --- a/hamcrest/src/main/ets/components/number/OrderingComparison.ets +++ b/hamcrest/src/main/ets/components/number/OrderingComparison.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {Matcher} from '../Matcher'; diff --git a/hamcrest/src/main/ets/components/text/CharSequenceLength.ets b/hamcrest/src/main/ets/components/text/CharSequenceLength.ets index 39f4792..3a859a2 100644 --- a/hamcrest/src/main/ets/components/text/CharSequenceLength.ets +++ b/hamcrest/src/main/ets/components/text/CharSequenceLength.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {FeatureMatcher} from '../FeatureMatcher'; diff --git a/hamcrest/src/main/ets/components/text/IsBlankString.ets b/hamcrest/src/main/ets/components/text/IsBlankString.ets index 0cb5dab..311b511 100644 --- a/hamcrest/src/main/ets/components/text/IsBlankString.ets +++ b/hamcrest/src/main/ets/components/text/IsBlankString.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { Description } from '../Description'; diff --git a/hamcrest/src/main/ets/components/text/IsEmptyString.ets b/hamcrest/src/main/ets/components/text/IsEmptyString.ets index c0bb98c..0f6f478 100644 --- a/hamcrest/src/main/ets/components/text/IsEmptyString.ets +++ b/hamcrest/src/main/ets/components/text/IsEmptyString.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { Description } from '../Description'; diff --git a/hamcrest/src/main/ets/components/text/IsEqualCompressingWhiteSpace.ets b/hamcrest/src/main/ets/components/text/IsEqualCompressingWhiteSpace.ets index f033160..7eed655 100644 --- a/hamcrest/src/main/ets/components/text/IsEqualCompressingWhiteSpace.ets +++ b/hamcrest/src/main/ets/components/text/IsEqualCompressingWhiteSpace.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {Description} from '../Description'; diff --git a/hamcrest/src/main/ets/components/text/IsEqualIgnoringCase.ets b/hamcrest/src/main/ets/components/text/IsEqualIgnoringCase.ets index e0176d5..071e9f7 100644 --- a/hamcrest/src/main/ets/components/text/IsEqualIgnoringCase.ets +++ b/hamcrest/src/main/ets/components/text/IsEqualIgnoringCase.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import { BaseMatcher } from '../BaseMatcher' diff --git a/hamcrest/src/main/ets/components/text/MatchesPattern.ets b/hamcrest/src/main/ets/components/text/MatchesPattern.ets index c5d2542..1596a5c 100644 --- a/hamcrest/src/main/ets/components/text/MatchesPattern.ets +++ b/hamcrest/src/main/ets/components/text/MatchesPattern.ets @@ -1,16 +1,30 @@ /* +* BSD License +* * Copyright (C) 2022 Huawei Device Co., Ltd. -* Licensed under the BSD License, (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at * -* https://opensource.org/licenses/BSD-3-Clause +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions are met: +* +* Redistributions of source code must retain the above copyright notice, this list of +* conditions and the following disclaimer. Redistributions in binary form must reproduce +* the above copyright notice, this list of conditions and the following disclaimer in +* the documentation and/or other materials provided with the distribution. +* +* Neither the name of Hamcrest nor the names of its contributors may be used to endorse +* or promote products derived from this software without specific prior written +* permission. * -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +* SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +* DAMAGE. */ import {BaseMatcher} from '../BaseMatcher'; -- Gitee