mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 03:46:22 +00:00
Renamed history modules
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include <head-unit.h>
|
||||
#include "prof_history.h"
|
||||
#include "history.h"
|
||||
|
||||
void previous_on_empty_returns_null(void)
|
||||
{
|
||||
@@ -214,9 +214,9 @@ void start_session_add_new_submit_previous(void)
|
||||
p_history_append(history, item3);
|
||||
}
|
||||
|
||||
void register_prof_history_tests(void)
|
||||
void register_history_tests(void)
|
||||
{
|
||||
TEST_MODULE("prof_history tests");
|
||||
TEST_MODULE("history tests");
|
||||
TEST(previous_on_empty_returns_null);
|
||||
TEST(next_on_empty_returns_null);
|
||||
TEST(previous_once_returns_last);
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
int main(void)
|
||||
{
|
||||
register_prof_history_tests();
|
||||
register_history_tests();
|
||||
register_contact_list_tests();
|
||||
register_common_tests();
|
||||
register_autocomplete_tests();
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef TESTSUITE_H
|
||||
#define TESTSUITE_H
|
||||
|
||||
void register_prof_history_tests(void);
|
||||
void register_history_tests(void);
|
||||
void register_contact_list_tests(void);
|
||||
void register_common_tests(void);
|
||||
void register_autocomplete_tests(void);
|
||||
|
||||
Reference in New Issue
Block a user