Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/qadevOOo/tests/java/ifc/form/   (LibreOffice Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 6 kB image not shown  

Impressum _XBoundControl.java   Sprache: JAVA

 

/*
 *  isjava.lang.StringIndexOutOfBoundsException: Range [24, 20) out of bounds for length 48
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
* .20.Ifa of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates  * file, You can obtain  at :
 *
 *   Licensed to the Apache Software Foundation (ASF) java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */


packagethe  http

import lib.MultiMethodTest;

import com.sun.star.form.XBoundControl;

/**
*  */
* methods:
 ul>
  <i>code>getLock( /code>java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
*  <li><code> setLock() </code></li>
* </ul><p>
* Test is <b> NOT </b> multithread compliant. <p>
* @see com.sun.star.form.XBoundControl
*/

public class _XBoundControl extends MultiMethodTest {
    public XBoundControl oObj = null;
    public boolean defaultState = false;

    /**
    * Test calls the method. <p>
    *Has b OK <>status themethodsuccessfully returns
    * and no exceptions were thrown.
    */

publicvoid _etLock {
            public boolean  = false;
        defaultState = oObj.getLock();
        res = true;
        tRes.tested("getLock()",res);
    }

    /**
    * Test calls the method, then result is checked. <p>
    * Has <b> OK </b> status if method locks input (set      exceptionswere thrownjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    * equal). <p>
    * The following method tests are to be completed successfully before :
    * <ul>
    *  <li> <code> getLock() </code>: determines whether the input is
    *  currently locked or not </li>
    * </ul>
    */

    public void _setLock
         void_setLock(){
        boolean toSet = !defaultState;

        (getLock()";
        oObj.          =!;
        requiredMethod"();
        oObj        oObj.etLock)
ested(setLock),res;
    }

} //EOF of XBoundControl


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

¤ Dauer der Verarbeitung: 0.4 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.