[ Index ]

PHP Cross Reference of YOURLS

title

Body

[close]

/tests/tests/shorturl/ -> KeywordGettersTest.php (summary)

(no description)

File Size: 80 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

KeywordGettersTest:: (6 methods):
  tearDown()
  test_get_keyword_ip_and_timestamp()
  test_get_keyword_ip_and_timestamp_not_found()
  test_get_keyword_stats_existing()
  test_get_keyword_stats_not_found()
  test_get_longurl_keywords()


Class: KeywordGettersTest  - X-Ref

Short URLs : keyword info getters (IP, timestamp, stats) and reverse lookup

tearDown()   X-Ref
No description

test_get_keyword_ip_and_timestamp()   X-Ref
yourls_get_keyword_IP() and yourls_get_keyword_timestamp() return the stored values


test_get_keyword_ip_and_timestamp_not_found()   X-Ref
Both getters return the $notfound value for an unknown keyword


test_get_keyword_stats_existing()   X-Ref
yourls_get_keyword_stats() returns a success structure for an existing keyword


test_get_keyword_stats_not_found()   X-Ref
yourls_get_keyword_stats() returns a 404 structure for an unknown keyword


test_get_longurl_keywords()   X-Ref
yourls_get_longurl_keywords() returns every keyword pointing to a long URL




Generated: Sat Jul 11 05:10:54 2026 Cross-referenced by PHPXref 0.7.1