Examples of check()


Examples of com.linkedin.restli.tools.compatibility.ResourceCompatibilityChecker.check()

    {
      resolver = new FileDataSchemaResolver(SchemaParserFactory.instance(), _resolverPath);
    }

    ResourceCompatibilityChecker checker = new ResourceCompatibilityChecker(prevRec, resolver, currRec, resolver);
    boolean check = checker.check(compatLevel);
    _infoMap.addAll(checker.getInfoMap());
    return check;
  }

  /**
 
View Full Code Here

Examples of com.netflix.astyanax.connectionpool.impl.SimpleRateLimiterImpl.check()

        int time = 0;
        boolean result;
        for (int i = 0; i < 10; i++) {
            time += 10;
            result = limit.check(time);
            Assert.assertTrue(result);
        }
        result = limit.check(time + 10);
        Assert.assertFalse(result);
View Full Code Here

Examples of com.psddev.cms.tool.ToolCheck.check()

                String checkName = (String) checkRequest.get("check");

                try {
                    ToolCheck check = CHECKS.get().get(checkName);
                    ToolUser user = userReference.get();
                    ToolCheckResponse checkResponse = check.check(user, url, checkRequest);

                    checkResponses.add(checkResponse);

                    if (checkResponse != null) {
                        hasNonNullResponses = true;
View Full Code Here

Examples of com.qspin.qtaste.util.ScriptCheckSyntaxValidator.check()

                }
                // check only opened Python files
                if (tabTextPane.getFileName().endsWith(".py")) {
                  ScriptCheckSyntaxValidator scriptCheckSyntaxValidator =
                          new ScriptCheckSyntaxValidator(tabTextPane.getFileName(), tabTextPane.getText());
                  if (!scriptCheckSyntaxValidator.check()) {
                    return false;
                  }
                }
            }
            TestDataEditor tabDataPane = this.getTestDataPane(i);
View Full Code Here

Examples of com.rsa.authagent.authapi.AuthSession.check()

        boolean valid = false;
        try
        {
            AuthSessionFactory api = AuthSessionFactory.getInstance(configPath);
            AuthSession authSession = api.createUserSession();
            int status = authSession.check(username, password);
            authSession.close();
            api.shutdown();
            valid = (status == AuthSession.ACCESS_OK);
        }
        catch (Exception e)
View Full Code Here

Examples of com.salas.bb.updates.FullCheckCycle.check()

    {
        String currentVersion = ApplicationLauncher.getCurrentVersion();
        JFrame frame = Application.getDefaultParentFrame();

        FullCheckCycle checker = new FullCheckCycle(frame, currentVersion, true);
        checker.check();
    }
}
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.persistence.PersistenceUnitCheckMgrImpl.check()

                frameworkContext, context);
        for(PersistenceUnitsDescriptor pus :
                descriptor.getPersistenceUnitsDescriptors()) {
            for (PersistenceUnitDescriptor pu :
                    pus.getPersistenceUnitDescriptors()) {
                puCheckMgr.check(pu);
            }
        }
    }

    // end of code added for WebServices
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.tests.VerifierCheck.check()

            }
            try {
                Class c = Class.forName(ti.getClassName());
                VerifierCheck t = (VerifierCheck) c.newInstance();
                t.setVerifierContext(context);
                Result r = t.check(descriptor);
                // no need to setComponentName as it is already set in
                // VerifierTest.getInitialisedResult(). By Sahoo
                // r.setComponentName(getArchiveUri(descriptor));
                setModuleName(r);
                resultManager.add(r);
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.webservices.WebServiceCheckMgrImpl.check()

        WebServiceCheckMgrImpl webServiceCheckMgr = new WebServiceCheckMgrImpl(
                frameworkContext);
        if (bundleDescriptor.hasWebServices()) {
            WebServicesDescriptor wdesc = bundleDescriptor.getWebServices();
            webServiceCheckMgr.setVerifierContext(context);
            webServiceCheckMgr.check(wdesc);
        }
    }

    protected void checkPersistenceUnits(RootDeploymentDescriptor descriptor)
            throws Exception {
View Full Code Here

Examples of com.sun.enterprise.tools.verifier.wsclient.WebServiceClientCheckMgrImpl.check()

                context.setEjbDescriptorForServiceRef(ejbDesc);
                Set serviceRefDescriptors = ejbDesc.getServiceReferenceDescriptors();
                Iterator it = serviceRefDescriptors.iterator();
                while (it.hasNext()) {
                    webServiceClientCheckMgr.setVerifierContext(context);
                    webServiceClientCheckMgr.check(
                            (ServiceReferenceDescriptor) it.next());
                }
            }
            context.setEjbDescriptorForServiceRef(null);
        }
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.