/external/clang/test/SemaCXX/ |
implicit-exception-spec.cpp | 6 // The exception specification of a defaulted default constructor depends on 8 // initializers can depend on the exception specification of the constructor, 35 int n = ExceptionIf<noexcept(Nested())>::f(); // expected-note {{implicit default constructor for 'InClassInitializers::Nested' first required here}} 62 T(int = ExceptionIf<noexcept(Default())::f()); // expected-error {{call to implicitly-deleted default constructor}} 63 } t; // expected-note {{has no default constructor}}
|
/libcore/dom/src/test/java/org/w3c/domts/ |
XalanDOMTestDocumentBuilderFactory.java | 29 import java.lang.reflect.Constructor; 46 * factory will be mutated in constructor and should be released 71 Constructor constructor = xpathClass.getConstructor(new Class[] {Document.class}); local 72 return constructor.newInstance(new Object[] {doc});
|
/external/v8/test/mjsunit/compiler/ |
inline-construct.js | 30 // Test inlining of constructor calls. 50 function TestInAllContexts(constructor) { 52 var obj = new constructor(a, b, counter); 56 if (!new constructor(a, b, counter)) { 62 new constructor(a, b, counter); 75 // Test constructor returning nothing in all contexts. 83 // Test constructor returning an object in all contexts. 93 // Test constructor returning a primitive value in all contexts. 102 // Test constructor called with too many arguments. 117 // Test constructor called with too few arguments [all...] |
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
TypeVariableTest.java | 20 import java.lang.reflect.Constructor; 64 Constructor<?> constructor = clazz.getDeclaredConstructor(); local 65 TypeVariable<?>[] typeParameters = constructor.getTypeParameters(); 68 assertEquals(constructor, typeVariable.getGenericDeclaration()); 115 Constructor<?> constructor = clazz.getDeclaredConstructor(); local 117 TypeVariable<?>[] typeParameters = constructor.getTypeParameters(); 120 assertEquals(constructor, typeParameters[0].getGenericDeclaration()); 123 assertEquals(constructor, typeParameters[1].getGenericDeclaration()) [all...] |
/external/clang/test/CXX/special/class.copy/ |
p13-0x.cpp | 3 // If the implicitly-defined constructor would satisfy the requirements of a 4 // constexpr constructor, the implicitly-defined constructor is constexpr. 16 // no move constructor 41 constexpr NonConstexprCopy ncc2 = ncc1; // expected-error {{constant expression}} expected-note {{non-constexpr constructor}} 62 // An explicitly-defaulted constructor doesn't become constexpr until the end of 63 // its class. Make sure we note that the class has a constexpr constructor when
|
/external/javassist/src/test/test/javassist/proxy/ |
ProxySerializationTest.java | 7 import java.lang.reflect.Constructor; 33 Constructor constructor = proxyClass.getConstructor(new Class[] {String.class}); local 34 TestClass proxy = (TestClass)constructor.newInstance(new Object[] {name}); 60 Constructor constructor = proxyClass.getConstructor(new Class[] {String.class}); local 61 TestClass proxy = (TestClass)constructor.newInstance(new Object[] {name});
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
WnnWord.java | 39 * Constructor 46 * Constructor 56 * Constructor 67 * Constructor 78 * Constructor 90 * Constructor 103 * Constructor
|
/dalvik/tests/042-new-instance/src/ |
Main.java | 17 import java.lang.reflect.Constructor; 69 * Tests Constructor.newInstance(). 75 Constructor cons = c.getConstructor(new Class[0] /*(Class[])null*/); 87 Constructor cons = c.getConstructor((Class[]) null); 98 Constructor cons = c.getConstructor(new Class[0] /*(Class[])null*/); 101 // constructor isn't public 111 Constructor cons = c.getConstructor(new Class[0] /*(Class[])null*/); 125 Constructor cons = c.getConstructor((Class[]) null); 130 // constructor is public, but class has package scope 141 // this class has a default constructor with package visibilit [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestExceptionTest.java | 38 * Constructor for DigestExceptionTests. 54 * Test for <code>DigestException()</code> constructor Assertion: 64 * Test for <code>DigestException(String)</code> constructor Assertion: 79 * Test for <code>DigestException(String)</code> constructor Assertion: 90 * Test for <code>DigestException(Throwable)</code> constructor Assertion: 101 * Test for <code>DigestException(Throwable)</code> constructor Assertion: 118 * Test for <code>DigestException(String, Throwable)</code> constructor 129 * Test for <code>DigestException(String, Throwable)</code> constructor 144 * Test for <code>DigestException(String, Throwable)</code> constructor 162 * Test for <code>DigestException(String, Throwable)</code> constructor [all...] |
GeneralSecurityExceptionTest.java | 39 * Constructor for GeneralSecurityExceptionTests. 55 * Test for <code>GeneralSecurityException()</code> constructor Assertion: 65 * Test for <code>GeneralSecurityException(String)</code> constructor 80 * Test for <code>GeneralSecurityException(String)</code> constructor 92 * Test for <code>GeneralSecurityException(Throwable)</code> constructor 104 * Test for <code>GeneralSecurityException(Throwable)</code> constructor 123 * constructor Assertion: constructs GeneralSecurityException when 134 * constructor Assertion: constructs GeneralSecurityException when 149 * constructor Assertion: constructs GeneralSecurityException when 167 * constructor Assertion: constructs GeneralSecurityException whe [all...] |
InvalidAlgorithmParameterExceptionTest.java | 40 * Constructor for InvalidAlgorithmParameterExceptionTests. 56 * Test for <code>InvalidAlgorithmParameterException()</code> constructor 68 * constructor Assertion: constructs InvalidAlgorithmParameterException with 83 * constructor Assertion: constructs InvalidAlgorithmParameterException when 96 * constructor Assertion: constructs InvalidAlgorithmParameterException when 109 * constructor Assertion: constructs InvalidAlgorithmParameterException when 129 * constructor Assertion: constructs InvalidAlgorithmParameterException when 142 * constructor Assertion: constructs InvalidAlgorithmParameterException when 158 * constructor Assertion: constructs InvalidAlgorithmParameterException when 178 * constructor Assertion: constructs InvalidAlgorithmParameterException whe [all...] |
InvalidKeyExceptionTest.java | 38 * Constructor for InvalidKeyExceptionTests. 54 * Test for <code>InvalidKeyException()</code> constructor Assertion: 64 * Test for <code>InvalidKeyException(String)</code> constructor 79 * Test for <code>InvalidKeyException(String)</code> constructor 90 * Test for <code>InvalidKeyException(Throwable)</code> constructor 102 * Test for <code>InvalidKeyException(Throwable)</code> constructor 121 * constructor Assertion: constructs InvalidKeyException when 132 * constructor Assertion: constructs InvalidKeyException when 147 * constructor Assertion: constructs InvalidKeyException when 165 * constructor Assertion: constructs InvalidKeyException whe [all...] |
KeyExceptionTest.java | 38 * Constructor for KeyExceptionTests. 54 * Test for <code>KeyException()</code> constructor Assertion: constructs 64 * Test for <code>KeyException(String)</code> constructor Assertion: 79 * Test for <code>KeyException(String)</code> constructor Assertion: 90 * Test for <code>KeyException(Throwable)</code> constructor Assertion: 101 * Test for <code>KeyException(Throwable)</code> constructor Assertion: 118 * Test for <code>KeyException(String, Throwable)</code> constructor 129 * Test for <code>KeyException(String, Throwable)</code> constructor 144 * Test for <code>KeyException(String, Throwable)</code> constructor 162 * Test for <code>KeyException(String, Throwable)</code> constructor [all...] |
KeyManagementExceptionTest.java | 39 * Constructor for KeyManagementExceptionTests. 55 * Test for <code>KeyManagementException()</code> constructor Assertion: 65 * Test for <code>KeyManagementException(String)</code> constructor 80 * Test for <code>KeyManagementException(String)</code> constructor 92 * Test for <code>KeyManagementException(Throwable)</code> constructor 104 * Test for <code>KeyManagementException(Throwable)</code> constructor 123 * constructor Assertion: constructs KeyManagementException when 134 * constructor Assertion: constructs KeyManagementException when 149 * constructor Assertion: constructs KeyManagementException when 167 * constructor Assertion: constructs KeyManagementException whe [all...] |
KeyStoreExceptionTest.java | 38 * Constructor for KeyStoreExceptionTests. 54 * Test for <code>KeyStoreException()</code> constructor Assertion: 64 * Test for <code>KeyStoreException(String)</code> constructor Assertion: 79 * Test for <code>KeyStoreException(String)</code> constructor Assertion: 90 * Test for <code>KeyStoreException(Throwable)</code> constructor 101 * Test for <code>KeyStoreException(Throwable)</code> constructor 119 * Test for <code>KeyStoreException(String, Throwable)</code> constructor 130 * Test for <code>KeyStoreException(String, Throwable)</code> constructor 145 * Test for <code>KeyStoreException(String, Throwable)</code> constructor 163 * Test for <code>KeyStoreException(String, Throwable)</code> constructor [all...] |
NoSuchAlgorithmExceptionTest.java | 39 * Constructor for NoSuchAlgorithmExceptionTests. 55 * Test for <code>NoSuchAlgorithmException()</code> constructor Assertion: 65 * Test for <code>NoSuchAlgorithmException(String)</code> constructor 80 * Test for <code>NoSuchAlgorithmException(String)</code> constructor 92 * Test for <code>NoSuchAlgorithmException(Throwable)</code> constructor 104 * Test for <code>NoSuchAlgorithmException(Throwable)</code> constructor 123 * constructor Assertion: constructs NoSuchAlgorithmException when 134 * constructor Assertion: constructs NoSuchAlgorithmException when 149 * constructor Assertion: constructs NoSuchAlgorithmException when 167 * constructor Assertion: constructs NoSuchAlgorithmException whe [all...] |
ProviderExceptionTest.java | 38 * Constructor for ProviderExceptionTests. 54 * Test for <code>ProviderException()</code> constructor Assertion: 64 * Test for <code>ProviderException(String)</code> constructor Assertion: 79 * Test for <code>ProviderException(String)</code> constructor Assertion: 90 * Test for <code>ProviderException(Throwable)</code> constructor 101 * Test for <code>ProviderException(Throwable)</code> constructor 119 * Test for <code>ProviderException(String, Throwable)</code> constructor 130 * Test for <code>ProviderException(String, Throwable)</code> constructor 145 * Test for <code>ProviderException(String, Throwable)</code> constructor 163 * Test for <code>ProviderException(String, Throwable)</code> constructor [all...] |
SignatureExceptionTest.java | 38 * Constructor for SignatureExceptionTests. 54 * Test for <code>SignatureException()</code> constructor Assertion: 64 * Test for <code>SignatureException(String)</code> constructor Assertion: 79 * Test for <code>SignatureException(String)</code> constructor Assertion: 90 * Test for <code>SignatureException(Throwable)</code> constructor 102 * Test for <code>SignatureException(Throwable)</code> constructor 120 * Test for <code>SignatureException(String, Throwable)</code> constructor 131 * Test for <code>SignatureException(String, Throwable)</code> constructor 146 * Test for <code>SignatureException(String, Throwable)</code> constructor 164 * Test for <code>SignatureException(String, Throwable)</code> constructor [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CRLExceptionTest.java | 38 * Constructor for CRLExceptionTests. 54 * Test for <code>CRLException()</code> constructor Assertion: constructs 64 * Test for <code>CRLException(String)</code> constructor Assertion: 79 * Test for <code>CRLException(String)</code> constructor Assertion: 90 * Test for <code>CRLException(Throwable)</code> constructor Assertion: 101 * Test for <code>CRLException(Throwable)</code> constructor Assertion: 118 * Test for <code>CRLException(String, Throwable)</code> constructor 129 * Test for <code>CRLException(String, Throwable)</code> constructor 144 * Test for <code>CRLException(String, Throwable)</code> constructor 162 * Test for <code>CRLException(String, Throwable)</code> constructor [all...] |
CertPathBuilderExceptionTest.java | 40 * Constructor for CertPathBuilderExceptionTests. 56 * Test for <code>CertPathBuilderException()</code> constructor Assertion: 66 * Test for <code>CertPathBuilderException(String)</code> constructor 81 * Test for <code>CertPathBuilderException(String)</code> constructor 93 * Test for <code>CertPathBuilderException(Throwable)</code> constructor 105 * Test for <code>CertPathBuilderException(Throwable)</code> constructor 124 * constructor Assertion: constructs CertPathBuilderException when 135 * constructor Assertion: constructs CertPathBuilderException when 150 * constructor Assertion: constructs CertPathBuilderException when 168 * constructor Assertion: constructs CertPathBuilderException whe [all...] |
CertStoreExceptionTest.java | 38 * Constructor for CertStoreExceptionTests. 54 * Test for <code>CertStoreException()</code> constructor Assertion: 64 * Test for <code>CertStoreException(String)</code> constructor Assertion: 79 * Test for <code>CertStoreException(String)</code> constructor Assertion: 90 * Test for <code>CertStoreException(Throwable)</code> constructor 102 * Test for <code>CertStoreException(Throwable)</code> constructor 120 * Test for <code>CertStoreException(String, Throwable)</code> constructor 131 * Test for <code>CertStoreException(String, Throwable)</code> constructor 146 * Test for <code>CertStoreException(String, Throwable)</code> constructor 164 * Test for <code>CertStoreException(String, Throwable)</code> constructor [all...] |
CertificateEncodingExceptionTest.java | 40 * Constructor for CertificateEncodingExceptionTests. 56 * Test for <code>CertificateEncodingException()</code> constructor 66 * Test for <code>CertificateEncodingException(String)</code> constructor 81 * Test for <code>CertificateEncodingException(String)</code> constructor 94 * constructor Assertion: constructs CertificateEncodingException when 107 * constructor Assertion: constructs CertificateEncodingException when 126 * constructor Assertion: constructs CertificateEncodingException when 138 * constructor Assertion: constructs CertificateEncodingException when 153 * constructor Assertion: constructs CertificateEncodingException when 172 * constructor Assertion: constructs CertificateEncodingException whe [all...] |
CertificateExceptionTest.java | 39 * Constructor for CertificateExceptionTests. 55 * Test for <code>CertificateException()</code> constructor Assertion: 65 * Test for <code>CertificateException(String)</code> constructor 80 * Test for <code>CertificateException(String)</code> constructor 92 * Test for <code>CertificateException(Throwable)</code> constructor 104 * Test for <code>CertificateException(Throwable)</code> constructor 123 * constructor Assertion: constructs CertificateException when 134 * constructor Assertion: constructs CertificateException when 149 * constructor Assertion: constructs CertificateException when 167 * constructor Assertion: constructs CertificateException whe [all...] |
CertificateParsingExceptionTest.java | 40 * Constructor for CertificateParsingExceptionTests. 56 * Test for <code>CertificateParsingException()</code> constructor 66 * Test for <code>CertificateParsingException(String)</code> constructor 81 * Test for <code>CertificateParsingException(String)</code> constructor 94 * constructor Assertion: constructs CertificateParsingException when 106 * constructor Assertion: constructs CertificateParsingException when 124 * constructor Assertion: constructs CertificateParsingException when 136 * constructor Assertion: constructs CertificateParsingException when 151 * constructor Assertion: constructs CertificateParsingException when 170 * constructor Assertion: constructs CertificateParsingException whe [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
InvalidKeySpecExceptionTest.java | 39 * Constructor for InvalidKeySpecExceptionTests. 55 * Test for <code>InvalidKeySpecException()</code> constructor Assertion: 65 * Test for <code>InvalidKeySpecException(String)</code> constructor 80 * Test for <code>InvalidKeySpecException(String)</code> constructor 92 * Test for <code>InvalidKeySpecException(Throwable)</code> constructor 104 * Test for <code>InvalidKeySpecException(Throwable)</code> constructor 123 * constructor Assertion: constructs InvalidKeySpecException when 134 * constructor Assertion: constructs InvalidKeySpecException when 149 * constructor Assertion: constructs InvalidKeySpecException when 167 * constructor Assertion: constructs InvalidKeySpecException whe [all...] |