Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SeFHT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
josc941e
SeFHT
Commits
3c6428c6
Commit
3c6428c6
authored
1 year ago
by
Jonathan Schöbel
Browse files
Options
Downloads
Plain Diff
Merge branch 'feature/fragment'
parents
6f52f05e
449b66b4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
sefht.geany
+4
-4
4 additions, 4 deletions
sefht.geany
tests/test_node_fragment.c
+2
-0
2 additions, 0 deletions
tests/test_node_fragment.c
tests/test_text_fragment.c
+4
-0
4 additions, 0 deletions
tests/test_text_fragment.c
todo.txt
+2
-0
2 additions, 0 deletions
todo.txt
with
12 additions
and
4 deletions
sefht.geany
+
4
−
4
View file @
3c6428c6
...
...
@@ -28,7 +28,7 @@ long_line_behaviour=1
long_line_column=72
[files]
current_page=
34
current_page=
58
FILE_NAME_0=139;None;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2FREADME;0;8
FILE_NAME_1=161;None;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2F.gitignore;0;8
FILE_NAME_2=170;Sh;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Fconfigure.ac;0;8
...
...
@@ -78,8 +78,8 @@ FILE_NAME_45=218;Sh;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fp
FILE_NAME_46=23;C;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Ftests%2Ftest_cms.c;0;8
FILE_NAME_47=24;C;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Ftests%2Ftest_data.c;0;8
FILE_NAME_48=1772;C;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Ftests%2Ftest_fragment.c;0;8
FILE_NAME_49=13
0867
;C;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Ftests%2Ftest_node_fragment.c;0;8
FILE_NAME_50=
5714
;C;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Ftests%2Ftest_text_fragment.c;0;8
FILE_NAME_49=
5
13
1
;C;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Ftests%2Ftest_node_fragment.c;0;8
FILE_NAME_50=
8462
;C;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Ftests%2Ftest_text_fragment.c;0;8
FILE_NAME_51=24;C;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Ftests%2Ftest_attr.c;0;8
FILE_NAME_52=12892;C;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Ftests%2Ftest_text.c;0;8
FILE_NAME_53=15898;C;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Ftests%2Ftest_text_segment.c;0;8
...
...
@@ -87,7 +87,7 @@ FILE_NAME_54=994;C;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fpr
FILE_NAME_55=926;C;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Ftests%2Ftest_validator.c;0;8
FILE_NAME_56=20787;C;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Ftests%2Ftest_validator_tag.c;0;8
FILE_NAME_57=58751;C;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Ftests%2Ftest_validator_attr.c;0;8
FILE_NAME_58=
626
;None;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Ftodo.txt;0;8
FILE_NAME_58=
130
;None;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Ftodo.txt;0;8
FILE_NAME_59=4505;YAML;0;EUTF-8;0;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2F.gitlab-ci.yml;0;4
FILE_NAME_60=71;Sh;0;EUTF-8;1;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Fgitlab-ci%2Fupload.sh.in;0;8
FILE_NAME_61=683;Sh;0;EUTF-8;0;1;0;%2Fhome%2Fjonathan%2FDokumente%2Fprojekte%2Fprgm%2Finternet%2Fweb%2FSeFHT%2Fgitlab-ci%2Frelease.sh.in;0;4
...
...
This diff is collapsed.
Click to expand it.
tests/test_node_fragment.c
+
2
−
0
View file @
3c6428c6
...
...
@@ -102,6 +102,7 @@ START_TEST(test_node_fragment_with_status)
SH_NodeFragment_new
(
no_tag
,
data
,
&
status
);
ck_assert_ptr_eq
(
NULL
,
fragment
);
ck_assert_int_eq
(
E_VALUE
,
status
.
status
);
free
(
status
.
message
);
/* test - valid tag */
_status_preinit
(
status
);
...
...
@@ -190,6 +191,7 @@ START_TEST(test_node_fragment_raw_with_status)
SH_NodeFragment_raw_new
(
no_tag
,
data
,
&
status
);
ck_assert_ptr_eq
(
NULL
,
fragment
);
ck_assert_int_eq
(
E_VALUE
,
status
.
status
);
free
(
status
.
message
);
/* test - valid tag */
_status_preinit
(
status
);
...
...
This diff is collapsed.
Click to expand it.
tests/test_text_fragment.c
+
4
−
0
View file @
3c6428c6
...
...
@@ -199,6 +199,7 @@ START_TEST(test_text_fragment_html_inline_no_status)
"sentence."
);
/* cleanup */
free
(
string
);
SH_Text_free
(
text
);
SH_TextFragment_free
(
fragment
);
SH_Data_free
(
data
);
...
...
@@ -242,6 +243,7 @@ START_TEST(test_text_fragment_html_inline_with_status)
"sentence."
);
/* cleanup */
free
(
string
);
SH_Text_free
(
text
);
SH_TextFragment_free
(
fragment
);
SH_Data_free
(
data
);
...
...
@@ -282,6 +284,7 @@ START_TEST(test_text_fragment_html_wrap_no_status)
"
\t
sentence.
\n
"
);
/* cleanup */
free
(
string
);
SH_Text_free
(
text
);
SH_TextFragment_free
(
fragment
);
SH_Data_free
(
data
);
...
...
@@ -325,6 +328,7 @@ START_TEST(test_text_fragment_html_wrap_with_status)
"
\t
sentence.
\n
"
);
/* cleanup */
free
(
string
);
SH_Text_free
(
text
);
SH_TextFragment_free
(
fragment
);
SH_Data_free
(
data
);
...
...
This diff is collapsed.
Click to expand it.
todo.txt
+
2
−
0
View file @
3c6428c6
...
...
@@ -5,6 +5,8 @@ create Docs
remove -Wno-nonnull from AM_CFLAGS
fix warnings for tests
fix leaks on heap-allocated error messages
Fragment:
- create html on single Text object
- add customized styling in html generation
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment