| 1 |
/*************************************************************************** |
/* SPDX-License-Identifier: GPL-3.0-or-later */ |
| 2 |
test_article_view_log.c - description |
/* |
| 3 |
------------------- |
* test_article_view_log |
| 4 |
Copyright : (C) 2004-2025 by Leaflet |
* - tester for data persistence and query of article view log |
| 5 |
Email : leaflet@leafok.com |
* |
| 6 |
***************************************************************************/ |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
| 7 |
|
*/ |
|
/*************************************************************************** |
|
|
* * |
|
|
* 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. * |
|
|
* * |
|
|
***************************************************************************/ |
|
| 8 |
|
|
| 9 |
#include "article_view_log.h" |
#include "article_view_log.h" |
| 10 |
#include <stdio.h> |
#include <stdio.h> |
| 40 |
printf("Base cnt = %d, Inc cnt = %d\n", view_log.aid_base_cnt, view_log.aid_inc_cnt); |
printf("Base cnt = %d, Inc cnt = %d\n", view_log.aid_base_cnt, view_log.aid_inc_cnt); |
| 41 |
|
|
| 42 |
article_view_log_unload(&view_log); |
article_view_log_unload(&view_log); |
| 43 |
|
|
| 44 |
return 0; |
return 0; |
| 45 |
} |
} |