mds_plat/metadata_engine_api/tsrc/conf/MdETestScripter.cfg
changeset 23 33ae025ac1e8
parent 0 c53acadfccc6
child 25 8e4539ab1889
equal deleted inserted replaced
21:50bf9db68373 23:33ae025ac1e8
   113 test RemoveSchemaObserverL
   113 test RemoveSchemaObserverL
   114 test AddObjectObserverL
   114 test AddObjectObserverL
   115 test RemoveObjectObserverL
   115 test RemoveObjectObserverL
   116 allownextresult KErrNotFound
   116 allownextresult KErrNotFound
   117 test RemoveObjectObserverL
   117 test RemoveObjectObserverL
       
   118 test AddObjectObserverWithUriL
       
   119 test RemoveObjectObserverWithUriL
       
   120 allownextresult KErrNotFound
       
   121 test RemoveObjectObserverWithUriL
   118 test AddObjectPresentObserverL
   122 test AddObjectPresentObserverL
   119 test RemoveObjectPresentObserverL
   123 test RemoveObjectPresentObserverL
   120 allownextresult KErrNotFound
   124 allownextresult KErrNotFound
   121 test RemoveObjectPresentObserverL
   125 test RemoveObjectPresentObserverL
   122 test AddRelationObserverL
   126 test AddRelationObserverL
  1878 release EItemsAsyncUpdate
  1882 release EItemsAsyncUpdate
  1879 delete test
  1883 delete test
  1880 [Endtest]
  1884 [Endtest]
  1881 
  1885 
  1882 [Test]
  1886 [Test]
       
  1887 title Edit Object 36: AddObjectL, AddObjectsL, RemoveObjectL, UriL, SetUriL
       
  1888 create MdETestScripter test
       
  1889 waittestclass test
       
  1890 test GetDefaultNamespaceDefL defaultNs
       
  1891 
       
  1892 // Create four objects.
       
  1893 test GetObjectDefL videoObjDef defaultNs Video
       
  1894 test NewObjectL obj0 videoObjDef KL
       
  1895 test GetPropertyDefL creaDatePropDef0 videoObjDef CreationDate
       
  1896 test AddTimePropertyL obj0 creaDatePropDef0 20081130:235959.999999
       
  1897 test GetPropertyDefL lastModDatePropDef0 videoObjDef LastModifiedDate
       
  1898 test AddTimePropertyL obj0 lastModDatePropDef0 20081130:235959.999999
       
  1899 test SetGuidL EObject obj0 000007 000001
       
  1900 test NewObjectL obj1 videoObjDef KL
       
  1901 test GetPropertyDefL creaDatePropDef1 videoObjDef CreationDate
       
  1902 test AddTimePropertyL obj1 creaDatePropDef1 20081130:235959.999999
       
  1903 test GetPropertyDefL lastModDatePropDef1 videoObjDef LastModifiedDate
       
  1904 test AddTimePropertyL obj1 lastModDatePropDef1 20081130:235959.999999
       
  1905 test SetGuidL EObject obj1 000007 000002
       
  1906 test NewObjectL obj2 videoObjDef KL
       
  1907 test GetPropertyDefL creaDatePropDef2 videoObjDef CreationDate
       
  1908 test AddTimePropertyL obj2 creaDatePropDef2 20081130:235959.999999
       
  1909 test GetPropertyDefL lastModDatePropDef2 videoObjDef LastModifiedDate
       
  1910 test AddTimePropertyL obj2 lastModDatePropDef2 20081130:235959.999999
       
  1911 test SetGuidL EObject obj2 000007 000003
       
  1912 test NewObjectL obj3 videoObjDef KL
       
  1913 test GetPropertyDefL creaDatePropDef3 videoObjDef CreationDate
       
  1914 test AddTimePropertyL obj3 creaDatePropDef3 20081130:235959.999999
       
  1915 test GetPropertyDefL lastModDatePropDef3 videoObjDef LastModifiedDate
       
  1916 test AddTimePropertyL obj3 lastModDatePropDef3 20081130:235959.999999
       
  1917 test SetGuidL EObject obj3 000007 000004
       
  1918 
       
  1919 // Test objects' SetUri & Uri
       
  1920 //test SetUriL obj0 e:\testing\data\TestVideo1.3gp
       
  1921 //test UriL obj0 e:\testing\data\testvideo1.3gp
       
  1922 //test SetUriL obj1 e:\testing\data\TestVideo2.mp4
       
  1923 //test UriL obj1 e:\testing\data\testvideo2.mp4
       
  1924 
       
  1925 // Add the objects to the database, observe the additions and verify the observed results.
       
  1926 test AddObjectObserverWithUriL
       
  1927 test AddObjectL obj0
       
  1928 waittestclass test
       
  1929 test VerifyObserverNotificationTypeL ENotifyAdd
       
  1930 test AddObjectsL obj1 3
       
  1931 waittestclass test
       
  1932 test VerifyObserverNotificationTypeL ENotifyAdd
       
  1933 test RemoveObjectObserverWithUriL
       
  1934 test VerifyTItemIdsL EObject 0 4
       
  1935 
       
  1936 // Remove the objects, observe the removals and verify the observed results.
       
  1937 test AddObjectObserverWithUriL
       
  1938 test RemoveObjectL obj0 KById
       
  1939 waittestclass test
       
  1940 test VerifyObserverNotificationTypeL ENotifyRemove
       
  1941 test RemoveObjectL obj1 KById
       
  1942 waittestclass test
       
  1943 test VerifyObserverNotificationTypeL ENotifyRemove
       
  1944 test RemoveObjectL obj2 KById
       
  1945 waittestclass test
       
  1946 test VerifyObserverNotificationTypeL ENotifyRemove
       
  1947 test RemoveObjectL obj3 KById
       
  1948 waittestclass test
       
  1949 test VerifyObserverNotificationTypeL ENotifyRemove
       
  1950 test RemoveObjectObserverWithUriL
       
  1951 test VerifyTItemIdsL EObject 0 4
       
  1952 
       
  1953 // Final cleanup.
       
  1954 delete test
       
  1955 [Endtest]
       
  1956 
       
  1957 [Test]
  1883 title Query 1: Object 
  1958 title Query 1: Object 
  1884 create MdETestScripter test
  1959 create MdETestScripter test
  1885 waittestclass test
  1960 waittestclass test
  1886 test GetDefaultNamespaceDefL defaultNs
  1961 test GetDefaultNamespaceDefL defaultNs
  1887 // Add 4 video objects to DB  
  1962 // Add 4 video objects to DB