wxMaxima
Loading...
Searching...
No Matches
Macros | Functions
test_UrlDetection.cpp File Reference

Tests for UrlDetection: where a link in a text cell starts and ends, which links may be opened, and that the exporters' placeholders round-trip (GH #2396). More...

#include "UrlDetection.h"
#include <catch2/catch.hpp>
Include dependency graph for test_UrlDetection.cpp:

Functions

 SCENARIO ("Links are found where they are")
 
 SCENARIO ("A link ends where the sentence around it takes over")
 
 SCENARIO ("Only web and mail links may be opened")
 
 SCENARIO ("Links survive an exporter's escaping via placeholders")
 
int main (int argc, char *argv[])
 

Detailed Description

Tests for UrlDetection: where a link in a text cell starts and ends, which links may be opened, and that the exporters' placeholders round-trip (GH #2396).

GUI-free, so tested directly.