Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/localstorage/test/unit/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  test_migration_emptyValue.js   Sprache: JAVA

 
/**
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/
 */


add_task(async function testSteps() {
  const data = {
    key: "foo",
    value: "",
  };

  info("Clearing");

  let request = clear();
  await requestFinished(request);

  info("Installing package");

  // The profile contains storage.sqlite and webappsstore.sqlite.
  // The archive migration_emptyValue_profile.zip was created by running
  // make_migration_emptyValue.js locally, specifically the special test was
  // temporarily activated in xpcshell.ini and then it was run as:
  // mach test --interactive dom/localstorage/test/unit/make_migration_emptyValue.js
  // Before packaging, additional manual steps are needed:
  // 1. Folder "cache2" is removed.
  // 2. Folder "crashes" is removed.
  // 3. File "mozinfo.json" is removed.
  installPackage("migration_emptyValue_profile");

  info("Getting storage");

  const storage = getLocalStorage();

  info("Verifying data");

  is(storage.getItem(data.key), data.value, "Correct value");
});

Messung V0.5
C=88 H=100 G=94

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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.