Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-950

Versit parameter values are documented to be stored in upper-case

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 1.1.1, 1.2.0
    • 1.1.0, 1.2.0
    • Contacts
    • None
    • cbd0e99d4bca116f178a940e90b5f8077abfcc7f , 0db9c81adc21d0fdcfeb1b70008d13ad91f3b71b

    Description

      Pasted from source bug:

      SOFTWARE VERSION:
      QtMOBILITY 1.1

      STEPS LEADING TO PROBLEM:
      // Verify that both type and home are converted to upper case.
      QString name(QString::fromAscii("type"));
      QString value1(QString::fromAscii("home"));

      QVersitProperty property;
      property.insertParameter(name,value1);
      QMultiHash<QString,QString> parameters = property.parameters();
      QCOMPARE(property.parameters().count(),1);
      QVERIFY(parameters.contains(QLatin1String("TYPE"),QLatin1String("HOME")));

      EXPECTED OUTCOME:
      Both Value and name must be converted upper case.

      ACTUAL OUTCOME:
      ONly name is converted to Uppercase, But Value is not convereted to Uppercase.

      Document says:
      void QVersitProperty::insertParameter ( const QString & name, const QString &
      value )

      Adds a new parameter with name and value. Both the name and the value are
      converted to upper-case.

      Attachments

        Activity

          People

            wuwon Kevin Wu Won (closed Nokia identity) (Inactive)
            wuwon Kevin Wu Won (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: