Examples of checkConsistency()


Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

            //                ")" + template);
            if (index_cc.insert(template.getRow()) != 0)
                throw T_Fail.testFailMsg("insert failed");
        }

        index_cc.checkConsistency();

        ((B2IController)index_cc).debugConglomerate();

        ret_val = t_ascdesc1_scan_test_cases(tc, index_conglomid, template);
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

                ti.getIndexConglomerate(indexId),
                false,
                0,
                TransactionController.MODE_TABLE,
                TransactionController.ISOLATION_REPEATABLE_READ);
            indexCC.checkConsistency();
            strbuf.append("\nindexCC.checkConsistency() = true");

            System.err.println("ASSERT FAILURE: "+strbuf.toString());
            System.out.println("ASSERT FAILURE: "+strbuf.toString());
            SanityManager.DEBUG_PRINT("ASSERT FAILURE", strbuf.toString());
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

                ti.getIndexConglomerate(indexId),
                false,
                0,
                TransactionController.MODE_TABLE,
                TransactionController.ISOLATION_REPEATABLE_READ);
            indexCC.checkConsistency();
            strbuf.append("\nindexCC.checkConsistency() = true");

            System.err.println("ASSERT FAILURE: "+strbuf.toString());
            System.out.println("ASSERT FAILURE: "+strbuf.toString());
            SanityManager.DEBUG_PRINT("ASSERT FAILURE", strbuf.toString());
View Full Code Here

Examples of org.apache.jackrabbit.core.persistence.PersistenceManager.checkConsistency()

     *             if the persistence manager could not be initialized
     */
    protected void checkConsistency(String workspaceName, String[] uuids, boolean recursive, boolean fix) throws IllegalStateException, NoSuchWorkspaceException, RepositoryException {
        if ("jcr:system".equals(workspaceName)) {
            PersistenceManager pm = vMgr.getPersistenceManager();
            pm.checkConsistency(uuids, recursive, fix);
        } else {
            PersistenceManager pm = getWorkspaceInfo(workspaceName).getPersistenceManager();
            pm.checkConsistency(uuids, recursive, fix);
        }
    }
View Full Code Here

Examples of org.datanucleus.state.RelationshipManager.checkConsistency()

                        {
                            // Has been deleted so ignore all relationship changes
                            continue;
                        }
                        RelationshipManager relMgr = managedRelationDetails.get(sm);
                        relMgr.checkConsistency();
                    }
                }

                // Process updates to manage the other side of the relations
                Iterator<ObjectProvider> opIter = managedRelationDetails.keySet().iterator();
View Full Code Here

Examples of org.exoplatform.services.jcr.storage.value.ValueStoragePlugin.checkConsistency()

   {
      Iterator<ValueStoragePlugin> plugins = iterator();
      while (plugins.hasNext())
      {
         ValueStoragePlugin plugin = plugins.next();
         plugin.checkConsistency(dataConnection);
      }
   }

   /**
    * {@inheritDoc}
 
View Full Code Here

Examples of org.exoplatform.services.jcr.storage.value.ValueStoragePlugin.checkConsistency()

   {
      Iterator<ValueStoragePlugin> plugins = iterator();
      while (plugins.hasNext())
      {
         ValueStoragePlugin plugin = plugins.next();
         plugin.checkConsistency(dataConnection);
      }
   }

   public ValueIOChannel getChannel(String storageId) throws IOException, ValueStorageNotFoundException
   {
View Full Code Here

Examples of org.openbravo.services.webservice.WebServiceImpl.checkConsistency()

      String[] moduleVersionToUpdateId, OBError obErrors) throws Exception {
    WebServiceImplServiceLocator loc = new WebServiceImplServiceLocator();
    WebServiceImpl ws = (WebServiceImpl) loc.getWebService();
    String[] errors = new String[0];

    ModuleInstallDetail mid = ws.checkConsistency(ImportModule.getInstalledModules(pool),
        moduleVersionId, moduleVersionToUpdateId);

    errors = mid.getDependencyErrors();

    getOBError(obErrors, pool, vars, errors);
View Full Code Here

Examples of org.sbml.jsbml.SBMLDocument.checkConsistency()

  @Test public void checkConsistency() throws IOException, XMLStreamException {
    String fileName = DATA_FOLDER + "/l2v4/BIOMD0000000228.xml";
   
    SBMLDocument doc = new SBMLReader().readSBML(fileName);

    int nbErrors = doc.checkConsistency();

    System.out.println("Found " + nbErrors + " errors on Biomodels 228 with the unit checking turned off.");
   
    // assertTrue(nbErrors > 0); // not sure what is happening with this model and the online validator !!!
    assertTrue(nbErrors == 0); // sometimes there is an error, sometimes no errors !
View Full Code Here

Examples of org.sbml.jsbml.SBMLDocument.checkConsistency()

   
    SBMLDocument doc = new SBMLReader().readSBML(fileName);
   
    doc.setConsistencyChecks(SBMLValidator.CHECK_CATEGORY.UNITS_CONSISTENCY, true);
   
    int nbErrors = doc.checkConsistency();

    int numRealErrors = doc.getErrorLog().getNumFailsWithSeverity(SEVERITY.ERROR);
      if (numRealErrors > 0) {
        System.out.println("# Found " + numRealErrors + " VALIDATION ERRORS !!!");
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.