@@ -27,7 +27,7 @@ public boolean execute(SQLiteDatabase database) {
2727 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: successfully opened writable encrypted database with invalid password" );
2828 return false ;
2929 } catch (SQLiteException e ) {
30- Log .v (ZeteticApplication .TAG , "EXPECTED: SQLiteException when opening writable encrypted database with invalid password OK" , e );
30+ Log .v (ZeteticApplication .TAG , "EXPECTED RESULT : SQLiteException when opening writable encrypted database with invalid password OK" , e );
3131 } catch (Exception e ) {
3232 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: other exception when opening writable encrypted database with invalid password" , e );
3333 return false ;
@@ -38,7 +38,7 @@ public boolean execute(SQLiteDatabase database) {
3838 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: successfully opened readable encrypted database with invalid password" );
3939 return false ;
4040 } catch (SQLiteException e ) {
41- Log .v (ZeteticApplication .TAG , "EXPECTED: SQLiteException when opening readable encrypted database with invalid password OK" , e );
41+ Log .v (ZeteticApplication .TAG , "EXPECTED RESULT : SQLiteException when opening readable encrypted database with invalid password OK" , e );
4242 } catch (Exception e ) {
4343 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: other exception when opening readable encrypted database with invalid password" , e );
4444 return false ;
@@ -49,7 +49,7 @@ public boolean execute(SQLiteDatabase database) {
4949 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: successfully opened writable encrypted database with blank password String" );
5050 return false ;
5151 } catch (SQLiteException e ) {
52- Log .v (ZeteticApplication .TAG , "EXPECTED: SQLiteException when opening writable encrypted database with blank password String OK" , e );
52+ Log .v (ZeteticApplication .TAG , "EXPECTED RESULT : SQLiteException when opening writable encrypted database with blank password String OK" , e );
5353 } catch (Exception e ) {
5454 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: other exception when opening writable encrypted database with blank password String" , e );
5555 return false ;
@@ -60,7 +60,7 @@ public boolean execute(SQLiteDatabase database) {
6060 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: successfully opened readable encrypted database with blank password String" );
6161 return false ;
6262 } catch (SQLiteException e ) {
63- Log .v (ZeteticApplication .TAG , "EXPECTED: SQLiteException when opening readable encrypted database with blank password String OK" , e );
63+ Log .v (ZeteticApplication .TAG , "EXPECTED RESULT : SQLiteException when opening readable encrypted database with blank password String OK" , e );
6464 } catch (Exception e ) {
6565 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: other exception when opening readable encrypted database with blank password String" , e );
6666 return false ;
@@ -71,7 +71,7 @@ public boolean execute(SQLiteDatabase database) {
7171 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: successfully opened writable encrypted database with blank password char array" );
7272 return false ;
7373 } catch (SQLiteException e ) {
74- Log .v (ZeteticApplication .TAG , "EXPECTED: SQLiteException when opening writable encrypted database with blank password char array OK" , e );
74+ Log .v (ZeteticApplication .TAG , "EXPECTED RESULT : SQLiteException when opening writable encrypted database with blank password char array OK" , e );
7575 } catch (Exception e ) {
7676 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: other exception when opening writable encrypted database with blank password char array" , e );
7777 return false ;
@@ -82,7 +82,7 @@ public boolean execute(SQLiteDatabase database) {
8282 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: successfully opened readable encrypted database with blank password char array" );
8383 return false ;
8484 } catch (SQLiteException e ) {
85- Log .v (ZeteticApplication .TAG , "EXPECTED: SQLiteException when opening readable encrypted database with blank password char array OK" , e );
85+ Log .v (ZeteticApplication .TAG , "EXPECTED RESULT : SQLiteException when opening readable encrypted database with blank password char array OK" , e );
8686 } catch (Exception e ) {
8787 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: other exception when opening readable encrypted database with blank password char array" , e );
8888 return false ;
@@ -95,7 +95,7 @@ public boolean execute(SQLiteDatabase database) {
9595 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: successfully opened writable encrypted database with null password char array" );
9696 return false ;
9797 } catch (SQLiteException e ) {
98- Log .v (ZeteticApplication .TAG , "EXPECTED: SQLiteException when opening writable encrypted database with null password char array OK" , e );
98+ Log .v (ZeteticApplication .TAG , "EXPECTED RESULT : SQLiteException when opening writable encrypted database with null password char array OK" , e );
9999 } catch (Exception e ) {
100100 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: other exception when opening writable encrypted database with null password char array" , e );
101101 return false ;
@@ -106,7 +106,7 @@ public boolean execute(SQLiteDatabase database) {
106106 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: successfully opened readable encrypted database with null password char array" );
107107 return false ;
108108 } catch (SQLiteException e ) {
109- Log .v (ZeteticApplication .TAG , "EXPECTED: SQLiteException when opening readable encrypted database with null password char array OK" , e );
109+ Log .v (ZeteticApplication .TAG , "EXPECTED RESULT : SQLiteException when opening readable encrypted database with null password char array OK" , e );
110110 } catch (Exception e ) {
111111 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: other exception when opening readable encrypted database with null password char array" , e );
112112 return false ;
@@ -120,10 +120,7 @@ public boolean execute(SQLiteDatabase database) {
120120 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: successfully opened writable encrypted database with null password String" );
121121 return false ;
122122 } catch (SQLiteException e ) {
123- Log .e (ZeteticApplication .TAG , "BEHAVIOR CHANGED: SQLiteException when opening writable encrypted database with null password String - please update this test" , e );
124- return false ;
125- } catch (NullPointerException e ) {
126- Log .v (ZeteticApplication .TAG , "IGNORED: null pointer exception when opening writable database with null password String" , e );
123+ Log .v (ZeteticApplication .TAG , "EXPECTED RESULT: SQLiteException when opening writable encrypted database with null password String OK" , e );
127124 } catch (Exception e ) {
128125 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: exception when opening writable database with null password String" , e );
129126 return false ;
@@ -135,10 +132,7 @@ public boolean execute(SQLiteDatabase database) {
135132 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: successfully opened readable encrypted database with null password String" );
136133 return false ;
137134 } catch (SQLiteException e ) {
138- Log .e (ZeteticApplication .TAG , "BEHAVIOR CHANGED: SQLiteException when opening readable encrypted database with null password String - please update this test" , e );
139- return false ;
140- } catch (NullPointerException e ) {
141- Log .v (ZeteticApplication .TAG , "IGNORED: null pointer exception when opening readable encrypted with null password String" , e );
135+ Log .v (ZeteticApplication .TAG , "EXPECTED RESULT: SQLiteException when opening readable encrypted database with null password String OK" , e );
142136 } catch (Exception e ) {
143137 Log .e (ZeteticApplication .TAG , "NOT EXPECTED: exception when opening readable encrypted with null password String" , e );
144138 return false ;
0 commit comments