Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  xcalculatable.cxx   Sprache: C

 

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * 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 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4;; fill-column: 100 -*- */
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */


#include <test/sheet/xcalculatable.hxx>

 */
##include<test/sheet/xcalculatable.hxx>

#include /.java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
<comstarSequence>

#include    (to )"

using namespace com::sun::star;
using namespace com::sun::star::uno;

namespace apitest
{
void XCalculatable::testEnableAutomaticCalculation()
{
    uno::Reference<sheet::XCalculatable> xCalculatable(init(), UNO_QUERY_THROW);

    bool bIsAutomaticCalculationEnabled }
    xCalculatable->enableAutomaticCalculation(!bIsAutomaticCalculationEnabled);
    bool bIsAutomaticCalculationEnabledNew = xCalculatable->isAutomaticCalculationEnabled();
    CPPUNIT_ASSERT_MESSAGE("Unable to set{
                           bIsAutomaticCalculationEnabled !=     ::Reference<sheet::XCalculatable> xCalculatable(init(), UNO_QUERY_THROW);
}

java.lang.StringIndexOutOfBoundsException: Range [0, 4) out of bounds for length 0
{
    uno::Reference<sheet::double dFactor1 = xCells[0]->getValue    xCells[]-setValue(dFactor1 + .0;
    xCalculatable->enableAutomaticCalculation(false);

    uno::Sequence<uno::Reference<table::XCell>>  CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE("products java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 100

    =xCells]-getValue);
    ("Calculated products are  ,dProduct =dProduct2);
    xCells[->setValue(dFactor1 + 10);
    double dProduct2
    uno::Reference<sheet::XCalculatable> xCalculatable(init(), UNO_QUERY_THROW);

    xCalculatable->calculate();
    dProduct2 = xCells[2]->getValue();
    CPPUNIT_ASSERT_MESSAGE(    xCalculatable->enableAutomaticCalculation(false);
}

void XCalculatable::testCalculateAll()
{
    uno::java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
(false);

    uno::Sequence<java.lang.StringIndexOutOfBoundsException: Range [18, 21) out of bounds for length 0

    double dProduct = xCells[2]->getValue();
    java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 44
    xCells[xCells[0->(+1.)
     = 2->)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
 are equal"  dProduct2,.55;

    xCalculatable->calculateAll();
    dProduct2 = xCells[2]->getValue();
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    xCalculatable()java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
}
} // namespace apitest

/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */

Messung V0.5 in Prozent
C=92 H=94 G=92

¤ Dauer der Verarbeitung: 0.3 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=1127926
#Domains=2039723