aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/client_test/CMakeLists.txt3
-rw-r--r--test/client_test/client_main.c17
-rw-r--r--test/client_test/client_test_common.c17
-rw-r--r--test/client_test/client_test_common.h17
-rw-r--r--test/client_test/client_test_init_term.c17
-rw-r--r--test/client_test/client_test_register_notify.c17
-rw-r--r--test/client_test/client_test_shiftposition.c17
-rw-r--r--test/client_test/client_test_speed.c17
-rw-r--r--test/client_test/client_test_suites.h17
-rw-r--r--test/client_test/client_test_tacho.c17
-rw-r--r--test/client_test/client_test_telltale.c17
-rw-r--r--test/client_test/client_test_tripcomputer.c17
-rw-r--r--test/client_test/dummy_server.c17
13 files changed, 207 insertions, 0 deletions
diff --git a/test/client_test/CMakeLists.txt b/test/client_test/CMakeLists.txt
index 940326b..53819da 100644
--- a/test/client_test/CMakeLists.txt
+++ b/test/client_test/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (c) 2021, Nippon Seiki Co., Ltd.
+# SPDX-License-Identifier: Apache-2.0
+
cmake_minimum_required(VERSION 2.8)
pkg_check_modules(IPC REQUIRED ipc)
diff --git a/test/client_test/client_main.c b/test/client_test/client_main.c
index aca9d55..d07a952 100644
--- a/test/client_test/client_main.c
+++ b/test/client_test/client_main.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright (c) 2021, Nippon Seiki Co., Ltd.
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * 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.
+ */
+
// Test program for IC-service IPC inplementation
#include <stdio.h>
#include <stdlib.h>
diff --git a/test/client_test/client_test_common.c b/test/client_test/client_test_common.c
index 5b71630..3b1418a 100644
--- a/test/client_test/client_test_common.c
+++ b/test/client_test/client_test_common.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright (c) 2021, Nippon Seiki Co., Ltd.
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * 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 <stdio.h>
#include <string.h>
#include <sys/socket.h>
diff --git a/test/client_test/client_test_common.h b/test/client_test/client_test_common.h
index 36a990f..d19e895 100644
--- a/test/client_test/client_test_common.h
+++ b/test/client_test/client_test_common.h
@@ -1,3 +1,20 @@
+/*
+ * Copyright (c) 2021, Nippon Seiki Co., Ltd.
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * 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.
+ */
+
#ifndef CLIENT_TEST_COMMON_H
#define CLIENT_TEST_COMMON_H
diff --git a/test/client_test/client_test_init_term.c b/test/client_test/client_test_init_term.c
index 00f2f13..e698ef5 100644
--- a/test/client_test/client_test_init_term.c
+++ b/test/client_test/client_test_init_term.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright (c) 2021, Nippon Seiki Co., Ltd.
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * 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 <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/test/client_test/client_test_register_notify.c b/test/client_test/client_test_register_notify.c
index 2458e73..7b2f280 100644
--- a/test/client_test/client_test_register_notify.c
+++ b/test/client_test/client_test_register_notify.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright (c) 2021, Nippon Seiki Co., Ltd.
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * 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 <string.h>
#include <stdbool.h>
diff --git a/test/client_test/client_test_shiftposition.c b/test/client_test/client_test_shiftposition.c
index ead199c..c1bf23b 100644
--- a/test/client_test/client_test_shiftposition.c
+++ b/test/client_test/client_test_shiftposition.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright (c) 2021, Nippon Seiki Co., Ltd.
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * 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 <CUnit/CUnit.h>
#include <cluster_api.h>
diff --git a/test/client_test/client_test_speed.c b/test/client_test/client_test_speed.c
index c30e2e2..e0805ee 100644
--- a/test/client_test/client_test_speed.c
+++ b/test/client_test/client_test_speed.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright (c) 2021, Nippon Seiki Co., Ltd.
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * 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 <CUnit/CUnit.h>
#include <cluster_api.h>
diff --git a/test/client_test/client_test_suites.h b/test/client_test/client_test_suites.h
index 8306944..ebac8cd 100644
--- a/test/client_test/client_test_suites.h
+++ b/test/client_test/client_test_suites.h
@@ -1,3 +1,20 @@
+/*
+ * Copyright (c) 2021, Nippon Seiki Co., Ltd.
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * 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.
+ */
+
#ifndef CLIENT_TEST_SUITES_H
#define CLIENT_TEST_SUITES_H
diff --git a/test/client_test/client_test_tacho.c b/test/client_test/client_test_tacho.c
index 97b39e5..574c2f8 100644
--- a/test/client_test/client_test_tacho.c
+++ b/test/client_test/client_test_tacho.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright (c) 2021, Nippon Seiki Co., Ltd.
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * 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 <CUnit/CUnit.h>
#include <cluster_api.h>
diff --git a/test/client_test/client_test_telltale.c b/test/client_test/client_test_telltale.c
index b5dd14a..d5c7daf 100644
--- a/test/client_test/client_test_telltale.c
+++ b/test/client_test/client_test_telltale.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright (c) 2021, Nippon Seiki Co., Ltd.
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * 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 <CUnit/CUnit.h>
#include <cluster_api.h>
diff --git a/test/client_test/client_test_tripcomputer.c b/test/client_test/client_test_tripcomputer.c
index a352230..1e082db 100644
--- a/test/client_test/client_test_tripcomputer.c
+++ b/test/client_test/client_test_tripcomputer.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright (c) 2021, Nippon Seiki Co., Ltd.
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * 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 <CUnit/CUnit.h>
#include <cluster_api.h>
diff --git a/test/client_test/dummy_server.c b/test/client_test/dummy_server.c
index 987552a..bf0b3e6 100644
--- a/test/client_test/dummy_server.c
+++ b/test/client_test/dummy_server.c
@@ -1,3 +1,20 @@
+/*
+ * Copyright (c) 2021, Nippon Seiki Co., Ltd.
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * 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 "client_test_common.h"
#include <stdio.h>