File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -110,8 +110,16 @@ add_executable(command_tests
110
110
tests/command_tests.cpp
111
111
server/server.h
112
112
server/server.cpp
113
+ server/ServerAuthenticator.h
114
+ server/ServerAuthenticator.cpp
113
115
client/client.h
114
116
client/client.cpp
117
+ client/assist/clientAuth.h
118
+ client/assist/clientAuth.cpp
119
+ client/user/user.h
120
+ client/user/user.cpp
121
+ client/user/userCred.h
122
+ client/user/userCred.cpp
115
123
116
124
client/emojis.h
117
125
client/client_command_handler.h
@@ -133,5 +141,5 @@ TARGET_COMPILE_DEFINITIONS(baseline_test_run PRIVATE gtest_disable_pthreads=ON)
133
141
TARGET_LINK_LIBRARIES (server_shut_off_test gtest )
134
142
TARGET_COMPILE_DEFINITIONS (baseline_test_run PRIVATE gtest_disable_pthreads=ON )
135
143
136
- TARGET_LINK_LIBRARIES (command_tests gtest )
144
+ TARGET_LINK_LIBRARIES (command_tests gtest gtest_main )
137
145
TARGET_COMPILE_DEFINITIONS (baseline_test_run PRIVATE gtest_disable_pthreads=ON )
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ void Client::Start() {
57
57
receiveThread.join ();
58
58
}
59
59
60
- void Client::SendLoop () { // possibly add an outstream thing or print function so we can use it for unit tests as well
60
+ void Client::SendLoop (std::string username ) { // possibly add an outstream thing or print function so we can use it for unit tests as well
61
61
while (isRunning) {
62
62
char buffer[MAXBYTES];
63
63
// Prompt the user for input and read it into the buffer
You can’t perform that action at this time.
0 commit comments