Examples of validate()


Examples of com.ardor3d.renderer.state.record.VertexProgramStateRecord.validate()

                    GL11.glDisable(ARBVertexProgram.GL_VERTEX_PROGRAM_ARB);
                }
            }

            if (!record.isValid()) {
                record.validate();
            }
        }
    }
}
View Full Code Here

Examples of com.ardor3d.renderer.state.record.WireframeStateRecord.validate()

        } else {
            applyPolyMode(GL11.GL_FILL, GL11.GL_FILL, record);
        }

        if (!record.isValid()) {
            record.validate();
        }
    }

    private static void applyPolyMode(final int frontMode, final int backMode, final WireframeStateRecord record) {
View Full Code Here

Examples of com.ardor3d.renderer.state.record.ZBufferStateRecord.validate()

        }

        enableWrite(state.isWritable(), record);

        if (!record.isValid()) {
            record.validate();
        }
    }

    private static void enableDepthTest(final boolean enable, final ZBufferStateRecord record) {
        if (enable && (!record.depthTest || !record.isValid())) {
View Full Code Here

Examples of com.artemis.util.SimpleProfiler.validate()

    world.process();
   
    SimpleProfiler simpleProfiler = SimpleProfiler.lastInstance;
    Assert.assertNotNull(simpleProfiler);
   
    simpleProfiler.validate();
   
    Assert.assertEquals(2, simpleProfiler.startCount);
    Assert.assertEquals(2, simpleProfiler.stopCount);
   
    world.process();
View Full Code Here

Examples of com.asakusafw.compiler.flow.external.ExternalIoAnalyzer.validate()

    }

    private void validate(FlowGraph graph) throws IOException {
        assert graph != null;
        ExternalIoAnalyzer analyzer = new ExternalIoAnalyzer(environment);
        if (analyzer.validate(graph) == false) {
            throw new IOException(MessageFormat.format(
                    "フローの入出力が正しくないため、コンパイルを中止します ({0})",
                    environment.getErrorMessage()));
        }
    }
View Full Code Here

Examples of com.asakusafw.testdriver.core.TestModerator.validate()

            if (source != null) {
                moderator.validate(type, label, source);
            }
            VerifierFactory verifier = port.getVerifier();
            if (verifier != null) {
                moderator.validate(type, label, verifier);
            }
        }
    }
}
View Full Code Here

Examples of com.baasbox.service.push.PushService.validate()

      pushProfiles.add(1);
    }
    boolean[] withError=new boolean[6];
    PushService ps=new PushService();
    try{
        if(ps.validate(pushProfiles)) withError=ps.send(message, usernames, pushProfiles, bodyJson, withError);
    }
    catch (UserNotFoundException e) {
      Logger.error("Username not found " + username, e);
      return notFound("Username not found");
    }
View Full Code Here

Examples of com.badlogic.gdx.scenes.scene2d.Layout.validate()

      secondWidget.width = secondWidgetBounds.width;
      secondWidget.height = secondWidgetBounds.height;
      if (secondWidget instanceof Layout) {
        Layout layout = (Layout)secondWidget;
        layout.invalidate();
        layout.validate();
      }
    }
  }

  @Override
View Full Code Here

Examples of com.bazaarvoice.commons.data.model.json.schema.JSONSchema.validate()

            if (matchingSchema == null) {
                results.addResult(new ValidationResult().type(ResultType.CONSTRAINT_VIOLATION).path(path).message("Union schema not found: " + schemaID));
                return;
            }

            matchingSchema.validate(obj, buildPath(path, matchingSchema, 0), results);
            return;
        }

        List<ValidationResults> allUnionResults = Lists.newArrayList();
View Full Code Here

Examples of com.bea.x2003.x05.xmlbean.ltgfmt.TestsDocument.validate()

            XmlOptions ltgOptions = new XmlOptions();
            ltgOptions.setLoadSubstituteNamespaces(Collections.singletonMap("", "http://www.bea.com/2003/05/xmlbean/ltgfmt"));
            ltgOptions.setErrorListener(errors);
            ltgOptions.setLoadLineNumbers();
            TestsDocument doc = TestsDocument.Factory.parse(ltgFile, ltgOptions);
            if (!doc.validate(ltgOptions))
                throw new Exception("Document " + ltgFile + " not valid.");
           
            com.bea.x2003.x05.xmlbean.ltgfmt.TestCase[] testCases = doc.getTests().getTestArray();
           
            Collection result = new ArrayList();
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.