- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 104 for testConstructors (0.11 sec)
-
guava-testlib/src/com/google/common/testing/NullPointerTester.java
} /** * Runs {@link #testConstructor} on every constructor in class {@code c} that has at least {@code * minimalVisibility}. */ public void testConstructors(Class<?> c, Visibility minimalVisibility) { for (Constructor<?> constructor : c.getDeclaredConstructors()) { if (minimalVisibility.isVisible(constructor) && !isIgnored(constructor)) { testConstructor(constructor); } } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 25.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
} /** * Runs {@link #testConstructor} on every constructor in class {@code c} that has at least {@code * minimalVisibility}. */ public void testConstructors(Class<?> c, Visibility minimalVisibility) { for (Constructor<?> constructor : c.getDeclaredConstructors()) { if (minimalVisibility.isVisible(constructor) && !isIgnored(constructor)) { testConstructor(constructor); } } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
IllegalAccessException, InvocationTargetException, FactoryMethodReturnsNullException { if (!Modifier.isAbstract(cls.getModifiers())) { nullPointerTester.testConstructors(cls, visibility); } nullPointerTester.testStaticMethods(cls, visibility); if (hasInstanceMethodToTestNulls(cls, visibility)) { Object instance = instantiate(cls); if (instance != null) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcLsarCloseTest.java
class MsrpcLsarCloseTest { @Mock private policy_handle mockPolicyHandle; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test void testConstructor() { // Create an instance of MsrpcLsarClose MsrpcLsarClose msrpcLsarClose = new MsrpcLsarClose(mockPolicyHandle); // Assert that the object is not nullRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSidAttributesTest.java
pacSidAttributes = new PacSidAttributes(sidMock, attributes); } /** * Test method for {@link jcifs.pac.PacSidAttributes#PacSidAttributes(jcifs.smb.SID, int)}. */ @Test void testConstructor() { // Verify that the id and attributes are correctly set by the constructor assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor.");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java
@BeforeEach public void setUp() { smbComQueryInformation = new SmbComQueryInformation(TEST_FILE_NAME); } @Test public void testConstructor() { // Test if the constructor sets the file name and command correctly assertEquals(TEST_FILE_NAME, smbComQueryInformation.path);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java
* Verifies that the constructor correctly initializes the object's fields using reflection for protected members. */ @Test void testConstructor() throws NoSuchFieldException, IllegalAccessException { // Create an instance of the class to be tested MsrpcGetMembersInAlias request = new MsrpcGetMembersInAlias(aliasHandle, sids);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java
} /** * Test method for * {@link MsrpcEnumerateAliasesInDomain#MsrpcEnumerateAliasesInDomain(SamrDomainHandle, int, SamrSamArray)}. */ @Test void testConstructor() { // Given int acctFlags = 1; // When MsrpcEnumerateAliasesInDomain request = new MsrpcEnumerateAliasesInDomain(mockDomainHandle, acctFlags, mockSamArray); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java
private SmbComDelete smbComDelete; @BeforeEach public void setUp() { smbComDelete = new SmbComDelete(TEST_FILE_NAME); } @Test public void testConstructor() { // Test if the constructor sets the file name and command correctly assertEquals(TEST_FILE_NAME, smbComDelete.path); assertEquals(ServerMessageBlock.SMB_COM_DELETE, smbComDelete.command); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java
@BeforeEach void setUp() { trans2SetFileInformation = new Trans2SetFileInformation(fid, attributes, createTime, lastWriteTime); } @Test void testConstructor() { // Then assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, trans2SetFileInformation.command); assertEquals(Trans2SetFileInformation.TRANS2_SET_FILE_INFORMATION, trans2SetFileInformation.subCommand);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0)