API
 
Loading...
Searching...
No Matches
logTypes_Accessor_test.cpp
Go to the documentation of this file.
1/** \file logType_Accessor_test.hpp
2 * \brief Tests for the log type accessors class
3 * \ingroup logger_files
4 */
5
6#include "../../../tests/testXWC.hpp"
7
8#include "../generated/logTypes.hpp"
9
10namespace libXWCTest
11{
12
13/** \defgroup logger_unit_test libXWC::logger Unit Tests
14 * \ingroup unit_test
15 */
16
17/// Namespace for XWC::logger tests
18/** \ingroup logger_unit_test
19 *
20 */
21namespace loggerTest
22{
23
24/** \defgroup logTypes_unit_test log types Unit Tests
25 * \ingroup logger_unit_test
26 */
27
28/// Namespace for XWC::logger::logType_Accessor tests
29/** \ingroup logTypes_unit_test
30 *
31 */
32namespace logTypeAccessorTest
33{
34
35/// Call to accessor with invalid member
36/**
37 * \ingroup logTypes_unit_test
38 */
39TEST_CASE( "Call to accessor with invalid member", "[libMagAOX::logger::logTypes_Accessor]" )
40{
41 SECTION( "ao_operator" )
42 {
44
45 REQUIRE( lmd.keyword == "" );
46 REQUIRE( lmd.comment == "" );
47 REQUIRE( lmd.format == "" );
48 REQUIRE( lmd.valType == -1 );
49 REQUIRE( lmd.metaType == -1 );
50 REQUIRE( lmd.accessor == nullptr );
51 REQUIRE( lmd.hierarch == true );
52 }
53
54 SECTION( "config_log" )
55 {
57
58 REQUIRE( lmd.keyword == "" );
59 REQUIRE( lmd.comment == "" );
60 REQUIRE( lmd.format == "" );
61 REQUIRE( lmd.valType == -1 );
62 REQUIRE( lmd.metaType == -1 );
63 REQUIRE( lmd.accessor == nullptr );
64 REQUIRE( lmd.hierarch == true );
65 }
66
67 SECTION( "git_state" )
68 {
70
71 REQUIRE( lmd.keyword == "" );
72 REQUIRE( lmd.comment == "" );
73 REQUIRE( lmd.format == "" );
74 REQUIRE( lmd.valType == -1 );
75 REQUIRE( lmd.metaType == -1 );
76 REQUIRE( lmd.accessor == nullptr );
77 REQUIRE( lmd.hierarch == true );
78 }
79
80 SECTION( "indidriver_start" )
81 {
83
84 REQUIRE( lmd.keyword == "" );
85 REQUIRE( lmd.comment == "" );
86 REQUIRE( lmd.format == "" );
87 REQUIRE( lmd.valType == -1 );
88 REQUIRE( lmd.metaType == -1 );
89 REQUIRE( lmd.accessor == nullptr );
90 REQUIRE( lmd.hierarch == true );
91 }
92
93 SECTION( "indidriver_stop" )
94 {
96
97 REQUIRE( lmd.keyword == "" );
98 REQUIRE( lmd.comment == "" );
99 REQUIRE( lmd.format == "" );
100 REQUIRE( lmd.valType == -1 );
101 REQUIRE( lmd.metaType == -1 );
102 REQUIRE( lmd.accessor == nullptr );
103 REQUIRE( lmd.hierarch == true );
104 }
105
106 SECTION( "loop_closed" )
107 {
109
110 REQUIRE( lmd.keyword == "" );
111 REQUIRE( lmd.comment == "" );
112 REQUIRE( lmd.format == "" );
113 REQUIRE( lmd.valType == -1 );
114 REQUIRE( lmd.metaType == -1 );
115 REQUIRE( lmd.accessor == nullptr );
116 REQUIRE( lmd.hierarch == true );
117 }
118
119 SECTION( "loop_open" )
120 {
122
123 REQUIRE( lmd.keyword == "" );
124 REQUIRE( lmd.comment == "" );
125 REQUIRE( lmd.format == "" );
126 REQUIRE( lmd.valType == -1 );
127 REQUIRE( lmd.metaType == -1 );
128 REQUIRE( lmd.accessor == nullptr );
129 REQUIRE( lmd.hierarch == true );
130 }
131
132 SECTION( "loop_paused" )
133 {
135
136 REQUIRE( lmd.keyword == "" );
137 REQUIRE( lmd.comment == "" );
138 REQUIRE( lmd.format == "" );
139 REQUIRE( lmd.valType == -1 );
140 REQUIRE( lmd.metaType == -1 );
141 REQUIRE( lmd.accessor == nullptr );
142 REQUIRE( lmd.hierarch == true );
143 }
144
145 SECTION( "observer" )
146 {
148
149 REQUIRE( lmd.keyword == "" );
150 REQUIRE( lmd.comment == "" );
151 REQUIRE( lmd.format == "" );
152 REQUIRE( lmd.valType == -1 );
153 REQUIRE( lmd.metaType == -1 );
154 REQUIRE( lmd.accessor == nullptr );
155 REQUIRE( lmd.hierarch == true );
156 }
157
158 SECTION( "ocam_temps" )
159 {
161
162 REQUIRE( lmd.keyword == "" );
163 REQUIRE( lmd.comment == "" );
164 REQUIRE( lmd.format == "" );
165 REQUIRE( lmd.valType == -1 );
166 REQUIRE( lmd.metaType == -1 );
167 REQUIRE( lmd.accessor == nullptr );
168 REQUIRE( lmd.hierarch == true );
169 }
170
171 SECTION( "outlet_channel_state" )
172 {
174
175 REQUIRE( lmd.keyword == "" );
176 REQUIRE( lmd.comment == "" );
177 REQUIRE( lmd.format == "" );
178 REQUIRE( lmd.valType == -1 );
179 REQUIRE( lmd.metaType == -1 );
180 REQUIRE( lmd.accessor == nullptr );
181 REQUIRE( lmd.hierarch == true );
182 }
183
184 SECTION( "outlet_state" )
185 {
187
188 REQUIRE( lmd.keyword == "" );
189 REQUIRE( lmd.comment == "" );
190 REQUIRE( lmd.format == "" );
191 REQUIRE( lmd.valType == -1 );
192 REQUIRE( lmd.metaType == -1 );
193 REQUIRE( lmd.accessor == nullptr );
194 REQUIRE( lmd.hierarch == true );
195 }
196
197 SECTION( "pico_channel" )
198 {
200
201 REQUIRE( lmd.keyword == "" );
202 REQUIRE( lmd.comment == "" );
203 REQUIRE( lmd.format == "" );
204 REQUIRE( lmd.valType == -1 );
205 REQUIRE( lmd.metaType == -1 );
206 REQUIRE( lmd.accessor == nullptr );
207 REQUIRE( lmd.hierarch == true );
208 }
209
210 SECTION( "saving_start" )
211 {
213
214 REQUIRE( lmd.keyword == "" );
215 REQUIRE( lmd.comment == "" );
216 REQUIRE( lmd.format == "" );
217 REQUIRE( lmd.valType == -1 );
218 REQUIRE( lmd.metaType == -1 );
219 REQUIRE( lmd.accessor == nullptr );
220 REQUIRE( lmd.hierarch == true );
221 }
222
223 SECTION( "saving_state_change" )
224 {
226
227 REQUIRE( lmd.keyword == "" );
228 REQUIRE( lmd.comment == "" );
229 REQUIRE( lmd.format == "" );
230 REQUIRE( lmd.valType == -1 );
231 REQUIRE( lmd.metaType == -1 );
232 REQUIRE( lmd.accessor == nullptr );
233 REQUIRE( lmd.hierarch == true );
234 }
235
236 SECTION( "saving_stop" )
237 {
239
240 REQUIRE( lmd.keyword == "" );
241 REQUIRE( lmd.comment == "" );
242 REQUIRE( lmd.format == "" );
243 REQUIRE( lmd.valType == -1 );
244 REQUIRE( lmd.metaType == -1 );
245 REQUIRE( lmd.accessor == nullptr );
246 REQUIRE( lmd.hierarch == true );
247 }
248
249 SECTION( "software_log" )
250 {
252
253 REQUIRE( lmd.keyword == "" );
254 REQUIRE( lmd.comment == "" );
255 REQUIRE( lmd.format == "" );
256 REQUIRE( lmd.valType == -1 );
257 REQUIRE( lmd.metaType == -1 );
258 REQUIRE( lmd.accessor == nullptr );
259 REQUIRE( lmd.hierarch == true );
260 }
261
262 SECTION( "state_change" )
263 {
265
266 REQUIRE( lmd.keyword == "" );
267 REQUIRE( lmd.comment == "" );
268 REQUIRE( lmd.format == "" );
269 REQUIRE( lmd.valType == -1 );
270 REQUIRE( lmd.metaType == -1 );
271 REQUIRE( lmd.accessor == nullptr );
272 REQUIRE( lmd.hierarch == true );
273 }
274
275 SECTION( "string_log" )
276 {
278
279 REQUIRE( lmd.keyword == "" );
280 REQUIRE( lmd.comment == "" );
281 REQUIRE( lmd.format == "" );
282 REQUIRE( lmd.valType == -1 );
283 REQUIRE( lmd.metaType == -1 );
284 REQUIRE( lmd.accessor == nullptr );
285 REQUIRE( lmd.hierarch == true );
286 }
287
288 SECTION( "telem_blockgains" )
289 {
291
292 REQUIRE( lmd.keyword == "" );
293 REQUIRE( lmd.comment == "" );
294 REQUIRE( lmd.format == "" );
295 REQUIRE( lmd.valType == -1 );
296 REQUIRE( lmd.metaType == -1 );
297 REQUIRE( lmd.accessor == nullptr );
298 REQUIRE( lmd.hierarch == true );
299 }
300
301 SECTION( "telem_chrony_stats" )
302 {
304
305 REQUIRE( lmd.keyword == "" );
306 REQUIRE( lmd.comment == "" );
307 REQUIRE( lmd.format == "" );
308 REQUIRE( lmd.valType == -1 );
309 REQUIRE( lmd.metaType == -1 );
310 REQUIRE( lmd.accessor == nullptr );
311 REQUIRE( lmd.hierarch == true );
312 }
313
314 SECTION( "telem_chrony_status" )
315 {
317
318 REQUIRE( lmd.keyword == "" );
319 REQUIRE( lmd.comment == "" );
320 REQUIRE( lmd.format == "" );
321 REQUIRE( lmd.valType == -1 );
322 REQUIRE( lmd.metaType == -1 );
323 REQUIRE( lmd.accessor == nullptr );
324 REQUIRE( lmd.hierarch == true );
325 }
326
327 SECTION( "telem_cooler" )
328 {
330
331 REQUIRE( lmd.keyword == "" );
332 REQUIRE( lmd.comment == "" );
333 REQUIRE( lmd.format == "" );
334 REQUIRE( lmd.valType == -1 );
335 REQUIRE( lmd.metaType == -1 );
336 REQUIRE( lmd.accessor == nullptr );
337 REQUIRE( lmd.hierarch == true );
338 }
339
340 SECTION( "telem_coreloads" )
341 {
343
344 REQUIRE( lmd.keyword == "" );
345 REQUIRE( lmd.comment == "" );
346 REQUIRE( lmd.format == "" );
347 REQUIRE( lmd.valType == -1 );
348 REQUIRE( lmd.metaType == -1 );
349 REQUIRE( lmd.accessor == nullptr );
350 REQUIRE( lmd.hierarch == true );
351 }
352
353 SECTION( "telem_coretemps" )
354 {
356
357 REQUIRE( lmd.keyword == "" );
358 REQUIRE( lmd.comment == "" );
359 REQUIRE( lmd.format == "" );
360 REQUIRE( lmd.valType == -1 );
361 REQUIRE( lmd.metaType == -1 );
362 REQUIRE( lmd.accessor == nullptr );
363 REQUIRE( lmd.hierarch == true );
364 }
365
366 SECTION( "telem_dmmodes" )
367 {
369
370 REQUIRE( lmd.keyword == "" );
371 REQUIRE( lmd.comment == "" );
372 REQUIRE( lmd.format == "" );
373 REQUIRE( lmd.valType == -1 );
374 REQUIRE( lmd.metaType == -1 );
375 REQUIRE( lmd.accessor == nullptr );
376 REQUIRE( lmd.hierarch == true );
377 }
378
379 SECTION( "telem_dmspeck" )
380 {
382
383 REQUIRE( lmd.keyword == "" );
384 REQUIRE( lmd.comment == "" );
385 REQUIRE( lmd.format == "" );
386 REQUIRE( lmd.valType == -1 );
387 REQUIRE( lmd.metaType == -1 );
388 REQUIRE( lmd.accessor == nullptr );
389 REQUIRE( lmd.hierarch == true );
390 }
391
392 SECTION( "telem_drivetemps" )
393 {
395
396 REQUIRE( lmd.keyword == "" );
397 REQUIRE( lmd.comment == "" );
398 REQUIRE( lmd.format == "" );
399 REQUIRE( lmd.valType == -1 );
400 REQUIRE( lmd.metaType == -1 );
401 REQUIRE( lmd.accessor == nullptr );
402 REQUIRE( lmd.hierarch == true );
403 }
404
405 SECTION( "telem_fgtimings" )
406 {
408
409 REQUIRE( lmd.keyword == "" );
410 REQUIRE( lmd.comment == "" );
411 REQUIRE( lmd.format == "" );
412 REQUIRE( lmd.valType == -1 );
413 REQUIRE( lmd.metaType == -1 );
414 REQUIRE( lmd.accessor == nullptr );
415 REQUIRE( lmd.hierarch == true );
416 }
417
418 SECTION( "telem_fxngen" )
419 {
421
422 REQUIRE( lmd.keyword == "" );
423 REQUIRE( lmd.comment == "" );
424 REQUIRE( lmd.format == "" );
425 REQUIRE( lmd.valType == -1 );
426 REQUIRE( lmd.metaType == -1 );
427 REQUIRE( lmd.accessor == nullptr );
428 REQUIRE( lmd.hierarch == true );
429 }
430
431 SECTION( "telem_loopgain" )
432 {
434
435 REQUIRE( lmd.keyword == "" );
436 REQUIRE( lmd.comment == "" );
437 REQUIRE( lmd.format == "" );
438 REQUIRE( lmd.valType == -1 );
439 REQUIRE( lmd.metaType == -1 );
440 REQUIRE( lmd.accessor == nullptr );
441 REQUIRE( lmd.hierarch == true );
442 }
443
444 SECTION( "telem_observer" )
445 {
447
448 REQUIRE( lmd.keyword == "" );
449 REQUIRE( lmd.comment == "" );
450 REQUIRE( lmd.format == "" );
451 REQUIRE( lmd.valType == -1 );
452 REQUIRE( lmd.metaType == -1 );
453 REQUIRE( lmd.accessor == nullptr );
454 REQUIRE( lmd.hierarch == true );
455 }
456
457 SECTION( "telem_pi335" )
458 {
460
461 REQUIRE( lmd.keyword == "" );
462 REQUIRE( lmd.comment == "" );
463 REQUIRE( lmd.format == "" );
464 REQUIRE( lmd.valType == -1 );
465 REQUIRE( lmd.metaType == -1 );
466 REQUIRE( lmd.accessor == nullptr );
467 REQUIRE( lmd.hierarch == true );
468 }
469
470 SECTION( "telem_pico" )
471 {
473
474 REQUIRE( lmd.keyword == "" );
475 REQUIRE( lmd.comment == "" );
476 REQUIRE( lmd.format == "" );
477 REQUIRE( lmd.valType == -1 );
478 REQUIRE( lmd.metaType == -1 );
479 REQUIRE( lmd.accessor == nullptr );
480 REQUIRE( lmd.hierarch == true );
481 }
482
483 SECTION( "telem_pokecenter" )
484 {
486
487 REQUIRE( lmd.keyword == "" );
488 REQUIRE( lmd.comment == "" );
489 REQUIRE( lmd.format == "" );
490 REQUIRE( lmd.valType == -1 );
491 REQUIRE( lmd.metaType == -1 );
492 REQUIRE( lmd.accessor == nullptr );
493 REQUIRE( lmd.hierarch == true );
494 }
495
496 SECTION( "telem_pokeloop" )
497 {
499
500 REQUIRE( lmd.keyword == "" );
501 REQUIRE( lmd.comment == "" );
502 REQUIRE( lmd.format == "" );
503 REQUIRE( lmd.valType == -1 );
504 REQUIRE( lmd.metaType == -1 );
505 REQUIRE( lmd.accessor == nullptr );
506 REQUIRE( lmd.hierarch == true );
507 }
508
509 SECTION( "telem_position" )
510 {
512
513 REQUIRE( lmd.keyword == "" );
514 REQUIRE( lmd.comment == "" );
515 REQUIRE( lmd.format == "" );
516 REQUIRE( lmd.valType == -1 );
517 REQUIRE( lmd.metaType == -1 );
518 REQUIRE( lmd.accessor == nullptr );
519 REQUIRE( lmd.hierarch == true );
520 }
521
522 SECTION( "telem_adctrack" )
523 {
525
526 REQUIRE( lmd.keyword == "" );
527 REQUIRE( lmd.comment == "" );
528 REQUIRE( lmd.format == "" );
529 REQUIRE( lmd.valType == -1 );
530 REQUIRE( lmd.metaType == -1 );
531 REQUIRE( lmd.accessor == nullptr );
532 REQUIRE( lmd.hierarch == true );
533 }
534
535 SECTION( "telem_rhusb" )
536 {
538
539 REQUIRE( lmd.keyword == "" );
540 REQUIRE( lmd.comment == "" );
541 REQUIRE( lmd.format == "" );
542 REQUIRE( lmd.valType == -1 );
543 REQUIRE( lmd.metaType == -1 );
544 REQUIRE( lmd.accessor == nullptr );
545 REQUIRE( lmd.hierarch == true );
546 }
547
548 SECTION( "telem_saving_state" )
549 {
551
552 REQUIRE( lmd.keyword == "" );
553 REQUIRE( lmd.comment == "" );
554 REQUIRE( lmd.format == "" );
555 REQUIRE( lmd.valType == -1 );
556 REQUIRE( lmd.metaType == -1 );
557 REQUIRE( lmd.accessor == nullptr );
558 REQUIRE( lmd.hierarch == true );
559 }
560
561 SECTION( "telem_saving" )
562 {
564
565 REQUIRE( lmd.keyword == "" );
566 REQUIRE( lmd.comment == "" );
567 REQUIRE( lmd.format == "" );
568 REQUIRE( lmd.valType == -1 );
569 REQUIRE( lmd.metaType == -1 );
570 REQUIRE( lmd.accessor == nullptr );
571 REQUIRE( lmd.hierarch == true );
572 }
573
574 SECTION( "telem_sparkleclock" )
575 {
577
578 REQUIRE( lmd.keyword == "" );
579 REQUIRE( lmd.comment == "" );
580 REQUIRE( lmd.format == "" );
581 REQUIRE( lmd.valType == -1 );
582 REQUIRE( lmd.metaType == -1 );
583 REQUIRE( lmd.accessor == nullptr );
584 REQUIRE( lmd.hierarch == true );
585 }
586
587 SECTION( "telem_stage" )
588 {
590
591 REQUIRE( lmd.keyword == "" );
592 REQUIRE( lmd.comment == "" );
593 REQUIRE( lmd.format == "" );
594 REQUIRE( lmd.valType == -1 );
595 REQUIRE( lmd.metaType == -1 );
596 REQUIRE( lmd.accessor == nullptr );
597 REQUIRE( lmd.hierarch == true );
598 }
599
600 SECTION( "telem_stdcam" )
601 {
603
604 REQUIRE( lmd.keyword == "" );
605 REQUIRE( lmd.comment == "" );
606 REQUIRE( lmd.format == "" );
607 REQUIRE( lmd.valType == -1 );
608 REQUIRE( lmd.metaType == -1 );
609 REQUIRE( lmd.accessor == nullptr );
610 REQUIRE( lmd.hierarch == true );
611 }
612
613 SECTION( "telem_telcat" )
614 {
616
617 REQUIRE( lmd.keyword == "" );
618 REQUIRE( lmd.comment == "" );
619 REQUIRE( lmd.format == "" );
620 REQUIRE( lmd.valType == -1 );
621 REQUIRE( lmd.metaType == -1 );
622 REQUIRE( lmd.accessor == nullptr );
623 REQUIRE( lmd.hierarch == true );
624 }
625
626 SECTION( "telem_teldata" )
627 {
629
630 REQUIRE( lmd.keyword == "" );
631 REQUIRE( lmd.comment == "" );
632 REQUIRE( lmd.format == "" );
633 REQUIRE( lmd.valType == -1 );
634 REQUIRE( lmd.metaType == -1 );
635 REQUIRE( lmd.accessor == nullptr );
636 REQUIRE( lmd.hierarch == true );
637 }
638
639 SECTION( "telem_telenv" )
640 {
642
643 REQUIRE( lmd.keyword == "" );
644 REQUIRE( lmd.comment == "" );
645 REQUIRE( lmd.format == "" );
646 REQUIRE( lmd.valType == -1 );
647 REQUIRE( lmd.metaType == -1 );
648 REQUIRE( lmd.accessor == nullptr );
649 REQUIRE( lmd.hierarch == true );
650 }
651
652 SECTION( "telem_telpos" )
653 {
655
656 REQUIRE( lmd.keyword == "" );
657 REQUIRE( lmd.comment == "" );
658 REQUIRE( lmd.format == "" );
659 REQUIRE( lmd.valType == -1 );
660 REQUIRE( lmd.metaType == -1 );
661 REQUIRE( lmd.accessor == nullptr );
662 REQUIRE( lmd.hierarch == true );
663 }
664
665 SECTION( "telem_telsee" )
666 {
668
669 REQUIRE( lmd.keyword == "" );
670 REQUIRE( lmd.comment == "" );
671 REQUIRE( lmd.format == "" );
672 REQUIRE( lmd.valType == -1 );
673 REQUIRE( lmd.metaType == -1 );
674 REQUIRE( lmd.accessor == nullptr );
675 REQUIRE( lmd.hierarch == true );
676 }
677
678 SECTION( "telem_telvane" )
679 {
681
682 REQUIRE( lmd.keyword == "" );
683 REQUIRE( lmd.comment == "" );
684 REQUIRE( lmd.format == "" );
685 REQUIRE( lmd.valType == -1 );
686 REQUIRE( lmd.metaType == -1 );
687 REQUIRE( lmd.accessor == nullptr );
688 REQUIRE( lmd.hierarch == true );
689 }
690
691 SECTION( "telem_temps" )
692 {
694
695 REQUIRE( lmd.keyword == "" );
696 REQUIRE( lmd.comment == "" );
697 REQUIRE( lmd.format == "" );
698 REQUIRE( lmd.valType == -1 );
699 REQUIRE( lmd.metaType == -1 );
700 REQUIRE( lmd.accessor == nullptr );
701 REQUIRE( lmd.hierarch == true );
702 }
703
704 SECTION( "telem_usage" )
705 {
707
708 REQUIRE( lmd.keyword == "" );
709 REQUIRE( lmd.comment == "" );
710 REQUIRE( lmd.format == "" );
711 REQUIRE( lmd.valType == -1 );
712 REQUIRE( lmd.metaType == -1 );
713 REQUIRE( lmd.accessor == nullptr );
714 REQUIRE( lmd.hierarch == true );
715 }
716
717 SECTION( "telem_zaber" )
718 {
720
721 REQUIRE( lmd.keyword == "" );
722 REQUIRE( lmd.comment == "" );
723 REQUIRE( lmd.format == "" );
724 REQUIRE( lmd.valType == -1 );
725 REQUIRE( lmd.metaType == -1 );
726 REQUIRE( lmd.accessor == nullptr );
727 REQUIRE( lmd.hierarch == true );
728 }
729
730 SECTION( "text_log" )
731 {
733
734 REQUIRE( lmd.keyword == "" );
735 REQUIRE( lmd.comment == "" );
736 REQUIRE( lmd.format == "" );
737 REQUIRE( lmd.valType == -1 );
738 REQUIRE( lmd.metaType == -1 );
739 REQUIRE( lmd.accessor == nullptr );
740 REQUIRE( lmd.hierarch == true );
741 }
742
743 SECTION( "ttmmode_params" )
744 {
746
747 REQUIRE( lmd.keyword == "" );
748 REQUIRE( lmd.comment == "" );
749 REQUIRE( lmd.format == "" );
750 REQUIRE( lmd.valType == -1 );
751 REQUIRE( lmd.metaType == -1 );
752 REQUIRE( lmd.accessor == nullptr );
753 REQUIRE( lmd.hierarch == true );
754 }
755
756 SECTION( "user_log" )
757 {
759
760 REQUIRE( lmd.keyword == "" );
761 REQUIRE( lmd.comment == "" );
762 REQUIRE( lmd.format == "" );
763 REQUIRE( lmd.valType == -1 );
764 REQUIRE( lmd.metaType == -1 );
765 REQUIRE( lmd.accessor == nullptr );
766 REQUIRE( lmd.hierarch == true );
767 }
768 /*
769 SECTION("")
770 {
771 MagAOX::logger::logMetaDetail lmd = MagAOX::logger::::getAccessor("");
772
773 REQUIRE(lmd.keyword == "");
774 REQUIRE(lmd.comment == "");
775 REQUIRE(lmd.format == "");
776 REQUIRE(lmd.valType == -1);
777 REQUIRE(lmd.metaType == -1);
778 REQUIRE(lmd.accessor == nullptr);
779 REQUIRE(lmd.hierarch == true);
780 }
781 */
782}
783
784} // namespace logTypeAccessorTest
785} // namespace loggerTest
786} // namespace libXWCTest
TEST_CASE("Call to accessor with invalid member", "[libMagAOX::logger::logTypes_Accessor]")
Call to accessor with invalid member.
Namespace for all libXWC tests.
static logMetaDetail getAccessor(const std::string &member)
Get an empty logMetaDetail because meta data doesn't make sense for this log.
static logMetaDetail getAccessor(const std::string &member)
Get an empty logMetaDetail because meta data doesn't make sense for this log.
static logMetaDetail getAccessor(const std::string &member)
Get an empty logMetaDetail because meta data doesn't make sense for this log.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get an empty logMetaDetail because meta data doesn't make sense for this log.
Definition observer.hpp:111
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get an empty logMetaDetail because meta data doesn't make sense for this log.
static logMetaDetail getAccessor(const std::string &member)
Get an empty logMetaDetail because meta data doesn't make sense for this log.
static logMetaDetail getAccessor(const std::string &member)
Get an empty logMetaDetail because meta data doesn't make sense for this log.
static logMetaDetail getAccessor(const std::string &member)
Get an empty logMetaDetail because meta data doesn't make sense for this log.
static logMetaDetail getAccessor(const std::string &member)
Get an empty logMetaDetail because meta data doesn't make sense for this log.
static logMetaDetail getAccessor(const std::string &member)
Get an empty logMetaDetail because meta data doesn't make sense for this log.
static logMetaDetail getAccessor(const std::string &member)
Get an empty logMetaDetail because meta data doesn't make sense for this log.
static logMetaDetail getAccessor(const std::string &member)
Get an empty logMetaDetail because meta data doesn't make sense for this log.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
Definition text_log.hpp:36
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
static logMetaDetail getAccessor(const std::string &member)
Get the logMetaDetail for a member by name.
Definition user_log.hpp:112