Roxen.git / server / etc / test / modules / TEST.pmod / http.pmod / WebDAV.pmod / TestBase.pike

version» Context lines:

Roxen.git/server/etc/test/modules/TEST.pmod/http.pmod/WebDAV.pmod/TestBase.pike:2100:    Test both with an empty destination directory and with a non empty    destination directory. (We already test at least one of the cases.)   */         // -----------------------------------------------------------------------------   // Special testcases combining different encodings and mixed/lower/upper case   // letters.   // -----------------------------------------------------------------------------    + // NB: Some character sets (eg kanji, hangul, etc) only have + // a single "case", and make_filenames() requires multiple + // cases. Work around this issue by prefixing with some + // multi-case ascii characters.   #ifdef WEBDAV_TEST_ASCII_ONLY   protected constant FILENAMES =    ({    "Ascii-myFile", // To compare with    });   #else   protected constant FILENAMES =    ({    "Ascii-myFile", // To compare with    "Latin1-åÅäÄöÖæÆüÜñÑ@", // Some Latin 1 chars    "Latin2-ąĄŁůŮăĂçÇ", // Some Latin 2 chars    "Cyrillic-фщъЂЃЄЉЖ", // Some Cyrillic chars    "Greek-ώψφλξβΩΠΞΔ€", // Some Greek chars -  +  "Kanji-日本語ひらがなカタカナ", // Some Kanji, hiragana and katakana.    });   #endif      // Create directory and file using one encoding and mixed, lower or upper case.   // Then do ls for all combinations of (same encoding, other encoding) x   // (mixed case, lower case, upper case).   public void test_x_ls()   {    int count = 0;    bool normalizing = !non_normalizing_filesystem();