- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for sameClass (0.07 sec)
-
src/test/java/org/codelibs/core/lang/ClassUtilTest.java
assertThat(ClassUtil.getPrimitiveClassIfWrapper(String.class), is(sameClass(String.class))); assertThat(ClassUtil.getPrimitiveClassIfWrapper(Byte.class), is(sameClass(byte.class))); } /** * */ @Test public void testGetWrapperClass() { assertThat(ClassUtil.getWrapperClass(int.class), is(sameClass(Integer.class)));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java
assertThat(parameterizedClassDesc.isParameterizedClass(), is(true)); assertThat(parameterizedClassDesc.getRawClass(), is(sameClass(Class.class))); final MyBean myBean = new MyBean(); aaa.setFieldValue(myBean, String.class); assertThat(aaa.getFieldValue(myBean), is(sameClass(String.class))); } /** * @throws Exception */ @Test(expected = FieldNotStaticRuntimeException.class)
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassIteratorTest.java
assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameClass(Integer.class))); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameClass(Number.class))); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameClass(Object.class))); assertThat(it.hasNext(), is(not(true))); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java
assertThat(desc.getRawClass(), is(sameClass(Set.class))); ParameterizedClassDesc[] args = desc.getArguments(); assertThat(args.length, is(1)); assertThat(args[0].getRawClass(), is(sameClass(Integer.class))); desc = ParameterizedClassDescFactory.createParameterizedClassDesc(method, 1, map); assertThat(desc.getRawClass(), is(sameClass(Map.class))); args = desc.getArguments();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/MethodUtilTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.lang; import static org.codelibs.core.TestUtil.sameClass; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.CoreMatchers.nullValue; import static org.junit.Assert.assertThat; import java.lang.reflect.Method;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
*/ public void testGetKeyTypeOfMap() throws Exception { final Field f = ClassUtil.getField(Baz.class, "map"); assertThat(FieldUtil.getKeyTypeOfMap(f), is(sameClass(String.class))); assertThat(FieldUtil.getValueTypeOfMap(f), is(sameClass(Integer.class))); } /** * */ public static class Baz { /** */ @SuppressWarnings("rawtypes")
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/TestUtil.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.lang; import static org.codelibs.core.TestUtil.sameClass; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.CoreMatchers.notNullValue; import static org.hamcrest.CoreMatchers.sameInstance;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/TypeNameResolverTest.groovy
_ * classMetaData.innerClassNames >> ['org.gradle.SomeClass.A'] _ * classMetaData.className >> 'org.gradle.SomeClass' _ * metaDataRepository.get('org.gradle.SomeClass.A') >> innerClass _ * innerClass.innerClassNames >> ['org.gradle.SomeClass.A.B'] _ * innerClass.className >> 'org.gradle.SomeClass.A' } def resolvesUnqualifiedNameToOuterClass() { when:
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy
when: def link = renderer.link(type('org.gradle.SomeClass'), listener) then: format(link) == '<apilink class="org.gradle.SomeClass"/>' _ * model.isKnownType('org.gradle.SomeClass') >> true } def rendersLinkToApiClassArray() { when: def link = renderer.link(type('org.gradle.SomeClass', true), listener) then:
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0)