Mobile/Fennec/Android/CommonTips: Difference between revisions

Jump to navigation Jump to search
Line 130: Line 130:


====Test insertions via BrowserProvider====
====Test insertions via BrowserProvider====
*Add a <tt>TestInsert* extends TestCase</tt> class with a <tt>test</tt> method. Insert a value, query, and make sure you receive what you think you should! Pattern match other tests here.
*Add a <tt>TestInsert* extends TestCase</tt> class with a <tt>test</tt> method. Insert a value, query, and make sure you receive what you think you should! <tt>TestInsertUrlAnnotations</tt> should provide a guide on how to write an extensible test that allows you to more easily test additions later on in this guide.
*Register your test to be run in <tt>TestBrowserProvider.setUp</tt>
*Register your test to be run in <tt>TestBrowserProvider.setUp</tt>


Confirmed users
975

edits

Navigation menu