966967968969970971972973974975976
checkTypesRow(conn, null, 0, 4); checkCategoryRow(conn, null, 0, "category"); checkTypesSelectionRow(conn, "KEYWORD='k1'", 0, "k1"); checkTypesSelectionRow(conn, "KEYWORD='k2'", 0, "k2"); connection.disconnect(); repository.terminate(); } }); }
10051006100710081009101010111012101310141015
accessor.removePolicyDescriptor(connection, "selection"); // Check the database contents are empty checkAllEmpty(conn); connection.disconnect(); repository.terminate(); } }); }
10411042104310441045104610471048104910501051
checkPolicyTypeRow(conn, null, "range", 0, 0); checkTypesRow(conn, null, 0, 3); checkCategoryRow(conn, null, 0, "category"); checkTypesRangeRow(conn, null, 0, 1, 100); connection.disconnect(); repository.terminate(); } }); }
10741075107610771078107910801081108210831084
accessor.removePolicyDescriptor(connection, "range"); // Check the database contents are empty checkAllEmpty(conn); connection.disconnect(); repository.terminate(); } }); }
11201121112211231124112511261127112811291130
// structure row and dependent range type checkTypesStructureRow(conn, "FIELDNAME='f2'", 0, "f2", 2); checkTypesRow(conn, "TYPE_INSTANCE_ID=2", 2, 3); checkTypesRangeRow(conn, null, 2, 2, 99); connection.disconnect(); repository.terminate(); } }); }
11581159116011611162116311641165116611671168
accessor.removePolicyDescriptor(connection, "structure"); // Check the database contents are empty checkAllEmpty(conn); connection.disconnect(); repository.terminate(); } }); }