The third szenario is using a mock. Mock Test App Exec $ g++ -c UserInterface.cpp WindowManager.cpp $ ar rcs libwnd.a
Continue readingCategory: Computer
Unit testing series – Test scenario (Part 2)
For my unit testing series I have designed the following szenario. Prev: Unit testing series – Intro / Setup (Part
Continue readingUnit testing series – Intro / Setup (Part 1)
Introduction With unit testing you want to test the smallest unit possible, which means a single function. These units shall
Continue readingParameter handling (REST)
Path-Param … Gets specified in the URL-Path to move down the hierarchy. Query-Param … Gets specified behind the URL-Path to
Continue readingDecorator (Design Pattern)
This structural pattern increases the functionality of a class. Looks similar to a proxy, but it gets the object injected
Continue readingInteger overflow (C++)
Unsigned integer Range: [0,255] Bitfield: 0x00 =++=> 0x01 =++=> … =++=> 0xFF Interpr.: 0 =++=> 1 =++=> … =++=> 255
Continue readingLayout of std::vector (libstdc++)
Source code Analysis Layout |——————————–| | vector vec | | 1 | 2 | 3 | 4 | 5 |
Continue readingPhishing (via Email)
Phishing comes in mind if you want access to another account, but you aren’t able to bypass the login (e.g.
Continue readingMalware comparison (Selection)
Fundamentals A Virus is a program which attaches itself to other programs. A Worm is a program which tries to
Continue readingProxy vs. VPN (HTTP(S))
The Proxy and the VPN-Server are both a node in the communication between the client and the server. Both ways
Continue reading