- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 88 for testOid (1.04 sec)
-
src/test/java/jcifs/smb/MIENameTest.java
// Provide a common OID for tests (Kerberos V5 mechanism OID encoded in DER) private static ASN1ObjectIdentifier testOid() { return new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); } private static byte[] oidDer() { // Full DER encoding of the OID try { return testOid().toASN1Primitive().getEncoded(); } catch (java.io.IOException e) { throw new RuntimeException(e);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
int writtenFid = SMBUtil.readInt2(dst, 2); assertEquals(TEST_FID, writtenFid); } @Test @DisplayName("Test writeDataWireFormat with sufficient buffer") void testWriteDataWireFormatSufficientBuffer() { // Arrange TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH); byte[] dst = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
class SmbComFindClose2Test { @Mock private Configuration mockConfig; private SmbComFindClose2 instance; private final int TEST_SID = 0x1234; // 4660 decimal @BeforeEach void setUp() { instance = new SmbComFindClose2(mockConfig, TEST_SID); } @Test void testConstructorAndToString() { String s = instance.toString();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
try { File testFile = new File(testFileUrl.toURI()); testDir = testFile.getParentFile(); // the testdata directory } catch (Exception ignore) { // probably URISyntaxException or IllegalArgumentException // fall back to copying URLs to files in the testDir == null block below } } if (testDir == null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.6K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/failing-test.yaml
required: true - type: textarea id: since attributes: label: Since when has it been failing? validations: required: true - type: input id: testgrid attributes: label: Testgrid link - type: textarea id: reason attributes: label: Reason for failure (if possible) - type: textarea id: additional attributes:
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Tue Oct 05 16:55:38 UTC 2021 - 1.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
/** * Test class for HandleInfo functionality */ public class HandleInfoTest { private HandleGuid testGuid; private byte[] testFileId; private Smb2LeaseKey testLeaseKey; @BeforeEach public void setUp() { testGuid = new HandleGuid(); testFileId = new byte[16]; for (int i = 0; i < 16; i++) { testFileId[i] = (byte) (i + 1); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java
SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir"); assertEquals("testDir", sdd.path); assertEquals(ServerMessageBlock.SMB_COM_DELETE_DIRECTORY, sdd.command); } /** * Test writeParameterWordsWireFormat. */ @Test void testWriteParameterWordsWireFormat() { SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir"); byte[] dst = new byte[10];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java
public class DictionaryManagerTest extends UnitFessTestCase { private File testDir; private File file1; @Override public void setUp() throws Exception { super.setUp(); testDir = File.createTempFile("synonymtest", "_dir"); testDir.delete(); testDir.mkdirs(); file1 = new File(testDir, "synonym.txt");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, "testDir"); byte[] dst = new byte[10]; int result = smbCom.writeParameterWordsWireFormat(dst, 0); assertEquals(0, result); } @Test void testWriteBytesWireFormat() { // Test the byte format written by the class String directoryName = "\testDir";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
cmd/erasure-sets_test.go
for i, testCase := range testCases { if sipHashElement := hashKey("SIPMOD", testCase.objectName, 200, testUUID); sipHashElement != testCase.sipHash { t.Errorf("Test case %d: Expected \"%v\" but failed \"%v\"", i+1, testCase.sipHash, sipHashElement) } } if sipHashElement := hashKey("SIPMOD", "This will fail", -1, testUUID); sipHashElement != -1 { t.Errorf("Test: Expected \"-1\" but got \"%v\"", sipHashElement) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.8K bytes - Viewed (0)