Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/intl/uconv/tests/unit/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 596 B image not shown  

Impressum test_unEscapeURIForUI.js

  Sprache: JAVA
 

// Tests for nsITextToSubURI.unEscapeURIForUI
function run_test() {
  // Tests whether incomplete multibyte sequences throw.
  const tests = [
    {
      input: "http://example.com/?p=%E3%80%82",
      //TODO: should be the same as input, bug 1248812
      expected: "http://example.com/?p=%u3002",
    },
    {
      input: "http://example.com/?name=%E3%80%82",
      dontEscape: true,
      expected: "http://example.com/?name=\u3002",
    },
  ];

  for (const t of tests) {
    Assert.equal(
      Services.textToSubURI.unEscapeURIForUI(t.input, t.dontEscape),
      t.expected
    );
  }
}

Messung V0.5 in Prozent
C=95 H=96 G=95

¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.12Bemerkung:  (vorverarbeitet am  2026-06-06) ¤

*Bot Zugriff






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.