Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
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
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
Tor
Commits
50d5fb87
Commit
50d5fb87
authored
11 years ago
by
Andrea Shepard
Browse files
Options
Downloads
Patches
Plain Diff
Initial test_channeltls.c
parent
462eaed4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/test/Makefile.nmake
+3
-3
3 additions, 3 deletions
src/test/Makefile.nmake
src/test/include.am
+1
-0
1 addition, 0 deletions
src/test/include.am
src/test/test.c
+2
-0
2 additions, 0 deletions
src/test/test.c
src/test/test_channeltls.c
+18
-0
18 additions, 0 deletions
src/test/test_channeltls.c
with
24 additions
and
3 deletions
src/test/Makefile.nmake
+
3
−
3
View file @
50d5fb87
...
...
@@ -11,9 +11,9 @@ LIBS = ..\..\..\build-alpha\lib\libevent.lib \
ws2_32.lib advapi32.lib shell32.lib
\
crypt32.lib gdi32.lib user32.lib
TEST_OBJECTS
=
test.obj test_addr.obj test_channel.obj test_c
ontainer
s.obj
\
test_controller_events.o
g
j test_crypto.obj test_data.obj
test_dir.obj
\
test_microdesc.obj test_pt.obj test_util.obj test_config.obj
\
TEST_OBJECTS
=
test.obj test_addr.obj test_channel.obj test_c
hanneltl
s.obj
\
test_containers.obj
test_controller_events.o
b
j test_crypto.obj test_data.obj
\
test_dir.obj
test_microdesc.obj test_pt.obj test_util.obj test_config.obj
\
test_cell_formats.obj test_relay.obj test_replay.obj
\
test_introduce.obj tinytest.obj test_hs.obj
...
...
This diff is collapsed.
Click to expand it.
src/test/include.am
+
1
−
0
View file @
50d5fb87
...
...
@@ -21,6 +21,7 @@ src_test_test_SOURCES = \
src/test/test_buffers.c \
src/test/test_cell_formats.c \
src/test/test_channel.c \
src/test/test_channeltls.c \
src/test/test_circuitlist.c \
src/test/test_circuitmux.c \
src/test/test_containers.c \
...
...
This diff is collapsed.
Click to expand it.
src/test/test.c
+
2
−
0
View file @
50d5fb87
...
...
@@ -1310,6 +1310,7 @@ extern struct testcase_t status_tests[];
extern
struct
testcase_t
routerset_tests
[];
extern
struct
testcase_t
router_tests
[];
extern
struct
testcase_t
channel_tests
[];
extern
struct
testcase_t
channeltls_tests
[];
extern
struct
testcase_t
relay_tests
[];
static
struct
testgroup_t
testgroups
[]
=
{
...
...
@@ -1344,6 +1345,7 @@ static struct testgroup_t testgroups[] = {
{
"status/"
,
status_tests
},
{
"routerset/"
,
routerset_tests
},
{
"channel/"
,
channel_tests
},
{
"channeltls/"
,
channeltls_tests
},
{
"relay/"
,
relay_tests
},
END_OF_GROUPS
};
...
...
This diff is collapsed.
Click to expand it.
src/test/test_channeltls.c
0 → 100644
+
18
−
0
View file @
50d5fb87
/* Copyright (c) 2013, The Tor Project, Inc. */
/* See LICENSE for licensing information */
#define TOR_CHANNEL_INTERNAL_
#include
"or.h"
#include
"channel.h"
#include
"channeltls.h"
/* For init/free stuff */
#include
"scheduler.h"
/* Test suite stuff */
#include
"test.h"
#include
"fakechans.h"
struct
testcase_t
channeltls_tests
[]
=
{
END_OF_TESTCASES
};
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