Difference between revisions of "Import sqlite test suite"

From CDOT Wiki
Jump to: navigation, search
(Related Bugs)
Line 22: Line 22:
 
== Related Bugs ==
 
== Related Bugs ==
 
[https://bugzilla.mozilla.org/show_bug.cgi?id=417037 Bug 417037] -  mozStorage chokes on databases over AFP
 
[https://bugzilla.mozilla.org/show_bug.cgi?id=417037 Bug 417037] -  mozStorage chokes on databases over AFP
 +
 
[https://bugzilla.mozilla.org/show_bug.cgi?id=446118 Bug 446118] -  Sqlite query "SELECT DISTINCT X FROM Y WHERE X IS NOT NULL" returns invalid result set if X is indexed
 
[https://bugzilla.mozilla.org/show_bug.cgi?id=446118 Bug 446118] -  Sqlite query "SELECT DISTINCT X FROM Y WHERE X IS NOT NULL" returns invalid result set if X is indexed
 +
 
[https://bugzilla.mozilla.org/show_bug.cgi?id=313553 Bug 313553] -  Move Session Storage to Database   
 
[https://bugzilla.mozilla.org/show_bug.cgi?id=313553 Bug 313553] -  Move Session Storage to Database   
 +
 
[https://bugzilla.mozilla.org/show_bug.cgi?id=403377 Bug 403377] -  add method for creating indices to mozIStorageConnection   
 
[https://bugzilla.mozilla.org/show_bug.cgi?id=403377 Bug 403377] -  add method for creating indices to mozIStorageConnection   
[https://bugzilla.mozilla.org/show_bug.cgi?id=385093 Bug 385093] -  --enable-storage comments in configure.in are misleading
+
 
 +
[https://bugzilla.mozilla.org/show_bug.cgi?id=385093 Bug 385093] -  --enable-storage comments in configure.in are misleading
 +
 
 
== To Do ==
 
== To Do ==
  

Revision as of 15:05, 3 October 2008

Project: Import sqlite test suite

Import sqlite test suite

Project Description

Mozilla uses an embedded version of SQLite extensively to store data such as bookmarks, history, etc. To insure that it runs properly within Mozilla, it would be good to add the entire sqlite test suite to Mozilla's tests, so that testing the browser also means testing sqlite. The sqlite test suite is written in TCL and needs to be ported to JavaScript. Some work has already been done, but more is required to get full test coverage.

Project Leader(s)

Park, KiWon

Project Contributor(s)

Aaron Train

Project Details

bug 391756
http://www.0xdeadbeef.com/weblog/?p=368

Related Bugs

Bug 417037 - mozStorage chokes on databases over AFP

Bug 446118 - Sqlite query "SELECT DISTINCT X FROM Y WHERE X IS NOT NULL" returns invalid result set if X is indexed

Bug 313553 - Move Session Storage to Database

Bug 403377 - add method for creating indices to mozIStorageConnection

Bug 385093 - --enable-storage comments in configure.in are misleading

To Do

  • Research
    • Find the default setting of SQLite files, tables, and values on Firefox 3
    • Make a relationship tree that which classes or functions talk with SQLite
    • Run & understand the test program already built in the tests folder
    • SQLite test suite here
    • TCL research here
  • Programming
    • Add new functions that when the firefox runs on test mode, it pops up a new window, and then shows only SQLite's communication parts and result.
      • process
        • Add a new option into .mozconfig
          ac_add_options -enable-SQLitePopUp
        • Bulid
        • Run firefox
          • Open a new window when SQLite is called
          • Display communication between functions and SQLite
  • Testing
    • working and performance tests
    • data testing
    • TCL testing

Project News

Right Now,I am working on

  • SQLite test suite checking


Working History

C:\Documents and Settings\user account name\Application Data\Mozilla\Firefox\Profiles\bulid name.default\
 Files: signons.sqlite / search.sqlite / places.sqlite / permissions.sqlite / formhistory.sqlite / downloads.sqlite
        / cookies.sqlite / content-prefs.sqlite
  • 2008/9/23
    • Find a bug that Sequence number’s jumping
      • I am searching that this is a reported bug or not, and when the numbers are jumping and why
        • File Name: places.sqlite
        • Summary: Sequence number is jumping
        • OS: Win XP SP2

Jump SEQ Num 20080823.gif

  • 2008/9/24
    • Research SQLite bugs & features here
      • look at the update list, the website is alive
  • 2008/9/25
    • My first testing : showing the test messages when SQLite is connected.
    • it is called over 20 times , when Firefox is just opened.

FirstCompile.gif

  • 2008/9/27
    • SQLite Test Suite testing and searching