Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
All changes to the repository will be reported here

## [Unreleased]
### Removed
- Copyright statements from test files

## [0.2.1]
### Updated
- README file with optarg struct usage
Expand Down
17 changes: 0 additions & 17 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
#[[
This program is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/.

Author Marco M. Mosca, email: marcomichele.mosca@gmail.com
]]

project(cmd_api_test LANGUAGES C)

add_executable (longopt_basic ${CMAKE_CURRENT_SOURCE_DIR}/longopt_basic.c)
Expand Down
16 changes: 0 additions & 16 deletions tests/longopt_basic.c
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
This program is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/.

Author Marco M. Mosca, email: marcomichele.mosca@gmail.com
*/
#include "cmd-api.h"
#include "assert.h"

Expand Down
16 changes: 0 additions & 16 deletions tests/longopt_format_missedbar_error.c
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
This program is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/.

Author Marco M. Mosca, email: marcomichele.mosca@gmail.com
*/
#include "cmd-api.h"


Expand Down
16 changes: 0 additions & 16 deletions tests/longopt_format_missedendbar_error.c
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
This program is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/.

Author Marco M. Mosca, email: marcomichele.mosca@gmail.com
*/
#include "cmd-api.h"


Expand Down
16 changes: 0 additions & 16 deletions tests/longopt_missedarg_error.c
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
This program is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/.

Author Marco M. Mosca, email: marcomichele.mosca@gmail.com
*/
#include "cmd-api.h"


Expand Down
16 changes: 0 additions & 16 deletions tests/longopt_noargexpected_error.c
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
This program is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/.

Author Marco M. Mosca, email: marcomichele.mosca@gmail.com
*/
#include "cmd-api.h"


Expand Down
16 changes: 0 additions & 16 deletions tests/longopt_nodash_error.c
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
This program is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/.

Author Marco M. Mosca, email: marcomichele.mosca@gmail.com
*/
#include "cmd-api.h"


Expand Down
16 changes: 0 additions & 16 deletions tests/longopt_shortopt.c
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
This program is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/.

Author Marco M. Mosca, email: marcomichele.mosca@gmail.com
*/
#include "cmd-api.h"
#include "assert.h"

Expand Down
16 changes: 0 additions & 16 deletions tests/longopt_unknownopt_error.c
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
This program is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/.

Author Marco M. Mosca, email: marcomichele.mosca@gmail.com
*/
#include "cmd-api.h"


Expand Down
Loading