From: Maciej Slodczyk Date: Mon, 10 Feb 2020 14:12:39 +0000 (+0100) Subject: unit tests: add license headers X-Git-Tag: accepted/tizen/unified/20200214.120106~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=896d357af5de0ce44320ec95320ea85dcb710f40;p=platform%2Fcore%2Fsystem%2Fresourced.git unit tests: add license headers Change-Id: I4a6d761690c526fb1919688437784eafb947495f Signed-off-by: Maciej Slodczyk --- diff --git a/tests/cmocka-core.c b/tests/cmocka-core.c index e7e2730..099a1b9 100644 --- a/tests/cmocka-core.c +++ b/tests/cmocka-core.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include #include #include diff --git a/tests/cmocka-dbus-get-cpu-lists.c b/tests/cmocka-dbus-get-cpu-lists.c index 541b546..a453e88 100644 --- a/tests/cmocka-dbus-get-cpu-lists.c +++ b/tests/cmocka-dbus-get-cpu-lists.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include #include #include diff --git a/tests/cmocka-dbus-get-memory-lists.c b/tests/cmocka-dbus-get-memory-lists.c index f633ba2..a42c018 100644 --- a/tests/cmocka-dbus-get-memory-lists.c +++ b/tests/cmocka-dbus-get-memory-lists.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include #include #include diff --git a/tests/cmocka-file-helper.c b/tests/cmocka-file-helper.c index 5dde689..97aace2 100644 --- a/tests/cmocka-file-helper.c +++ b/tests/cmocka-file-helper.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include #include #include diff --git a/tests/cmocka-proc-add-app-info.c b/tests/cmocka-proc-add-app-info.c index 002eb17..82f9708 100644 --- a/tests/cmocka-proc-add-app-info.c +++ b/tests/cmocka-proc-add-app-info.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include #include #include diff --git a/tests/cmocka-proc-dbus-aul-group.c b/tests/cmocka-proc-dbus-aul-group.c index 8ae8b47..f0482ac 100644 --- a/tests/cmocka-proc-dbus-aul-group.c +++ b/tests/cmocka-proc-dbus-aul-group.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include #include #include diff --git a/tests/cmocka-proc-dbus-typecheck.c b/tests/cmocka-proc-dbus-typecheck.c index 9c271dc..dcfad07 100644 --- a/tests/cmocka-proc-dbus-typecheck.c +++ b/tests/cmocka-proc-dbus-typecheck.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include #include #include diff --git a/tests/cmocka-test-child-pid.c b/tests/cmocka-test-child-pid.c index 2a42ab3..9307c4b 100644 --- a/tests/cmocka-test-child-pid.c +++ b/tests/cmocka-test-child-pid.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include #include #include diff --git a/tests/cmocka-wrap.hpp b/tests/cmocka-wrap.hpp index 4ca9803..5bb2a1d 100644 --- a/tests/cmocka-wrap.hpp +++ b/tests/cmocka-wrap.hpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #pragma once // This is a wrapper file for including the below set of header files with a single #include diff --git a/tests/lowmem-dbus-env.cpp b/tests/lowmem-dbus-env.cpp index afb51a3..da618c7 100644 --- a/tests/lowmem-dbus-env.cpp +++ b/tests/lowmem-dbus-env.cpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include "lowmem-dbus-env.hpp" #include "cmocka-wrap.hpp" diff --git a/tests/lowmem-dbus-env.hpp b/tests/lowmem-dbus-env.hpp index 675a36a..a7578ba 100644 --- a/tests/lowmem-dbus-env.hpp +++ b/tests/lowmem-dbus-env.hpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #pragma once #include "lowmem-env.hpp" diff --git a/tests/lowmem-dbus-mock.cpp b/tests/lowmem-dbus-mock.cpp index 5cf781d..f766829 100644 --- a/tests/lowmem-dbus-mock.cpp +++ b/tests/lowmem-dbus-mock.cpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include "lowmem-mock.hpp" #include "lowmem-dbus-env.hpp" diff --git a/tests/lowmem-dbus-test.cpp b/tests/lowmem-dbus-test.cpp index a34b14d..0b7af5a 100644 --- a/tests/lowmem-dbus-test.cpp +++ b/tests/lowmem-dbus-test.cpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include "lowmem-dbus-env.hpp" #include "cmocka-wrap.hpp" diff --git a/tests/lowmem-env-mock.cpp b/tests/lowmem-env-mock.cpp index d0340e8..5a356a0 100644 --- a/tests/lowmem-env-mock.cpp +++ b/tests/lowmem-env-mock.cpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include "lowmem-mock.hpp" #include "lowmem-env.hpp" diff --git a/tests/lowmem-env.cpp b/tests/lowmem-env.cpp index 99b7436..5397a4c 100644 --- a/tests/lowmem-env.cpp +++ b/tests/lowmem-env.cpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include "lowmem-env.hpp" #include "cmocka-wrap.hpp" diff --git a/tests/lowmem-env.hpp b/tests/lowmem-env.hpp index c411f84..07575e7 100644 --- a/tests/lowmem-env.hpp +++ b/tests/lowmem-env.hpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #pragma once extern "C" { diff --git a/tests/lowmem-limit-env.cpp b/tests/lowmem-limit-env.cpp index a909ee3..9b66d0a 100644 --- a/tests/lowmem-limit-env.cpp +++ b/tests/lowmem-limit-env.cpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include diff --git a/tests/lowmem-limit-env.hpp b/tests/lowmem-limit-env.hpp index f57fbd4..655ce07 100644 --- a/tests/lowmem-limit-env.hpp +++ b/tests/lowmem-limit-env.hpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #pragma once #include diff --git a/tests/lowmem-limit-mock.cpp b/tests/lowmem-limit-mock.cpp index 81a96e9..fb8f030 100644 --- a/tests/lowmem-limit-mock.cpp +++ b/tests/lowmem-limit-mock.cpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include "lowmem-limit-env.hpp" #include "lowmem-mock.hpp" diff --git a/tests/lowmem-limit-test.cpp b/tests/lowmem-limit-test.cpp index 6cef839..915472f 100644 --- a/tests/lowmem-limit-test.cpp +++ b/tests/lowmem-limit-test.cpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include #include #include diff --git a/tests/lowmem-mock.hpp b/tests/lowmem-mock.hpp index 993c81b..0977ce9 100644 --- a/tests/lowmem-mock.hpp +++ b/tests/lowmem-mock.hpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #pragma once #include diff --git a/tests/lowmem-system-env.cpp b/tests/lowmem-system-env.cpp index 1f902ff..65cc586 100644 --- a/tests/lowmem-system-env.cpp +++ b/tests/lowmem-system-env.cpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include "lowmem-system-env.hpp" #include "cmocka-wrap.hpp" diff --git a/tests/lowmem-system-env.hpp b/tests/lowmem-system-env.hpp index 05bab72..aedf419 100644 --- a/tests/lowmem-system-env.hpp +++ b/tests/lowmem-system-env.hpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #pragma once #include "lowmem-env.hpp" diff --git a/tests/lowmem-system-mock.cpp b/tests/lowmem-system-mock.cpp index 1d4b437..ff88ade 100644 --- a/tests/lowmem-system-mock.cpp +++ b/tests/lowmem-system-mock.cpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include "lowmem-mock.hpp" #include "lowmem-system-env.hpp" diff --git a/tests/lowmem-system-test.cpp b/tests/lowmem-system-test.cpp index 4bb1549..fd223b5 100644 --- a/tests/lowmem-system-test.cpp +++ b/tests/lowmem-system-test.cpp @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include "lowmem-system-env.hpp" #include "cmocka-wrap.hpp" diff --git a/tests/test-block-monitor.c b/tests/test-block-monitor.c index e5ba798..4c0e6fd 100644 --- a/tests/test-block-monitor.c +++ b/tests/test-block-monitor.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-block.c b/tests/test-block.c index e5ba798..4c0e6fd 100644 --- a/tests/test-block.c +++ b/tests/test-block.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-common-procfs.c b/tests/test-common-procfs.c index e5ba798..4c0e6fd 100644 --- a/tests/test-common-procfs.c +++ b/tests/test-common-procfs.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-common.c b/tests/test-common.c index e5ba798..4c0e6fd 100644 --- a/tests/test-common.c +++ b/tests/test-common.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-cpu.c b/tests/test-cpu.c index e5ba798..4c0e6fd 100644 --- a/tests/test-cpu.c +++ b/tests/test-cpu.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-freezer.c b/tests/test-freezer.c index e5ba798..4c0e6fd 100644 --- a/tests/test-freezer.c +++ b/tests/test-freezer.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-heart-battery.c b/tests/test-heart-battery.c index e5ba798..4c0e6fd 100644 --- a/tests/test-heart-battery.c +++ b/tests/test-heart-battery.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-heart-cpu.c b/tests/test-heart-cpu.c index e5ba798..4c0e6fd 100644 --- a/tests/test-heart-cpu.c +++ b/tests/test-heart-cpu.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-heart-dbus.c b/tests/test-heart-dbus.c index e5ba798..4c0e6fd 100644 --- a/tests/test-heart-dbus.c +++ b/tests/test-heart-dbus.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-heart-memory.c b/tests/test-heart-memory.c index e5ba798..4c0e6fd 100644 --- a/tests/test-heart-memory.c +++ b/tests/test-heart-memory.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-heart-others.c b/tests/test-heart-others.c index e5ba798..4c0e6fd 100644 --- a/tests/test-heart-others.c +++ b/tests/test-heart-others.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-mem-stress.c b/tests/test-mem-stress.c index e5ba798..4c0e6fd 100644 --- a/tests/test-mem-stress.c +++ b/tests/test-mem-stress.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-memory-others.c b/tests/test-memory-others.c index e5ba798..4c0e6fd 100644 --- a/tests/test-memory-others.c +++ b/tests/test-memory-others.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-proc-others.c b/tests/test-proc-others.c index e5ba798..4c0e6fd 100644 --- a/tests/test-proc-others.c +++ b/tests/test-proc-others.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-proc-process.c b/tests/test-proc-process.c index e5ba798..4c0e6fd 100644 --- a/tests/test-proc-process.c +++ b/tests/test-proc-process.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-swap-others.c b/tests/test-swap-others.c index e5ba798..4c0e6fd 100644 --- a/tests/test-swap-others.c +++ b/tests/test-swap-others.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-swap.c b/tests/test-swap.c index e5ba798..4c0e6fd 100644 --- a/tests/test-swap.c +++ b/tests/test-swap.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[]) diff --git a/tests/test-vip-agent.c b/tests/test-vip-agent.c index e5ba798..4c0e6fd 100644 --- a/tests/test-vip-agent.c +++ b/tests/test-vip-agent.c @@ -1,3 +1,22 @@ +/* + * resourced + * + * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + #include int main(int argc, char* argv[])