Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  browser_prune_children.js

  Sprache: JAVA
 

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


"use strict";

/**
 * Test pruning of children from meter.
 */

addAccessibleTask(
  `
<div id="meter"
     role="meter"
     aria-valuemin="0"
     aria-valuemax="100"
     aria-valuenow="33"
     aria-valuetext="33% (Prepared)">
  <span>Prepared</span>
  <span>Shipped</span>
  <span>Delivered</span>
</div>
  `,
  async function testPruneChildren() {
    const meterChildCount = await runPython(`
      global meter
      doc = getDoc()
      meter = findByDomId(doc, "meter")
      return meter.childCount
    `);
    is(meterChildCount, 0"Meter is pruned");

    const hasTextIface = await runPython(`
      try:
        findByDomId(doc, "meter").queryText()
      except:
        return False

      return True
    `);
    ok(!hasTextIface, "Meter should not have text interface");
  }
);

Messung V0.5 in Prozent
C=91 H=100 G=95

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=434850
#Domains=655579