Difference between revisions of "Import sqlite test suite"
(→Releases) |
(→To Do) |
||
Line 109: | Line 109: | ||
== To Do == | == To Do == | ||
− | + | *Makefile | |
+ | **<strike>c++ code auto testing</strike> | ||
+ | **<strike>.js files auto testing</strike> | ||
+ | **<strike>sepcific .js file auto testing</strike> | ||
*Research | *Research | ||
+ | ** <strike>Make file</strike> | ||
** SQLite itself | ** SQLite itself | ||
***<strike>Install SQLite</strike> | ***<strike>Install SQLite</strike> | ||
Line 118: | Line 122: | ||
***<strike>Find the default setting of SQLite files, tables, and values on Firefox 3</strike> | ***<strike>Find the default setting of SQLite files, tables, and values on Firefox 3</strike> | ||
***<strike>Find a relationship tree that which classes or functions talk with SQLite</strike> | ***<strike>Find a relationship tree that which classes or functions talk with SQLite</strike> | ||
− | *** | + | ***<strike>Run & understand the test program already built in the tests folder</strike> |
***<strike>[http://developer.mozilla.org/En/Storage Storage]</strike> | ***<strike>[http://developer.mozilla.org/En/Storage Storage]</strike> | ||
** ETC | ** ETC | ||
Line 126: | Line 130: | ||
*Testing | *Testing | ||
− | **Function Test | + | **<strike>Function Test</strike> |
− | **working and performance tests | + | **<strike>working and performance tests</strike> |
**data testing | **data testing | ||
**<strike>TCL testing</strike> | **<strike>TCL testing</strike> |
Revision as of 23:18, 12 November 2008
Contents
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)
Project Contributor(s)
- Aaron Train
- IRC & Class
- Bugzilla( Bug 391756 - import the sqlite test suite into our test suite. )
- Shawn Wilsher
- Peter Weilbacher
Project Details
bug 391756
http://www.0xdeadbeef.com/weblog/?p=368
Releases
- Releases 0.1-2008/10/15
- Mocha image
- Fail the connection test.
- Shawn asks "version control"
- Mocha image
- Releases 0.2
- add new code into "Makefile"
- make test_c++: it tests all c++ test code in the test folder
- make test_js: it tests all .js files in the unit folder
- make test_js_file: it tests a specific file in the unit folder
- ex)make test_js_file f=test_like.js
- add new code into "Makefile"
|
- Releases 0.3
Related Bug List
Bug 417037 - mozStorage chokes on databases over AFP
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
- Makefile
c++ code auto testing.js files auto testingsepcific .js file auto testing
- Research
-
Make file - SQLite itself
Install SQLiteHow to use SQLiteSQLite test suite here
- SQLite inside Firefox3
Find the default setting of SQLite files, tables, and values on Firefox 3Find a relationship tree that which classes or functions talk with SQLiteRun & understand the test program already built in the tests folderStorage
- ETC
-
- Testing
Function Testworking and performance tests- data testing
TCL testing
Project News
Right Now,I am working on
conection test & XPCOM
Working History
- 2008/9/15
- Create Project
- 2008/9/16
- Compile Firefox
- 2008/9/17
- Research web
- 2008/9/19
- Install SQLite manager 0.3.10 download
- 2008/9/20
- checking the .sqlite files and table structures
- SQLite in my computer:
- checking the .sqlite files and table structures
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 image
- I am searching that this is a reported bug or not, and when the numbers are jumping and why
- Find a bug that Sequence number’s jumping
- 2008/9/24
- Research SQLite bugs & features here
- 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. image
- 2008/9/27
- SQLite Test Suite testing and searching
- 2008/9/29
- TCL install and testing
- SQLite test source ( suite ) code reading on SQLite site
- only inside "sqlite-3.6.3.tar.gz"(2.2M)
- Reading ".test" files
- 2008/10/1
- SQLite test sample source ( suite ) code reading on Firefox site
- mozilla/source/storage/test/unit
- SQLite test sample source ( suite ) code reading on Firefox site
- 2008/10/5
- SQLite test suite running test
- 2008/10/15
- Update Mocha image into Bugzilla and waiting Shawn Wilsher's review
- Test SQLite connection on Firefox(Fail)
- it needs a permission
- Fix by "netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');"
- File access error
- Find that "It is available to trusted callers, meaning extensions and Firefox components only"
- I'm thinking that the test suite as a extension, thus, looking "XPCOM"
- it needs a permission
- 2008/10/16
- Shawn asks "Update & version control"
- i am thinking the "configure menu"
- Shawn asks "Update & version control"
- 2008/10/17
- Peter Weilbacher says "Why we need the test suite, it already there, so, we just use SQLite's"