/external/objenesis/tck/test/org/objenesis/tck/ |
TCKTest.java | 16 package org.objenesis.tck; 52 // Given... a TCK with some candidate classes: A, B and C. 53 TCK tck = new TCK(); local 55 tck.registerCandidate(CandidateA.class, "Candidate A"); 56 tck.registerCandidate(CandidateB.class, "Candidate B"); 57 tck.registerCandidate(CandidateC.class, "Candidate C"); 60 tck.registerObjenesisInstance(new StubbedInstantiator1(), "Instantiator1"); 61 tck.registerObjenesisInstance(new StubbedInstantiator2(), "Instantiator2") 80 TCK tck = new TCK(); local [all...] |
CandidateLoaderTest.java | 16 package org.objenesis.tck; 35 TCK tck = new TCK() { local 47 candidateLoader = new CandidateLoader(tck, getClass().getClassLoader(), errorHandler); 51 String input = "" + "org.objenesis.tck.CandidateLoaderTest$A = A candidate\n" + "\n" 53 + "org.objenesis.tck.CandidateLoaderTest$B = B candidate\n" 54 + "org.objenesis.tck.CandidateLoaderTest$C = C candidate\n"; 59 + "registerCandidate('class org.objenesis.tck.CandidateLoaderTest$A', 'A candidate')\n" 60 + "registerCandidate('class org.objenesis.tck.CandidateLoaderTest$B', 'B candidate')\n [all...] |
ObjenesisTest.java | 16 package org.objenesis.tck;
103 private TCK tck = null;
field in class:ObjenesisTest 110 tck = new TCK();
112 candidateLoader = new CandidateLoader(tck, getClass().getClassLoader(), new ErrorHandler());
117 tck = null;
123 tck.registerObjenesisInstance(new ObjenesisStd(), "Objenesis standard");
124 tck.runTests(new JUnitReporter());
129 tck.registerObjenesisInstance(new ObjenesisSerializer(), "Objenesis serializer"); [all...] |
/external/objenesis/tck/src/org/objenesis/tck/ |
CandidateLoader.java | 16 package org.objenesis.tck; 24 * Loads a set of candidate classes from a properties file into the TCK. <p/> The properties file 28 * @see TCK 32 private final TCK tck; field in class:CandidateLoader 70 * @param tck TCK that will use the candidates 74 public CandidateLoader(TCK tck, ClassLoader classloader, ErrorHandler errorHandler) { 75 this.tck = tck [all...] |
Main.java | 16 package org.objenesis.tck; 26 * Command line launcher for Technology Compatibility Kit (TCK). 29 * @see TCK 60 * Main class of the TCK. Can also be called as a normal method from an application server. 63 * @throws IOException When the TCK fails to read properties' files. 93 TCK tck = new TCK(); local 94 tck.registerObjenesisInstance(objenesis, description); 96 CandidateLoader candidateLoader = new CandidateLoader(tck, Main.class.getClassLoader() [all...] |
TCK.java | 16 package org.objenesis.tck; 28 * <b>Technology Compatibility Kit</b> (TCK) for {@link Objenesis}s. 30 * This TCK accepts a set of candidate classes (class it attempts to instantiate) and a set of 36 * TCK tck = new TCK(); 38 * tck.registerCandidate(SomeClass.class, "A basic class"); 39 * tck.registerCandidate(SomeEvil.class, "Something evil"); 40 * tck.registerCandidate(NotEvil.class, "Something nice"); 42 * tck.registerObjenesisInstance(new ObjenesisStd(), "Objenesis") [all...] |
/external/objenesis/ |
Android.mk | 42 # Builds the Objenesis TCK as a device-targeted library 45 LOCAL_MODULE := objenesis-tck-target 49 LOCAL_SRC_FILES := $(call all-java-files-under, tck/src) 50 LOCAL_JAVA_RESOURCE_DIRS := tck/src 54 # Builds the deployable Objenesis TCK for Android 58 # adb shell am instrument -w org.objenesis.tck.android/.TckInstrumentation 60 LOCAL_PATH := $(LOCAL_PATH)/tck-android 66 LOCAL_STATIC_JAVA_LIBRARIES := objenesis-tck-target
|
/external/clang/lib/CodeGen/ |
CGExpr.cpp | 501 void CodeGenFunction::EmitTypeCheck(TypeCheckKind TCK, SourceLocation Loc, 521 if (TCK == TCK_DowncastPointer) { 570 llvm::ConstantInt::get(Int8Ty, TCK) 585 (TCK == TCK_MemberAccess || TCK == TCK_MemberCall || 586 TCK == TCK_DowncastPointer || TCK == TCK_DowncastReference) && 629 llvm::ConstantInt::get(Int8Ty, TCK) 800 LValue CodeGenFunction::EmitCheckedLValue(const Expr *E, TypeCheckKind TCK) { 807 EmitTypeCheck(TCK, E->getExprLoc(), LV.getAddress() [all...] |
CodeGenFunction.h | [all...] |
CGExprScalar.cpp | 84 LValue EmitCheckedLValue(const Expr *E, CodeGenFunction::TypeCheckKind TCK) { 85 return CGF.EmitCheckedLValue(E, TCK); [all...] |